380 lines
10 KiB
C#
380 lines
10 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using Photon.Realtime;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020000E2 RID: 226
|
|
[Token(Token = "0x20000E2")]
|
|
[StructLayout(3)]
|
|
public class QuestRoomExitDoor : MonoBehaviour
|
|
{
|
|
// Token: 0x14000002 RID: 2
|
|
// (add) Token: 0x060005EC RID: 1516 RVA: 0x0001E20C File Offset: 0x0001C40C
|
|
// (remove) Token: 0x060005ED RID: 1517 RVA: 0x0001E234 File Offset: 0x0001C434
|
|
[Token(Token = "0x14000002")]
|
|
public event Action GFBFKIOFJMJ
|
|
{
|
|
[Token(Token = "0x60005EC")]
|
|
[Address(RVA = "0x12472F0", Offset = "0x1245CF0", VA = "0x1812472F0")]
|
|
[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 = "0x60005ED")]
|
|
[Address(RVA = "0x1247430", Offset = "0x1245E30", VA = "0x181247430")]
|
|
[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: 0x060005EE RID: 1518 RVA: 0x0001E25C File Offset: 0x0001C45C
|
|
// (remove) Token: 0x060005EF RID: 1519 RVA: 0x0001E284 File Offset: 0x0001C484
|
|
[Token(Token = "0x14000003")]
|
|
public event Action LCICDHBAIOF
|
|
{
|
|
[Token(Token = "0x60005EE")]
|
|
[Address(RVA = "0x1247250", Offset = "0x1245C50", VA = "0x181247250")]
|
|
[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 = "0x60005EF")]
|
|
[Address(RVA = "0x1247390", Offset = "0x1245D90", VA = "0x181247390")]
|
|
[CompilerGenerated]
|
|
remove
|
|
{
|
|
Action lcicdhbaiof;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
lcicdhbaiof = this.LCICDHBAIOF;
|
|
@delegate = Delegate.Remove(lcicdhbaiof, value);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
while (@delegate != lcicdhbaiof)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x170000DD RID: 221
|
|
// (get) Token: 0x060005F0 RID: 1520 RVA: 0x0001E2AC File Offset: 0x0001C4AC
|
|
// (set) Token: 0x060005F1 RID: 1521 RVA: 0x0001E2C0 File Offset: 0x0001C4C0
|
|
[Token(Token = "0x170000DD")]
|
|
public bool NLLONFJBKKP
|
|
{
|
|
[Token(Token = "0x60005F0")]
|
|
[Address(RVA = "0x3F0F40", Offset = "0x3EF940", VA = "0x1803F0F40")]
|
|
get
|
|
{
|
|
return this.DJOGLAAEACB;
|
|
}
|
|
[Token(Token = "0x60005F1")]
|
|
[Address(RVA = "0x12474D0", Offset = "0x1245ED0", VA = "0x1812474D0")]
|
|
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: 0x170000DE RID: 222
|
|
// (get) Token: 0x060005F2 RID: 1522 RVA: 0x0001E330 File Offset: 0x0001C530
|
|
// (set) Token: 0x060005F3 RID: 1523 RVA: 0x0001E344 File Offset: 0x0001C544
|
|
[Token(Token = "0x170000DE")]
|
|
public bool KJOOGKLKNHM
|
|
{
|
|
[Token(Token = "0x60005F2")]
|
|
[Address(RVA = "0x8EFB20", Offset = "0x8EE520", VA = "0x1808EFB20")]
|
|
get
|
|
{
|
|
return this.OEEHIKHOADL;
|
|
}
|
|
[Token(Token = "0x60005F3")]
|
|
[Address(RVA = "0x12475C0", Offset = "0x1245FC0", VA = "0x1812475C0")]
|
|
set
|
|
{
|
|
DoorUnlockTrigger ooonnfpbmkc = this.OOONNFPBMKC;
|
|
this.OEEHIKHOADL = value;
|
|
int num = 0;
|
|
if (ooonnfpbmkc != num)
|
|
{
|
|
this.OOONNFPBMKC.BCKCEELIDLH = value;
|
|
}
|
|
this.OLGLPJKCEFF();
|
|
}
|
|
}
|
|
|
|
// Token: 0x170000DF RID: 223
|
|
// (set) Token: 0x060005F4 RID: 1524 RVA: 0x0001E384 File Offset: 0x0001C584
|
|
[Token(Token = "0x170000DF")]
|
|
private bool DIGFPNKKOPA
|
|
{
|
|
[Token(Token = "0x60005F4")]
|
|
[Address(RVA = "0x1246F50", Offset = "0x1245950", VA = "0x181246F50")]
|
|
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: 0x060005F5 RID: 1525 RVA: 0x0001E3EC File Offset: 0x0001C5EC
|
|
[Token(Token = "0x60005F5")]
|
|
[Address(RVA = "0x1246CB0", Offset = "0x12456B0", VA = "0x181246CB0")]
|
|
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 action = new Action(this.NFBBPEJKLAO);
|
|
difmjnkhnjh.DGELAHLLNPG += 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: 0x060005F6 RID: 1526 RVA: 0x0001E520 File Offset: 0x0001C720
|
|
[Token(Token = "0x60005F6")]
|
|
[Address(RVA = "0x1247120", Offset = "0x1245B20", VA = "0x181247120")]
|
|
private void OnDestroy()
|
|
{
|
|
LockableDoor difmjnkhnjh = this.DIFMJNKHNJH;
|
|
int num = 0;
|
|
if (difmjnkhnjh != num)
|
|
{
|
|
LockableDoor difmjnkhnjh2 = this.DIFMJNKHNJH;
|
|
Action action = new Action(this.NFBBPEJKLAO);
|
|
difmjnkhnjh2.DGELAHLLNPG -= 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: 0x060005F7 RID: 1527 RVA: 0x0001E598 File Offset: 0x0001C798
|
|
[Token(Token = "0x60005F7")]
|
|
[Address(RVA = "0x1247040", Offset = "0x1245A40", VA = "0x181247040")]
|
|
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: 0x060005F8 RID: 1528 RVA: 0x0001E614 File Offset: 0x0001C814
|
|
[Token(Token = "0x60005F8")]
|
|
[Address(RVA = "0x1247020", Offset = "0x1245A20", VA = "0x181247020")]
|
|
private void NFBBPEJKLAO()
|
|
{
|
|
Action gfbfkiofjmj = this.GFBFKIOFJMJ;
|
|
if (gfbfkiofjmj != 0)
|
|
{
|
|
gfbfkiofjmj();
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060005F9 RID: 1529 RVA: 0x0001E634 File Offset: 0x0001C834
|
|
[Token(Token = "0x60005F9")]
|
|
[Address(RVA = "0x1246BF0", Offset = "0x12455F0", VA = "0x181246BF0")]
|
|
public bool AllPlayersOnTrigger(IEnumerable<Photon.Realtime.Player> 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: 0x060005FA RID: 1530 RVA: 0x0001E680 File Offset: 0x0001C880
|
|
[Token(Token = "0x60005FA")]
|
|
[Address(RVA = "0xCDEFF0", Offset = "0xCDD9F0", VA = "0x180CDEFF0")]
|
|
private void KODHBLHLHCE(OverlapVolume DHPCKKKLNDN)
|
|
{
|
|
Action lcicdhbaiof = this.LCICDHBAIOF;
|
|
if (lcicdhbaiof != 0)
|
|
{
|
|
lcicdhbaiof();
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060005FB RID: 1531 RVA: 0x0001E6A0 File Offset: 0x0001C8A0
|
|
[Token(Token = "0x60005FB")]
|
|
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
|
public QuestRoomExitDoor()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000514 RID: 1300
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000514")]
|
|
[SerializeField]
|
|
private Light[] spotlights;
|
|
|
|
// Token: 0x04000515 RID: 1301
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000515")]
|
|
private EncounterSpotlightModel[] HPKNKFBAMGG;
|
|
|
|
// Token: 0x04000516 RID: 1302
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000516")]
|
|
private DoorUnlockTrigger OOONNFPBMKC;
|
|
|
|
// Token: 0x04000517 RID: 1303
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4000517")]
|
|
private LockableDoor DIFMJNKHNJH;
|
|
|
|
// Token: 0x0400051A RID: 1306
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400051A")]
|
|
private bool DJOGLAAEACB;
|
|
|
|
// Token: 0x0400051B RID: 1307
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x49")]
|
|
[Token(Token = "0x400051B")]
|
|
private bool OEEHIKHOADL;
|
|
}
|