Files
Apr2020-Cpp2Il-Dump/Assembly-CSharp/QuestRoomExitDoor.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +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: 0x060004FE RID: 1278 RVA: 0x0001A828 File Offset: 0x00018A28
// (remove) Token: 0x060004FF RID: 1279 RVA: 0x0001A850 File Offset: 0x00018A50
[Token(Token = "0x14000002")]
public event Action GFBFKIOFJMJ
{
[Token(Token = "0x60004FE")]
[Address(RVA = "0x1068AF0", Offset = "0x10678F0", VA = "0x181068AF0")]
[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 = "0x60004FF")]
[Address(RVA = "0x1068C30", Offset = "0x1067A30", VA = "0x181068C30")]
[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: 0x06000500 RID: 1280 RVA: 0x0001A878 File Offset: 0x00018A78
// (remove) Token: 0x06000501 RID: 1281 RVA: 0x0001A8A0 File Offset: 0x00018AA0
[Token(Token = "0x14000003")]
public event Action LCICDHBAIOF
{
[Token(Token = "0x6000500")]
[Address(RVA = "0x1068A50", Offset = "0x1067850", VA = "0x181068A50")]
[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 = "0x6000501")]
[Address(RVA = "0x1068B90", Offset = "0x1067990", VA = "0x181068B90")]
[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: 0x06000502 RID: 1282 RVA: 0x0001A8C8 File Offset: 0x00018AC8
// (set) Token: 0x06000503 RID: 1283 RVA: 0x0001A8DC File Offset: 0x00018ADC
[Token(Token = "0x170000C1")]
public bool NLLONFJBKKP
{
[Token(Token = "0x6000502")]
[Address(RVA = "0x4C2F40", Offset = "0x4C1D40", VA = "0x1804C2F40")]
get
{
return this.DJOGLAAEACB;
}
[Token(Token = "0x6000503")]
[Address(RVA = "0x1068CD0", Offset = "0x1067AD0", VA = "0x181068CD0")]
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: 0x06000504 RID: 1284 RVA: 0x0001A94C File Offset: 0x00018B4C
// (set) Token: 0x06000505 RID: 1285 RVA: 0x0001A960 File Offset: 0x00018B60
[Token(Token = "0x170000C2")]
public bool KJOOGKLKNHM
{
[Token(Token = "0x6000504")]
[Address(RVA = "0xAF8AC0", Offset = "0xAF78C0", VA = "0x180AF8AC0")]
get
{
return this.OEEHIKHOADL;
}
[Token(Token = "0x6000505")]
[Address(RVA = "0x1068DC0", Offset = "0x1067BC0", VA = "0x181068DC0")]
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: 0x06000506 RID: 1286 RVA: 0x0001A9A0 File Offset: 0x00018BA0
[Token(Token = "0x170000C3")]
private bool DIGFPNKKOPA
{
[Token(Token = "0x6000506")]
[Address(RVA = "0x1068770", Offset = "0x1067570", VA = "0x181068770")]
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: 0x06000507 RID: 1287 RVA: 0x0001AA08 File Offset: 0x00018C08
[Token(Token = "0x6000507")]
[Address(RVA = "0x10684C0", Offset = "0x10672C0", VA = "0x1810684C0")]
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: 0x06000508 RID: 1288 RVA: 0x0001AB3C File Offset: 0x00018D3C
[Token(Token = "0x6000508")]
[Address(RVA = "0x1068920", Offset = "0x1067720", VA = "0x181068920")]
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: 0x06000509 RID: 1289 RVA: 0x0001ABB4 File Offset: 0x00018DB4
[Token(Token = "0x6000509")]
[Address(RVA = "0x1068840", Offset = "0x1067640", VA = "0x181068840")]
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: 0x0600050A RID: 1290 RVA: 0x0001AC30 File Offset: 0x00018E30
[Token(Token = "0x600050A")]
[Address(RVA = "0x758900", Offset = "0x757700", VA = "0x180758900")]
private void NFBBPEJKLAO(TeleportationPortal OKOIKJPBEGH)
{
Action gfbfkiofjmj = this.GFBFKIOFJMJ;
if (gfbfkiofjmj != 0)
{
gfbfkiofjmj();
return;
}
}
// Token: 0x0600050B RID: 1291 RVA: 0x0001AC50 File Offset: 0x00018E50
[Token(Token = "0x600050B")]
[Address(RVA = "0x1068400", Offset = "0x1067200", VA = "0x181068400")]
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: 0x0600050C RID: 1292 RVA: 0x0001AC9C File Offset: 0x00018E9C
[Token(Token = "0x600050C")]
[Address(RVA = "0x758840", Offset = "0x757640", VA = "0x180758840")]
private void KODHBLHLHCE(OverlapVolume DHPCKKKLNDN)
{
Action lcicdhbaiof = this.LCICDHBAIOF;
if (lcicdhbaiof != 0)
{
lcicdhbaiof();
return;
}
}
// Token: 0x0600050D RID: 1293 RVA: 0x0001ACBC File Offset: 0x00018EBC
[Token(Token = "0x600050D")]
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
public QuestRoomExitDoor()
{
}
// Token: 0x0400042E RID: 1070
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400042E")]
[SerializeField]
private Light[] spotlights;
// Token: 0x0400042F RID: 1071
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x400042F")]
private EncounterSpotlightModel[] HPKNKFBAMGG;
// Token: 0x04000430 RID: 1072
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000430")]
private DoorUnlockTrigger OOONNFPBMKC;
// Token: 0x04000431 RID: 1073
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000431")]
private LockableDoor DIFMJNKHNJH;
// Token: 0x04000434 RID: 1076
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x4000434")]
private bool DJOGLAAEACB;
// Token: 0x04000435 RID: 1077
[FieldOffset(Offset = "0x49")]
[Token(Token = "0x4000435")]
private bool OEEHIKHOADL;
}