using System; using System.Collections.Generic; using System.Runtime.InteropServices; using Cpp2IlInjected; using Photon.Pun; using RecRoom.Circuits; using RecRoom.Core.DataStructures.Tokens; using UnityEngine; namespace RecRoom.Core.Creation.Circuits { // Token: 0x02002C60 RID: 11360 [Token(Token = "0x2002C60")] [StructLayout(3)] public abstract class CircuitEventNodeDisplayBase : CircuitNodeDisplay, LNMHDEAMFBO, PFHIHKIOPFF { // Token: 0x1700356E RID: 13678 // (get) Token: 0x06013FF6 RID: 81910 // (set) Token: 0x06013FF7 RID: 81911 [Token(Token = "0x1700356E")] public abstract InputMetadata[] LKIOMMEBJEC { [Token(Token = "0x6013FF6")] [Address(Slot = "36")] get; [Token(Token = "0x6013FF7")] [Address(Slot = "37")] set; } // Token: 0x1700356F RID: 13679 // (get) Token: 0x06013FF8 RID: 81912 RVA: 0x004CC7B0 File Offset: 0x004CA9B0 // (set) Token: 0x06013FF9 RID: 81913 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x1700356F")] public virtual OutputMetadata[] JDFCGKIIDKE { [Token(Token = "0x6013FF8")] [Address(RVA = "0x3F8880", Offset = "0x3F7280", VA = "0x1803F8880", Slot = "38")] get { } [Token(Token = "0x6013FF9")] [Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "39")] set { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x06013FFA RID: 81914 RVA: 0x004CC7C0 File Offset: 0x004CA9C0 [Token(Token = "0x6013FFA")] [Address(RVA = "0x1CC6AA0", Offset = "0x1CC54A0", VA = "0x181CC6AA0", Slot = "25")] public override void OnCircuitNodeInitialized(CircuitNode IKFLAODDALD) { base.OnCircuitNodeInitialized(IKFLAODDALD); if (this.MBBJMCDGDMN != 0) { OutputNodeUpdated outputNodeUpdated = new OutputNodeUpdated(this.KBKBJFBEOGH); } IDisposable disposable; if (this.resendRateLimitedInputs) { RecRoomSceneManager k__BackingField = RecRoomSceneManager.k__BackingField; Action action = new Action(this.BLPNJNADBNO); disposable = ScheduledUpdateMonoBehaviourExtensions.Update10hz(k__BackingField, action); this.AENELEOCFPJ = disposable; } OutputNodeUpdated outputNodeUpdated2; if (disposable != 0 && disposable != 0) { outputNodeUpdated2 = new OutputNodeUpdated(this.KBKBJFBEOGH); } if (outputNodeUpdated2 != 0 && outputNodeUpdated2 != 0) { int num = 0; num += num; num++; } } // Token: 0x06013FFB RID: 81915 RVA: 0x004CC854 File Offset: 0x004CAA54 [Token(Token = "0x6013FFB")] [Address(RVA = "0x1CC68E0", Offset = "0x1CC52E0", VA = "0x181CC68E0")] private void BLPNJNADBNO(float POGAEJIEPIM) { Dictionary jpkihckmdnd = this.JPKIHCKMDND; if (jpkihckmdnd != 0) { this.KBKBJFBEOGH(jpkihckmdnd); return; } } // Token: 0x06013FFC RID: 81916 RVA: 0x004CC874 File Offset: 0x004CAA74 [Token(Token = "0x6013FFC")] [Address(RVA = "0x1CC6D70", Offset = "0x1CC5770", VA = "0x181CC6D70")] public void TryResendLatestOrDefaultInputs() { Dictionary dmngciimcbo = this.DMNGCIIMCBO; if (dmngciimcbo == 0) { Dictionary dictionary = new Dictionary(); this.DMNGCIIMCBO = dictionary; int num = 0; CircuitNode mbbjmcdgdmn = this.MBBJMCDGDMN; Dictionary dmngciimcbo2 = this.DMNGCIIMCBO; int inputSignal = mbbjmcdgdmn.GetInputSignal((InputSlot)num); dmngciimcbo2[num] = inputSignal; num++; if (this.DMNGCIIMCBO == 0) { return; } } this.KBKBJFBEOGH(dmngciimcbo); } // Token: 0x06013FFD RID: 81917 RVA: 0x004CC8D8 File Offset: 0x004CAAD8 [Token(Token = "0x6013FFD")] [Address(RVA = "0x1CC69D0", Offset = "0x1CC53D0", VA = "0x181CC69D0", Slot = "24")] protected override void NDMHFAFLLOH(PhotonView KFONGPOFCDH) { base.NDMHFAFLLOH(KFONGPOFCDH); if (this.AENELEOCFPJ != 0) { this.AENELEOCFPJ = (ulong)0L; } if (this.MBBJMCDGDMN != 0) { OutputNodeUpdated outputNodeUpdated = new OutputNodeUpdated(this.KBKBJFBEOGH); } } // Token: 0x06013FFE RID: 81918 RVA: 0x004CC914 File Offset: 0x004CAB14 [Token(Token = "0x6013FFE")] [Address(RVA = "0x1CC6900", Offset = "0x1CC5300", VA = "0x181CC6900")] private void KBKBJFBEOGH(Dictionary COLKFKBFGNA) { if (Time.realtimeSinceStartup < this.APAJJHPDJCF) { this.JPKIHCKMDND = COLKFKBFGNA; this.DMNGCIIMCBO = COLKFKBFGNA; return; } if (!this.fireEventOnMasterOnly || PhotonNetwork.IsMasterClient) { } float realtimeSinceStartup = Time.realtimeSinceStartup; this.APAJJHPDJCF = realtimeSinceStartup; this.JPKIHCKMDND = (ulong)0L; this.DMNGCIIMCBO = COLKFKBFGNA; } // Token: 0x06013FFF RID: 81919 [Token(Token = "0x6013FFF")] [Address(Slot = "40")] protected abstract void HPPOFLEICHA(Dictionary COLKFKBFGNA); // Token: 0x06014000 RID: 81920 RVA: 0x004CC974 File Offset: 0x004CAB74 [Token(Token = "0x6014000")] [Address(RVA = "0x1CC6E50", Offset = "0x1CC5850", VA = "0x181CC6E50")] protected CircuitEventNodeDisplayBase() { int num; ActionEvent actionEvent = new ActionEvent(32, num != 0); num = 0; this.OnConnectionVisibilityChanged = actionEvent; TokenFlag tokenFlag = new TokenFlag(); this.DFAOGPCPBBC = tokenFlag; Dictionary dictionary = new Dictionary(); this.InputSlotDisplays = dictionary; Dictionary dictionary2 = new Dictionary(); this.OutputSlotDisplays = dictionary2; Dictionary dictionary3 = new Dictionary(); this.LIOPAOCKAGO = dictionary3; this.k__BackingField = true; base..ctor(); } // Token: 0x0400D72F RID: 55087 [global::Cpp2IlInjected.FieldOffset(Offset = "0xC8")] [Token(Token = "0x400D72F")] [SerializeField] protected bool fireEventOnMasterOnly; // Token: 0x0400D730 RID: 55088 [global::Cpp2IlInjected.FieldOffset(Offset = "0xCC")] [Token(Token = "0x400D730")] [Tooltip("The event will fire at most once every x seconds")] public float eventRateLimitTime = 0.25f; // Token: 0x0400D731 RID: 55089 [global::Cpp2IlInjected.FieldOffset(Offset = "0xD0")] [Token(Token = "0x400D731")] protected float APAJJHPDJCF; // Token: 0x0400D732 RID: 55090 [global::Cpp2IlInjected.FieldOffset(Offset = "0xD4")] [Token(Token = "0x400D732")] [SerializeField] [Tooltip("If toggled, will resend inputs that were thrown away due to rate limiting")] private bool resendRateLimitedInputs; // Token: 0x0400D733 RID: 55091 [global::Cpp2IlInjected.FieldOffset(Offset = "0xD8")] [Token(Token = "0x400D733")] private IDisposable AENELEOCFPJ; // Token: 0x0400D734 RID: 55092 [global::Cpp2IlInjected.FieldOffset(Offset = "0xE0")] [Token(Token = "0x400D734")] private Dictionary JPKIHCKMDND; // Token: 0x0400D735 RID: 55093 [global::Cpp2IlInjected.FieldOffset(Offset = "0xE8")] [Token(Token = "0x400D735")] private Dictionary DMNGCIIMCBO; } }