Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

377 lines
9.9 KiB
C#

using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
using UnityEngine;
// Token: 0x020000C0 RID: 192
[Token(Token = "0x20000C0")]
public class QuestRoomExitDoor : MonoBehaviour
{
// Token: 0x14000002 RID: 2
// (add) Token: 0x060004FF RID: 1279 RVA: 0x0001A814 File Offset: 0x00018A14
// (remove) Token: 0x06000500 RID: 1280 RVA: 0x0001A83C File Offset: 0x00018A3C
[Token(Token = "0x14000002")]
public event Action GFBFKIOFJMJ
{
[Token(Token = "0x60004FF")]
[Address(RVA = "0x1BC59C0", Offset = "0x1BC49C0", VA = "0x181BC59C0")]
[CompilerGenerated]
add
{
Action gfbfkiofjmj;
Delegate @delegate;
do
{
gfbfkiofjmj = this.GFBFKIOFJMJ;
@delegate = Delegate.Combine(gfbfkiofjmj, value);
}
while (@delegate != 0 && @delegate == 0);
while (@delegate != gfbfkiofjmj)
{
}
}
[Token(Token = "0x6000500")]
[Address(RVA = "0x1BC5B00", Offset = "0x1BC4B00", VA = "0x181BC5B00")]
[CompilerGenerated]
remove
{
Action gfbfkiofjmj;
Delegate @delegate;
do
{
gfbfkiofjmj = this.GFBFKIOFJMJ;
@delegate = Delegate.Remove(gfbfkiofjmj, value);
}
while (@delegate != 0 && @delegate == 0);
while (@delegate != gfbfkiofjmj)
{
}
}
}
// Token: 0x14000003 RID: 3
// (add) Token: 0x06000501 RID: 1281 RVA: 0x0001A864 File Offset: 0x00018A64
// (remove) Token: 0x06000502 RID: 1282 RVA: 0x0001A88C File Offset: 0x00018A8C
[Token(Token = "0x14000003")]
public event Action LCICDHBAIOF
{
[Token(Token = "0x6000501")]
[Address(RVA = "0x1BC5920", Offset = "0x1BC4920", VA = "0x181BC5920")]
[CompilerGenerated]
add
{
Action lcicdhbaiof;
Delegate @delegate;
do
{
lcicdhbaiof = this.LCICDHBAIOF;
@delegate = Delegate.Combine(lcicdhbaiof, value);
}
while (@delegate != 0 && @delegate == 0);
while (@delegate != lcicdhbaiof)
{
}
}
[Token(Token = "0x6000502")]
[Address(RVA = "0x1BC5A60", Offset = "0x1BC4A60", VA = "0x181BC5A60")]
[CompilerGenerated]
remove
{
Action lcicdhbaiof;
Delegate @delegate;
do
{
lcicdhbaiof = this.LCICDHBAIOF;
@delegate = Delegate.Remove(lcicdhbaiof, value);
}
while (@delegate != 0 && @delegate == 0);
while (@delegate != lcicdhbaiof)
{
}
}
}
// Token: 0x170000C1 RID: 193
// (get) Token: 0x06000503 RID: 1283 RVA: 0x0001A8B4 File Offset: 0x00018AB4
// (set) Token: 0x06000504 RID: 1284 RVA: 0x0001A8C8 File Offset: 0x00018AC8
[Token(Token = "0x170000C1")]
public bool NLLONFJBKKP
{
[Token(Token = "0x6000503")]
[Address(RVA = "0x42EBF0", Offset = "0x42DBF0", VA = "0x18042EBF0")]
get
{
return this.DJOGLAAEACB;
}
[Token(Token = "0x6000504")]
[Address(RVA = "0x1BC5BA0", Offset = "0x1BC4BA0", VA = "0x181BC5BA0")]
set
{
LockableDoor difmjnkhnjh = this.DIFMJNKHNJH;
this.DJOGLAAEACB = value;
int num = 0;
if (difmjnkhnjh != num)
{
bool isLocked = this.DIFMJNKHNJH.NLLONFJBKKP;
}
DoorUnlockTrigger ooonnfpbmkc = this.OOONNFPBMKC;
int num2 = 0;
if (ooonnfpbmkc != num2)
{
DoorUnlockTrigger ooonnfpbmkc2 = this.OOONNFPBMKC;
bool djoglaaeacb = this.DJOGLAAEACB;
ooonnfpbmkc2.HOODEBPLJDJ = djoglaaeacb;
}
this.OLGLPJKCEFF();
}
}
// Token: 0x170000C2 RID: 194
// (get) Token: 0x06000505 RID: 1285 RVA: 0x0001A938 File Offset: 0x00018B38
// (set) Token: 0x06000506 RID: 1286 RVA: 0x0001A94C File Offset: 0x00018B4C
[Token(Token = "0x170000C2")]
public bool KJOOGKLKNHM
{
[Token(Token = "0x6000505")]
[Address(RVA = "0x4B4FF0", Offset = "0x4B3FF0", VA = "0x1804B4FF0")]
get
{
return this.OEEHIKHOADL;
}
[Token(Token = "0x6000506")]
[Address(RVA = "0x1BC5C90", Offset = "0x1BC4C90", VA = "0x181BC5C90")]
set
{
DoorUnlockTrigger ooonnfpbmkc = this.OOONNFPBMKC;
this.OEEHIKHOADL = value;
int num = 0;
if (ooonnfpbmkc != num)
{
this.OOONNFPBMKC.BCKCEELIDLH = value;
}
this.OLGLPJKCEFF();
}
}
// Token: 0x170000C3 RID: 195
// (set) Token: 0x06000507 RID: 1287 RVA: 0x0001A98C File Offset: 0x00018B8C
[Token(Token = "0x170000C3")]
private bool DIGFPNKKOPA
{
[Token(Token = "0x6000507")]
[Address(RVA = "0x1BC5640", Offset = "0x1BC4640", VA = "0x181BC5640")]
set
{
EncounterSpotlightModel[] hpknkfbamgg = this.HPKNKFBAMGG;
int num = 0;
if (hpknkfbamgg != 0)
{
int length = hpknkfbamgg.Length;
if (num < length)
{
hpknkfbamgg[num].IKAGKELDMJH = value;
num++;
}
}
Light[] array = this.spotlights;
if (array != 0)
{
int length2 = array.Length;
if (num < length2)
{
array[num].enabled = value;
num++;
}
}
}
}
// Token: 0x06000508 RID: 1288 RVA: 0x0001A9F4 File Offset: 0x00018BF4
[Token(Token = "0x6000508")]
[Address(RVA = "0x1BC5390", Offset = "0x1BC4390", VA = "0x181BC5390")]
private void Awake()
{
EncounterSpotlightModel[] componentsInChildren = base.GetComponentsInChildren<EncounterSpotlightModel>(true);
this.HPKNKFBAMGG = componentsInChildren;
LockableDoor componentInChildren = base.GetComponentInChildren<LockableDoor>(true);
this.DIFMJNKHNJH = componentInChildren;
int num = 0;
if (componentInChildren != num)
{
LockableDoor difmjnkhnjh = this.DIFMJNKHNJH;
Action<TeleportationPortal> action = new Action(this.NFBBPEJKLAO);
difmjnkhnjh.LocalPlayerUseEvent += action;
}
DoorUnlockTrigger componentInChildren2 = base.GetComponentInChildren<DoorUnlockTrigger>(true);
this.OOONNFPBMKC = componentInChildren2;
int num2 = 0;
if (componentInChildren2 != num2)
{
DoorUnlockTrigger ooonnfpbmkc = this.OOONNFPBMKC;
Action<OverlapVolume> action2 = new Action(this.KODHBLHLHCE);
ooonnfpbmkc.LocalPlayerVolumeEnterEvent += action2;
}
LockableDoor difmjnkhnjh2 = this.DIFMJNKHNJH;
this.DJOGLAAEACB = true;
int num3 = 0;
if (difmjnkhnjh2 != num3)
{
bool isLocked = this.DIFMJNKHNJH.NLLONFJBKKP;
}
DoorUnlockTrigger ooonnfpbmkc2 = this.OOONNFPBMKC;
int num4 = 0;
if (ooonnfpbmkc2 != num4)
{
DoorUnlockTrigger ooonnfpbmkc3 = this.OOONNFPBMKC;
bool djoglaaeacb = this.DJOGLAAEACB;
ooonnfpbmkc3.HOODEBPLJDJ = djoglaaeacb;
}
this.OLGLPJKCEFF();
DoorUnlockTrigger ooonnfpbmkc4 = this.OOONNFPBMKC;
this.OEEHIKHOADL = false;
int num5 = 0;
if (ooonnfpbmkc4 != num5)
{
DoorUnlockTrigger ooonnfpbmkc5 = this.OOONNFPBMKC;
int num6 = 0;
ooonnfpbmkc5.BCKCEELIDLH = num6 != 0;
}
this.OLGLPJKCEFF();
}
// Token: 0x06000509 RID: 1289 RVA: 0x0001AB28 File Offset: 0x00018D28
[Token(Token = "0x6000509")]
[Address(RVA = "0x1BC57F0", Offset = "0x1BC47F0", VA = "0x181BC57F0")]
private void OnDestroy()
{
LockableDoor difmjnkhnjh = this.DIFMJNKHNJH;
int num = 0;
if (difmjnkhnjh != num)
{
LockableDoor difmjnkhnjh2 = this.DIFMJNKHNJH;
Action<TeleportationPortal> action = new Action(this.NFBBPEJKLAO);
difmjnkhnjh2.LocalPlayerUseEvent -= action;
}
DoorUnlockTrigger ooonnfpbmkc = this.OOONNFPBMKC;
int num2 = 0;
if (ooonnfpbmkc != num2)
{
DoorUnlockTrigger ooonnfpbmkc2 = this.OOONNFPBMKC;
Action<OverlapVolume> action2 = new Action(this.KODHBLHLHCE);
ooonnfpbmkc2.LocalPlayerVolumeEnterEvent -= action2;
}
}
// Token: 0x0600050A RID: 1290 RVA: 0x0001ABA0 File Offset: 0x00018DA0
[Token(Token = "0x600050A")]
[Address(RVA = "0x1BC5710", Offset = "0x1BC4710", VA = "0x181BC5710")]
private void OLGLPJKCEFF()
{
int num = 0;
if ((this.OEEHIKHOADL ? 1 : 0) != num)
{
}
bool flag = (this.DJOGLAAEACB ? 1 : 0) == num;
EncounterSpotlightModel[] hpknkfbamgg = this.HPKNKFBAMGG;
if (hpknkfbamgg != 0)
{
int length = hpknkfbamgg.Length;
if (num < length)
{
hpknkfbamgg[num].IKAGKELDMJH = flag;
num++;
}
}
Light[] array = this.spotlights;
if (array != 0)
{
int length2 = array.Length;
if (num < length2)
{
array[num].enabled = flag;
num++;
}
}
}
// Token: 0x0600050B RID: 1291 RVA: 0x0001AC1C File Offset: 0x00018E1C
[Token(Token = "0x600050B")]
[Address(RVA = "0x12C7490", Offset = "0x12C6490", VA = "0x1812C7490")]
private void NFBBPEJKLAO(TeleportationPortal OKOIKJPBEGH)
{
Action gfbfkiofjmj = this.GFBFKIOFJMJ;
if (gfbfkiofjmj != 0)
{
gfbfkiofjmj();
return;
}
}
// Token: 0x0600050C RID: 1292 RVA: 0x0001AC3C File Offset: 0x00018E3C
[Token(Token = "0x600050C")]
[Address(RVA = "0x1BC52D0", Offset = "0x1BC42D0", VA = "0x181BC52D0")]
public bool AllPlayersOnTrigger(IEnumerable<AGAJMBPABDL> ECOPCKKGMDC)
{
DoorUnlockTrigger ooonnfpbmkc = this.OOONNFPBMKC;
int num = 0;
if (ooonnfpbmkc != num && this.OOONNFPBMKC.gameObject.activeInHierarchy)
{
DoorUnlockTrigger ooonnfpbmkc2 = this.OOONNFPBMKC;
return BNLCFFMDFBD.BIFPBKHHLNC(ECOPCKKGMDC, ooonnfpbmkc2);
}
throw new NullReferenceException();
}
// Token: 0x0600050D RID: 1293 RVA: 0x0001AC88 File Offset: 0x00018E88
[Token(Token = "0x600050D")]
[Address(RVA = "0x12C73D0", Offset = "0x12C63D0", VA = "0x1812C73D0")]
private void KODHBLHLHCE(OverlapVolume DHPCKKKLNDN)
{
Action lcicdhbaiof = this.LCICDHBAIOF;
if (lcicdhbaiof != 0)
{
lcicdhbaiof();
return;
}
}
// Token: 0x0600050E RID: 1294 RVA: 0x0001ACA8 File Offset: 0x00018EA8
[Token(Token = "0x600050E")]
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
public QuestRoomExitDoor()
{
}
// Token: 0x0400042F RID: 1071
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400042F")]
[SerializeField]
private Light[] spotlights;
// Token: 0x04000430 RID: 1072
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000430")]
private EncounterSpotlightModel[] HPKNKFBAMGG;
// Token: 0x04000431 RID: 1073
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000431")]
private DoorUnlockTrigger OOONNFPBMKC;
// Token: 0x04000432 RID: 1074
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000432")]
private LockableDoor DIFMJNKHNJH;
// Token: 0x04000435 RID: 1077
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x4000435")]
private bool DJOGLAAEACB;
// Token: 0x04000436 RID: 1078
[FieldOffset(Offset = "0x49")]
[Token(Token = "0x4000436")]
private bool OEEHIKHOADL;
}