using System; using System.Linq; using Cpp2IlInjected; using RecRoom; using UnityEngine; // Token: 0x02000631 RID: 1585 [Token(Token = "0x2000631")] public class OcclusionVolume : MonoBehaviour { // Token: 0x170007FB RID: 2043 // (get) Token: 0x06002E58 RID: 11864 RVA: 0x000BDD10 File Offset: 0x000BBF10 // (set) Token: 0x06002E59 RID: 11865 RVA: 0x000BDD24 File Offset: 0x000BBF24 [Token(Token = "0x170007FB")] public bool ICECPIKHHIJ { [Token(Token = "0x6002E58")] [Address(RVA = "0x497570", Offset = "0x496570", VA = "0x180497570")] get { return this.DPKNAEKAHCC; } [Token(Token = "0x6002E59")] [Address(RVA = "0x1522F30", Offset = "0x1521F30", VA = "0x181522F30")] set { if (this.DPKNAEKAHCC != value) { if (this.occlusionPortals == (ulong)0L) { GameObject gameObject = base.gameObject; Debug.LogError("Occlusion portals is null!", gameObject); } this.DPKNAEKAHCC = value; if (!value) { } Debug.Log(string.Format("{0} setting portals to {1}", this, "CLOSED"), this); OcclusionPortal[] array = this.occlusionPortals; int num = 0; if (num < array.Length) { OcclusionPortal occlusionPortal = array[num]; if (this.occlusionPortals[num].gameObject.activeInHierarchy) { } bool flag = (uint)1 != 0U; occlusionPortal.open = flag; OcclusionPortal[] array2 = this.occlusionPortals; num++; } } } } // Token: 0x06002E5A RID: 11866 RVA: 0x000BDDD4 File Offset: 0x000BBFD4 [Token(Token = "0x6002E5A")] [Address(RVA = "0x1522920", Offset = "0x1521920", VA = "0x181522920")] private void Awake() { this.ICECPIKHHIJ = true; OcclusionPortal[] array = this.occlusionPortals; Func <>9__7_ = OcclusionVolume.<>c.<>9__7_0; if (<>9__7_ == 0) { OcclusionVolume.<>c.<>9__7_0 = delegate(OcclusionPortal _) { int num = 0; return _ != num; }; } OcclusionPortal[] array2 = Enumerable.ToArray(Enumerable.Where(array, <>9__7_)); this.occlusionPortals = array2; SimpleVolume[] array3 = this.volumes; Func func; if (OcclusionVolume.<>c.<>9__7_1 == 0) { func = delegate(SimpleVolume _) { int num2 = 0; return _ != num2; }; OcclusionVolume.<>c.<>9__7_1 = func; } SimpleVolume[] array4 = Enumerable.ToArray(Enumerable.Where(array3, func)); this.volumes = array4; Action action = new Action(this.GNIHDDGMOEB); IDisposable disposable = ADIFCODGAML.ADIDJGEIJOH(this, action); } // Token: 0x06002E5B RID: 11867 RVA: 0x000BDE7C File Offset: 0x000BC07C [Token(Token = "0x6002E5B")] [Address(RVA = "0x1522C00", Offset = "0x1521C00", VA = "0x181522C00")] private void GNIHDDGMOEB(float POGAEJIEPIM) { bool flag = !this.JLIGNLPLDEO(); this.ICECPIKHHIJ = flag; } // Token: 0x06002E5C RID: 11868 RVA: 0x000BDE9C File Offset: 0x000BC09C [Token(Token = "0x6002E5C")] [Address(RVA = "0x1522CD0", Offset = "0x1521CD0", VA = "0x181522CD0")] private bool JLIGNLPLDEO() { Transform transform = Player.k__BackingField.head.transform; int num = 0; Vector3 vector; float z = vector.z; SimpleVolume[] array = this.volumes; if (num < array.Length) { if (array[num].DOMABBDEAKJ == 0) { SimpleVolume[] array2 = this.volumes; num++; } return true; } throw new NullReferenceException(); } // Token: 0x06002E5D RID: 11869 RVA: 0x000BDF00 File Offset: 0x000BC100 [Token(Token = "0x6002E5D")] [Address(RVA = "0x1522B30", Offset = "0x1521B30", VA = "0x181522B30")] private bool CEHEAPCPBLG(Vector3 KPLDEODOJID) { SimpleVolume[] array = this.volumes; int num = 0; if (num < array.Length) { SimpleVolume simpleVolume = array[num]; float z = KPLDEODOJID.z; if (simpleVolume.DOMABBDEAKJ == 0) { SimpleVolume[] array2 = this.volumes; num++; } return true; } throw new NullReferenceException(); } // Token: 0x06002E5E RID: 11870 RVA: 0x000BDF50 File Offset: 0x000BC150 [Token(Token = "0x6002E5E")] [Address(RVA = "0x1522ED0", Offset = "0x1521ED0", VA = "0x181522ED0")] public OcclusionVolume() { OcclusionPortal[] array = new OcclusionPortal[0]; this.occlusionPortals = array; SimpleVolume[] array2 = new SimpleVolume[0]; this.volumes = array2; base..ctor(); } // Token: 0x06002E5F RID: 11871 RVA: 0x0000220F File Offset: 0x0000040F // Note: this type is marked as 'beforefieldinit'. [Token(Token = "0x6002E5F")] [Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")] static OcclusionVolume() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x040025DA RID: 9690 [Token(Token = "0x40025DA")] public static bool ForceOpen; // Token: 0x040025DB RID: 9691 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40025DB")] private bool DPKNAEKAHCC; // Token: 0x040025DC RID: 9692 [FieldOffset(Offset = "0x20")] [Token(Token = "0x40025DC")] [SerializeField] private OcclusionPortal[] occlusionPortals; // Token: 0x040025DD RID: 9693 [FieldOffset(Offset = "0x28")] [Token(Token = "0x40025DD")] [SerializeField] private SimpleVolume[] volumes; }