using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Cpp2IlInjected; using RecRoom.Circuits; using UnityEngine; namespace RecRoom.Core.Creation.Circuits { // Token: 0x02002C53 RID: 11347 [Token(Token = "0x2002C53")] [StructLayout(3)] public abstract class CircuitConnectionPoint : CircuitConnectionPointBase { // Token: 0x1700355D RID: 13661 // (get) Token: 0x06013F8A RID: 81802 RVA: 0x004CA7E0 File Offset: 0x004C89E0 [Token(Token = "0x1700355D")] public override InputSlot? MNIEHHMNFFE { [Token(Token = "0x6013F8A")] [Address(RVA = "0x3F8880", Offset = "0x3F7280", VA = "0x1803F8880", Slot = "20")] get { } } // Token: 0x1700355E RID: 13662 // (get) Token: 0x06013F8B RID: 81803 RVA: 0x004CA7F0 File Offset: 0x004C89F0 [Token(Token = "0x1700355E")] public override OutputSlot? MDMBMHINCLJ { [Token(Token = "0x6013F8B")] [Address(RVA = "0x3F8880", Offset = "0x3F7280", VA = "0x1803F8880", Slot = "21")] get { } } // Token: 0x1700355F RID: 13663 // (get) Token: 0x06013F8C RID: 81804 RVA: 0x004CA800 File Offset: 0x004C8A00 [Token(Token = "0x1700355F")] public override Tool PBBJCLJPFMI { [Token(Token = "0x6013F8C")] [Address(RVA = "0x176BE40", Offset = "0x176A840", VA = "0x18176BE40", Slot = "7")] get { CircuitNodeDisplay nodeDisplay; do { nodeDisplay = this.NodeDisplay; } while (nodeDisplay == 0); return nodeDisplay.Tool; } } // Token: 0x140001A8 RID: 424 // (add) Token: 0x06013F8D RID: 81805 RVA: 0x004CA820 File Offset: 0x004C8A20 // (remove) Token: 0x06013F8E RID: 81806 RVA: 0x004CA848 File Offset: 0x004C8A48 [Token(Token = "0x140001A8")] public event CircuitConnectionPoint.COGKPLDHHCB LOPDLFLHHFE { [Token(Token = "0x6013F8D")] [Address(RVA = "0x176BC70", Offset = "0x176A670", VA = "0x18176BC70")] [CompilerGenerated] add { CircuitConnectionPoint.COGKPLDHHCB lopdlflhhfe; Delegate @delegate; do { lopdlflhhfe = this.LOPDLFLHHFE; @delegate = Delegate.Combine(lopdlflhhfe, value); } while (@delegate != 0 && @delegate == 0); while (@delegate != lopdlflhhfe) { } } [Token(Token = "0x6013F8E")] [Address(RVA = "0x176BE60", Offset = "0x176A860", VA = "0x18176BE60")] [CompilerGenerated] remove { CircuitConnectionPoint.COGKPLDHHCB lopdlflhhfe; Delegate @delegate; do { lopdlflhhfe = this.LOPDLFLHHFE; @delegate = Delegate.Remove(lopdlflhhfe, value); } while (@delegate != 0 && @delegate == 0); while (@delegate != lopdlflhhfe) { } } } // Token: 0x17003560 RID: 13664 // (get) Token: 0x06013F8F RID: 81807 RVA: 0x004CA870 File Offset: 0x004C8A70 [Token(Token = "0x17003560")] public override Color BLLLCAAJBHC { [Token(Token = "0x6013F8F")] [Address(RVA = "0x176BD10", Offset = "0x176A710", VA = "0x18176BD10", Slot = "18")] get { } } // Token: 0x17003561 RID: 13665 // (get) Token: 0x06013F90 RID: 81808 RVA: 0x004CA880 File Offset: 0x004C8A80 [Token(Token = "0x17003561")] public override bool CJIMJENNIPE { [Token(Token = "0x6013F90")] [Address(RVA = "0x4405A0", Offset = "0x43EFA0", VA = "0x1804405A0", Slot = "19")] get { return true; } } // Token: 0x17003562 RID: 13666 // (get) Token: 0x06013F91 RID: 81809 RVA: 0x004CA890 File Offset: 0x004C8A90 // (set) Token: 0x06013F92 RID: 81810 RVA: 0x004CA8A4 File Offset: 0x004C8AA4 [Token(Token = "0x17003562")] public bool AELHMFPDAGB { [Token(Token = "0x6013F91")] [Address(RVA = "0xA4F790", Offset = "0xA4E190", VA = "0x180A4F790")] get; [Token(Token = "0x6013F92")] [Address(RVA = "0xA4FE90", Offset = "0xA4E890", VA = "0x180A4FE90")] set; } // Token: 0x17003563 RID: 13667 // (get) Token: 0x06013F93 RID: 81811 RVA: 0x004CA8B8 File Offset: 0x004C8AB8 // (set) Token: 0x06013F94 RID: 81812 RVA: 0x004CA8CC File Offset: 0x004C8ACC [Token(Token = "0x17003563")] public float EPGIIPKANCN { [Token(Token = "0x6013F93")] [Address(RVA = "0x176BE30", Offset = "0x176A830", VA = "0x18176BE30")] get; [Token(Token = "0x6013F94")] [Address(RVA = "0x176BF00", Offset = "0x176A900", VA = "0x18176BF00")] set; } // Token: 0x06013F95 RID: 81813 RVA: 0x004CA8E0 File Offset: 0x004C8AE0 [Token(Token = "0x6013F95")] [Address(RVA = "0x176B7F0", Offset = "0x176A1F0", VA = "0x18176B7F0")] public void UpdateColor() { MeshRenderer[] componentsInChildren = base.GetComponentsInChildren(); int num = 0; int length = componentsInChildren.Length; if (num < length) { MeshRenderer meshRenderer = componentsInChildren[num]; this.UpdateRendererColor(meshRenderer, true); num++; } } // Token: 0x06013F96 RID: 81814 RVA: 0x004CA91C File Offset: 0x004C8B1C [Token(Token = "0x6013F96")] [Address(RVA = "0x176B890", Offset = "0x176A290", VA = "0x18176B890")] public void UpdateRendererColor(Renderer CHEJPOIMMCK, bool FLGHMHFNFMO = true) { Color red = Color.red; if (!this.CJIMJENNIPE) { if (this.MyInputSlot == 0) { goto IL_2E; } InputSlot value = this.MyInputSlot.value; } bool isCircuitPoint = this.CJIMJENNIPE; IL_2E: if (this.POJKKILEGBC == (ulong)0L) { MaterialPropertyBlock materialPropertyBlock = new MaterialPropertyBlock(); this.POJKKILEGBC = materialPropertyBlock; } if (FLGHMHFNFMO) { Material sharedMaterial = CHEJPOIMMCK.GetSharedMaterial(); int cchofpafeho = PAMNDKEGFFG.CCHOFPAFEHO; if (sharedMaterial.HasProperty(cchofpafeho)) { Material sharedMaterial2 = CHEJPOIMMCK.GetSharedMaterial(); } } MaterialPropertyBlock pojkkilegbc = this.POJKKILEGBC; CHEJPOIMMCK.Internal_GetPropertyBlock(pojkkilegbc); MaterialPropertyBlock pojkkilegbc2 = this.POJKKILEGBC; MaterialPropertyBlock pojkkilegbc3 = this.POJKKILEGBC; CHEJPOIMMCK.Internal_SetPropertyBlock(pojkkilegbc3); } // Token: 0x06013F97 RID: 81815 RVA: 0x004CA9C8 File Offset: 0x004C8BC8 [Token(Token = "0x6013F97")] [Address(RVA = "0x176AEC0", Offset = "0x17698C0", VA = "0x18176AEC0", Slot = "12")] public override void ConnectionStart(ConnectionCreationContext LHOMKMINCHH, [Optional] ConnectionPoint.PGHEPJALOOK CEAGPJIOMJP) { int num = 0; base.ConnectionStart(LHOMKMINCHH, CEAGPJIOMJP); bool isCV = this.MELMOMAGKEP; bool flag; if (!flag && this.CJIMJENNIPE) { Dictionary inputs = this.Node.Inputs; bool isCircuitPoint = this.CJIMJENNIPE; bool flag2; if (!flag2) { List groupInterfaceConnections = this.GroupInterfaceConnections; CircuitConnectionPoint.COGKPLDHHCB lopdlflhhfe = this.LOPDLFLHHFE; if (lopdlflhhfe == 0) { goto IL_B4; } lopdlflhhfe(this); } if (num.ToString() != 0) { } CircuitNodeDisplay circuitNodeDisplay = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.VisualFor(num); if (!circuitNodeDisplay.Tool.LBPNBENCCHK) { CircuitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG; CircuitNode node = this.Node; bool isCircuitPoint2 = this.CJIMJENNIPE; CircuitConnectionPoint.COGKPLDHHCB lopdlflhhfe2 = this.LOPDLFLHHFE; if (lopdlflhhfe2 != 0) { lopdlflhhfe2(this); } Dictionary outputSlotDisplays = circuitNodeDisplay.OutputSlotDisplays; } } IL_B4: if (CEAGPJIOMJP != 0) { int num2 = 0; CEAGPJIOMJP((GBDECALBCOP)((uint)3), num2); } } // Token: 0x06013F98 RID: 81816 RVA: 0x004CAAA0 File Offset: 0x004C8CA0 [Token(Token = "0x6013F98")] [Address(RVA = "0x176A820", Offset = "0x1769220", VA = "0x18176A820", Slot = "13")] public override void ConnectionEnd(ConnectionCreationContext LHOMKMINCHH, ConnectionPoint HDPMJFANOPG, ConnectionPoint GFMAOEPEFKD, [Optional] ConnectionPoint.PGHEPJALOOK CEAGPJIOMJP) { CircuitConnectionPoint component2; CircuitManager instance; for (;;) { int num = 0; int num2 = 0; if (HDPMJFANOPG != num2) { CircuitConnectionPoint component = HDPMJFANOPG.GetComponent(); } int num3 = 0; if (GFMAOEPEFKD != num3) { component2 = GFMAOEPEFKD.GetComponent(); } if (num != this) { return; } int num4 = 0; if (!(num != num4)) { return; } int num5 = 0; if (!(component2 != num5) || !(HDPMJFANOPG != GFMAOEPEFKD)) { return; } bool flag; if (flag || component2.NodeDisplay.Tool.LBPNBENCCHK) { goto IL_15B; } DateTime dateTime; if (dateTime != 0 && component2.CJIMJENNIPE) { bool isCircuitPoint = component2.CJIMJENNIPE; bool flag2; if (flag2) { break; } instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG; CircuitNode node = component2.Node; bool isCircuitPoint2 = component2.CJIMJENNIPE; } if (component2.MyInputSlot != 0) { CircuitNode node2 = component2.Node; InputSlot value = component2.MyInputSlot.value; bool flag3; if (!flag3) { goto IL_130; } CircuitManager instance2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG; Dictionary cemlibclnkl = instance.CEMLIBCLNKL; if (this.LOPDLFLHHFE != 0) { goto IL_130; } } } CircuitManager instance3 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG; CircuitNode node3 = component2.Node; bool isCircuitPoint3 = component2.CJIMJENNIPE; CircuitConnectionPoint.COGKPLDHHCB lopdlflhhfe = this.LOPDLFLHHFE; if (lopdlflhhfe != 0) { lopdlflhhfe(component2); } return; IL_130: CircuitManager instance4 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG; CircuitNode node4 = component2.Node; InputSlot? myInputSlot = component2.MyInputSlot; Dictionary cemlibclnkl2 = instance.CEMLIBCLNKL; InputSlot value2 = myInputSlot.value; IL_15B: throw new NullReferenceException(); } // Token: 0x06013F99 RID: 81817 RVA: 0x004CAC10 File Offset: 0x004C8E10 [Token(Token = "0x6013F99")] [Address(RVA = "0x176B730", Offset = "0x176A130", VA = "0x18176B730")] private static bool MEJACKPPPAM(CircuitNode LAEAGPKCAIH, OutputSlot OIPIEKDLDMJ, CircuitNode DFKHHCOHANN, InputSlot DECEAGNPDJL) { Dictionary inputs = DFKHHCOHANN.Inputs; bool flag; if (flag) { int k__BackingField = LAEAGPKCAIH.k__BackingField; return true; } throw new NullReferenceException(); } // Token: 0x06013F9A RID: 81818 RVA: 0x004CAC3C File Offset: 0x004C8E3C [Token(Token = "0x6013F9A")] [Address(RVA = "0x176B650", Offset = "0x176A050", VA = "0x18176B650", Slot = "23")] public override bool IsInputConnected() { if (this.CJIMJENNIPE) { CircuitNode node = this.Node; if (node != 0) { List groupInterfaceConnections = this.GroupInterfaceConnections; return true; } } throw new NullReferenceException(); } // Token: 0x06013F9B RID: 81819 RVA: 0x004CAC80 File Offset: 0x004C8E80 [Token(Token = "0x6013F9B")] [Address(RVA = "0x176B440", Offset = "0x1769E40", VA = "0x18176B440", Slot = "22")] public override bool GetInputConnection(out CircuitConnectionPointBase OADEJGCDPCD) { int num = 0; if (this.Node != num && this.CJIMJENNIPE) { int size = this.GroupInterfaceConnections._size; Dictionary inputs = this.Node.Inputs; bool isCircuitPoint = this.CJIMJENNIPE; bool flag; if (flag && num != 0) { if (num.ToString() == 0) { CircuitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG; } CircuitOutputConnectionPoint circuitOutputConnectionPoint = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.VisualFor(num).OutputSlotDisplays[num]; return true; } } throw new NullReferenceException(); } // Token: 0x06013F9C RID: 81820 RVA: 0x004CAD0C File Offset: 0x004C8F0C [Token(Token = "0x6013F9C")] [Address(RVA = "0x176B210", Offset = "0x1769C10", VA = "0x18176B210", Slot = "24")] public override string GetDescription() { int num = 0; if (this.Node != num) { if (!this.CJIMJENNIPE) { if (this.MyInputSlot == 0) { goto IL_75; } CircuitNode node = this.Node; NodeMetadata k__BackingField = node.k__BackingField; int length = node.k__BackingField.OutputMetadata.Length; if (num >= length) { goto IL_75; } num += 2; num += num; InputSlot? myInputSlot = this.MyInputSlot; num++; } CircuitNode node2 = this.Node; if (num < node2) { num += 2; num += num; bool isCircuitPoint = this.CJIMJENNIPE; num++; } IL_75: return string.Empty; } return string.Empty; } // Token: 0x06013F9D RID: 81821 RVA: 0x004CADA0 File Offset: 0x004C8FA0 [Token(Token = "0x6013F9D")] [Address(RVA = "0x176BC00", Offset = "0x176A600", VA = "0x18176BC00")] protected CircuitConnectionPoint() { List list = new List(); this.GroupInterfaceConnections = list; this.AELHMFPDAGB = true; this.EPGIIPKANCN = 1f; base..ctor(); } // Token: 0x0400D6F1 RID: 55025 [global::Cpp2IlInjected.FieldOffset(Offset = "0x60")] [Token(Token = "0x400D6F1")] [OCIDFHDICIP(JIBDPHMGEGO.SelfAndParent, false, false)] public CircuitNodeDisplay NodeDisplay; // Token: 0x0400D6F2 RID: 55026 [global::Cpp2IlInjected.FieldOffset(Offset = "0x68")] [Token(Token = "0x400D6F2")] public CircuitNode Node; // Token: 0x0400D6F3 RID: 55027 [global::Cpp2IlInjected.FieldOffset(Offset = "0x70")] [Token(Token = "0x400D6F3")] public List GroupInterfaceConnections; // Token: 0x0400D6F7 RID: 55031 [global::Cpp2IlInjected.FieldOffset(Offset = "0x88")] [Token(Token = "0x400D6F7")] private MaterialPropertyBlock POJKKILEGBC; // Token: 0x02002C54 RID: 11348 [Token(Token = "0x2002C54")] public sealed class COGKPLDHHCB : MulticastDelegate { // Token: 0x06013F9E RID: 81822 RVA: 0x004CADD4 File Offset: 0x004C8FD4 [Token(Token = "0x6013F9E")] [Address(RVA = "0x3E5170", Offset = "0x3E3B70", VA = "0x1803E5170")] public COGKPLDHHCB(object @object, IntPtr method) { this.method = method; this.m_target = @object; } // Token: 0x06013F9F RID: 81823 RVA: 0x004CADF0 File Offset: 0x004C8FF0 [Token(Token = "0x6013F9F")] [Address(RVA = "0x6931D0", Offset = "0x691BD0", VA = "0x1806931D0", Slot = "13")] public void Invoke(CircuitConnectionPoint BJDBOFJIOBB) { if (this.delegates != 0) { } uint num; if (num != (uint)0) { throw new ExecutionEngineException(); } } // Token: 0x06013FA0 RID: 81824 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x6013FA0")] [Address(RVA = "0x42BD30", Offset = "0x42A730", VA = "0x18042BD30", Slot = "14")] public IAsyncResult BeginInvoke(CircuitConnectionPoint BJDBOFJIOBB, AsyncCallback AFLPGGJMPOE, object FEDFKKMABOG) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06013FA1 RID: 81825 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x6013FA1")] [Address(RVA = "0x40BFF0", Offset = "0x40A9F0", VA = "0x18040BFF0", Slot = "15")] public void EndInvoke(IAsyncResult GIAOBLMEMMI) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } } }