Files
Apr2020-Cpp2Il-Dump/Assembly-CSharp/RecRoom/Core/Creation/Circuits/CircuitNodeDisplay.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

1408 lines
45 KiB
C#

using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
using Cpp2IlInjected;
using Photon.Pun;
using RecRoom.Circuits;
using RecRoom.Core.Rendering;
using RecRoom.Persistence;
using UnityEngine;
using UnityEngine.Experimental.Rendering;
namespace RecRoom.Core.Creation.Circuits
{
// Token: 0x02003235 RID: 12853
[Token(Token = "0x2003235")]
public class CircuitNodeDisplay : MonoBehaviourPun, EOCLMMENCKH, AICKHLGGBBH
{
// Token: 0x0601615B RID: 90459 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x601615B")]
[Address(RVA = "0x11A7C60", Offset = "0x11A6A60", VA = "0x1811A7C60", Slot = "19")]
public virtual IEnumerable<ILINODKFHEO> GetEditables()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0601615C RID: 90460 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x601615C")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "20")]
public virtual void PopulateDynamicEditables()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x17003CF7 RID: 15607
// (get) Token: 0x0601615D RID: 90461 RVA: 0x00527350 File Offset: 0x00525550
// (set) Token: 0x0601615E RID: 90462 RVA: 0x00527364 File Offset: 0x00525564
[Token(Token = "0x17003CF7")]
public CircuitNode BAAFFCIKDEN
{
[Token(Token = "0x601615D")]
[Address(RVA = "0x3FA170", Offset = "0x3F8F70", VA = "0x1803FA170")]
get
{
return this.MBBJMCDGDMN;
}
[Token(Token = "0x601615E")]
[Address(RVA = "0x11A93F0", Offset = "0x11A81F0", VA = "0x1811A93F0")]
private set
{
Delegate delegate2;
do
{
CircuitNode mbbjmcdgdmn = this.MBBJMCDGDMN;
int num = 0;
if (mbbjmcdgdmn != 0)
{
CircuitNode.NodeMetadataChanged nodeMetadataChanged;
Delegate @delegate = Delegate.Remove(mbbjmcdgdmn.NodeMetadataChangedEvent, nodeMetadataChanged);
if (@delegate != 0 && @delegate == 0)
{
continue;
}
mbbjmcdgdmn.NodeMetadataChangedEvent = num;
this.GPPNKOGIEOP();
}
this.MBBJMCDGDMN = value;
if (value == 0)
{
return;
}
CircuitNode.NodeMetadataChanged nodeMetadataChanged2;
delegate2 = Delegate.Combine(value.NodeMetadataChangedEvent, nodeMetadataChanged2);
}
while (delegate2 != 0 && delegate2 == 0);
value.NodeMetadataChangedEvent = delegate2;
this.OnCircuitNodeDeserialized();
}
}
// Token: 0x17003CF8 RID: 15608
// (get) Token: 0x0601615F RID: 90463 RVA: 0x005273D4 File Offset: 0x005255D4
[Token(Token = "0x17003CF8")]
public CircuitNodeGraph AAPJGPHNLID
{
[Token(Token = "0x601615F")]
[Address(RVA = "0x11AA5B0", Offset = "0x11A93B0", VA = "0x1811AA5B0")]
get
{
CircuitNode mbbjmcdgdmn;
do
{
mbbjmcdgdmn = this.MBBJMCDGDMN;
}
while (mbbjmcdgdmn == 0);
return mbbjmcdgdmn._nodeGraph;
}
}
// Token: 0x17003CF9 RID: 15609
// (get) Token: 0x06016160 RID: 90464 RVA: 0x005273F4 File Offset: 0x005255F4
[Token(Token = "0x17003CF9")]
public NodeMetadata GMGJBNFOCKE
{
[Token(Token = "0x6016160")]
[Address(RVA = "0x11AA5D0", Offset = "0x11A93D0", VA = "0x1811AA5D0")]
get
{
/*
An exception occurred when decompiling this method (06016160)
ICSharpCode.Decompiler.DecompilerException: Error decompiling RecRoom.Circuits.NodeMetadata RecRoom.Core.Creation.Circuits.CircuitNodeDisplay::get_NodeMetadata()
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stfld:native int(Object::m_CachedPtr, ldloc:CircuitNodeDisplay[exp:Object](this), ldc.i4:native int(0))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
*/;
}
}
// Token: 0x17003CFA RID: 15610
// (get) Token: 0x06016161 RID: 90465 RVA: 0x00527408 File Offset: 0x00525608
[Token(Token = "0x17003CFA")]
public bool HAEAADBHHEE
{
[Token(Token = "0x6016161")]
[Address(RVA = "0x11AA560", Offset = "0x11A9360", VA = "0x1811AA560")]
get
{
CircuitNode mbbjmcdgdmn = this.MBBJMCDGDMN;
if (mbbjmcdgdmn == 0)
{
}
return mbbjmcdgdmn.HasConnectedInputs || this.MBBJMCDGDMN.HasConnectedOutputs;
}
}
// Token: 0x140001F8 RID: 504
// (add) Token: 0x06016162 RID: 90466 RVA: 0x00527440 File Offset: 0x00525640
// (remove) Token: 0x06016163 RID: 90467 RVA: 0x00527468 File Offset: 0x00525668
[Token(Token = "0x140001F8")]
public event Action DMKDMKIDPLC
{
[Token(Token = "0x6016162")]
[Address(RVA = "0x11AA3A0", Offset = "0x11A91A0", VA = "0x1811AA3A0")]
[CompilerGenerated]
add
{
Action dmkdmkidplc;
Delegate @delegate;
do
{
dmkdmkidplc = this.DMKDMKIDPLC;
@delegate = Delegate.Combine(dmkdmkidplc, value);
}
while (@delegate != 0 && @delegate == 0);
while (@delegate != dmkdmkidplc)
{
}
}
[Token(Token = "0x6016163")]
[Address(RVA = "0x11AA640", Offset = "0x11A9440", VA = "0x1811AA640")]
[CompilerGenerated]
remove
{
Action dmkdmkidplc;
Delegate @delegate;
do
{
dmkdmkidplc = this.DMKDMKIDPLC;
@delegate = Delegate.Remove(dmkdmkidplc, value);
}
while (@delegate != 0 && @delegate == 0);
while (@delegate != dmkdmkidplc)
{
}
}
}
// Token: 0x06016164 RID: 90468 RVA: 0x00527490 File Offset: 0x00525690
[Token(Token = "0x6016164")]
[Address(RVA = "0x11AA0B0", Offset = "0x11A8EB0", VA = "0x1811AA0B0")]
public void SetConnectionVisualsHidden(bool ONGBFDACHHG, object PIHIPPPPEBI)
{
AOLMGGAPKEH dfaogpcpbbc = this.DFAOGPCPBBC;
if (!ONGBFDACHHG)
{
dfaogpcpbbc.BIHKNNPGGKP(PIHIPPPPEBI);
}
dfaogpcpbbc.BPAJKKAGPKB(PIHIPPPPEBI);
OKNNKFGFODL onConnectionVisibilityChanged = this.OnConnectionVisibilityChanged;
if (onConnectionVisibilityChanged != 0)
{
onConnectionVisibilityChanged.CNFDGDEOPPF();
return;
}
}
// Token: 0x17003CFB RID: 15611
// (get) Token: 0x06016165 RID: 90469 RVA: 0x005274D0 File Offset: 0x005256D0
[Token(Token = "0x17003CFB")]
public bool KAGPFEMFNBH
{
[Token(Token = "0x6016165")]
[Address(RVA = "0xE12410", Offset = "0xE11210", VA = "0x180E12410")]
get
{
return this.DFAOGPCPBBC.CFLJGNJLBFG;
}
}
// Token: 0x06016166 RID: 90470 RVA: 0x005274F0 File Offset: 0x005256F0
[Token(Token = "0x6016166")]
[Address(RVA = "0x11AA150", Offset = "0x11A8F50", VA = "0x1811AA150")]
public bool TryGetInputConnection(InputSlot POFOFFDCGCB, out CircuitLink OHCCLFNCMMN)
{
CircuitNode mbbjmcdgdmn = this.MBBJMCDGDMN;
bool flag;
if (mbbjmcdgdmn != 0 && mbbjmcdgdmn.Inputs != 0 && flag)
{
return true;
}
}
// Token: 0x06016167 RID: 90471 RVA: 0x00527518 File Offset: 0x00525718
[Token(Token = "0x6016167")]
[Address(RVA = "0x11A7D50", Offset = "0x11A6B50", VA = "0x1811A7D50")]
public bool IsInputConnected(InputSlot POFOFFDCGCB)
{
CircuitNode mbbjmcdgdmn;
do
{
mbbjmcdgdmn = this.MBBJMCDGDMN;
}
while (mbbjmcdgdmn == 0);
Dictionary<InputSlot, CircuitLink> inputs = mbbjmcdgdmn.Inputs;
if (inputs != 0)
{
throw new NullReferenceException();
}
return inputs == (ulong)1L;
}
// Token: 0x06016168 RID: 90472 RVA: 0x0052754C File Offset: 0x0052574C
[Token(Token = "0x6016168")]
[Address(RVA = "0x11A7E90", Offset = "0x11A6C90", VA = "0x1811A7E90")]
public bool IsOutputConnected(OutputSlot POFOFFDCGCB)
{
CircuitNode mbbjmcdgdmn;
do
{
mbbjmcdgdmn = this.MBBJMCDGDMN;
}
while (mbbjmcdgdmn == 0);
Dictionary<OutputSlot, HashSet<CircuitLink>> outputs = mbbjmcdgdmn.Outputs;
if (outputs != 0)
{
throw new NullReferenceException();
}
return outputs == (ulong)1L;
}
// Token: 0x06016169 RID: 90473 RVA: 0x00527580 File Offset: 0x00525780
[Token(Token = "0x6016169")]
[Address(RVA = "0x11A75B0", Offset = "0x11A63B0", VA = "0x1811A75B0", Slot = "21")]
protected virtual void FLLMHFGKDJL(CircuitNode HPKICPNGMDJ, InputSlot DECEAGNPDJL, OutputSlot OIPIEKDLDMJ)
{
Action dmkdmkidplc = this.DMKDMKIDPLC;
if (dmkdmkidplc != 0)
{
dmkdmkidplc();
}
this.NEANPBHBJKO();
}
// Token: 0x17003CFC RID: 15612
// (get) Token: 0x0601616A RID: 90474 RVA: 0x005275A4 File Offset: 0x005257A4
[Token(Token = "0x17003CFC")]
public bool JBMFJOBFJHP
{
[Token(Token = "0x601616A")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "15")]
get
{
}
}
// Token: 0x17003CFD RID: 15613
// (get) Token: 0x0601616B RID: 90475 RVA: 0x005275B4 File Offset: 0x005257B4
[Token(Token = "0x17003CFD")]
public bool EFANGJGFDGD
{
[Token(Token = "0x601616B")]
[Address(RVA = "0x536440", Offset = "0x535240", VA = "0x180536440")]
get
{
return this._isSimpleNode;
}
}
// Token: 0x17003CFE RID: 15614
// (get) Token: 0x0601616C RID: 90476 RVA: 0x005275C8 File Offset: 0x005257C8
[Token(Token = "0x17003CFE")]
public bool OGAEFFEGAMK
{
[Token(Token = "0x601616C")]
[Address(RVA = "0x6D69F0", Offset = "0x6D57F0", VA = "0x1806D69F0")]
get
{
return this._disallowedFromCircuitBoards;
}
}
// Token: 0x17003CFF RID: 15615
// (get) Token: 0x0601616D RID: 90477 RVA: 0x005275DC File Offset: 0x005257DC
// (set) Token: 0x0601616E RID: 90478 RVA: 0x005275F0 File Offset: 0x005257F0
[Token(Token = "0x17003CFF")]
public bool JMPJKDAIFPN
{
[Token(Token = "0x601616D")]
[Address(RVA = "0x6D6A00", Offset = "0x6D5800", VA = "0x1806D6A00")]
get;
[Token(Token = "0x601616E")]
[Address(RVA = "0x6D6A20", Offset = "0x6D5820", VA = "0x1806D6A20")]
set;
}
// Token: 0x17003D00 RID: 15616
// (get) Token: 0x0601616F RID: 90479 RVA: 0x00527604 File Offset: 0x00525804
[Token(Token = "0x17003D00")]
public bool NHCKHELMPNJ
{
[Token(Token = "0x601616F")]
[Address(RVA = "0x11AA620", Offset = "0x11A9420", VA = "0x1811AA620")]
get
{
if (!this._isSimpleNode)
{
}
return true;
}
}
// Token: 0x17003D01 RID: 15617
// (get) Token: 0x06016170 RID: 90480 RVA: 0x0052761C File Offset: 0x0052581C
[Token(Token = "0x17003D01")]
public int GLGJMHOAGGJ
{
[Token(Token = "0x6016170")]
[Address(RVA = "0x46E090", Offset = "0x46CE90", VA = "0x18046E090")]
get
{
return this.nodeId;
}
}
// Token: 0x06016171 RID: 90481 RVA: 0x00527630 File Offset: 0x00525830
[Token(Token = "0x6016171")]
[Address(RVA = "0x11A9B60", Offset = "0x11A8960", VA = "0x1811A9B60")]
public void OverrideNodeId(int? JIOPJMIJPLF)
{
this.FHCDHDEAPAJ = JIOPJMIJPLF;
}
// Token: 0x17003D02 RID: 15618
// (get) Token: 0x06016172 RID: 90482 RVA: 0x00527644 File Offset: 0x00525844
[Token(Token = "0x17003D02")]
public bool BPDKFEMNBMB
{
[Token(Token = "0x6016172")]
[Address(RVA = "0x11AA440", Offset = "0x11A9240", VA = "0x1811AA440")]
get
{
Tool tool = this.Tool;
int num = 0;
if (tool != num)
{
PersistenceView persistenceView = this.Tool.persistenceView;
int num2 = 0;
if (persistenceView != num2)
{
return this.Tool.persistenceView.NPNNBEHIMHA;
}
}
Debug.LogWarning(string.Format("CircuitNodeDisplay {0} has no accessible PersistenceView. Assuming that it's safe to persist its node.", this));
return true;
}
}
// Token: 0x17003D03 RID: 15619
// (get) Token: 0x06016173 RID: 90483 RVA: 0x005276A4 File Offset: 0x005258A4
[Token(Token = "0x17003D03")]
public virtual Sprite CNGNMEHMGAB
{
[Token(Token = "0x6016173")]
[Address(RVA = "0x8931A0", Offset = "0x891FA0", VA = "0x1808931A0", Slot = "22")]
get
{
return this.defaultCircuitLabelSprite;
}
}
// Token: 0x06016174 RID: 90484 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6016174")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "23")]
protected virtual void OnValidate()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06016175 RID: 90485 RVA: 0x005276B8 File Offset: 0x005258B8
[Token(Token = "0x6016175")]
[Address(RVA = "0x11A6400", Offset = "0x11A5200", VA = "0x1811A6400", Slot = "13")]
protected override void Awake()
{
string name2;
Delegate @delegate;
for (;;)
{
int num = 0;
this.PopulateDynamicEditables();
CircuitNodeDisplay.AllDisplays.Add(this);
Action<PhotonView> action;
base.JDHMIOJKLCK.OnDestroying += action;
this.BGAMJECINOE();
Tool tool = this.Tool;
int num2 = 0;
if (tool == num2)
{
Debug.LogError("CircuitNodeObject requires a Tool!");
}
if ((this._isSimpleNode ? 1 : 0) == num && (this.KeepOrientationOnPickup ? 1 : 0) == num)
{
goto IL_6B;
}
this.Tool.GravityPickupMode = (Tool.LMJNHJCGDOF)((ulong)1L);
if ((this._isSimpleNode ? 1 : 0) == num)
{
goto IL_6B;
}
goto IL_74;
IL_90:
CircuitNodeDisplay.InputSlotDisplayConfig[] array = this.inputSlotConfigs;
int length = array.Length;
if (num < length)
{
CircuitNodeDisplay.InputSlotDisplayConfig inputSlotDisplayConfig = array[num];
Dictionary<InputSlot, CircuitInputConnectionPoint> inputSlotDisplays = this.InputSlotDisplays;
CircuitInputConnectionPoint ioslot = inputSlotDisplayConfig.IOSlot;
InputSlot inputSlot = inputSlotDisplayConfig.InputSlot;
inputSlotDisplays[inputSlot] = ioslot;
num++;
}
CircuitNodeDisplay.OutputSlotDisplayConfig[] array2 = this.outputSlotConfigs;
int length2 = array2.Length;
if (num < length2)
{
CircuitNodeDisplay.OutputSlotDisplayConfig outputSlotDisplayConfig = array2[num];
Dictionary<OutputSlot, CircuitOutputConnectionPoint> outputSlotDisplays = this.OutputSlotDisplays;
CircuitOutputConnectionPoint ioslot2 = outputSlotDisplayConfig.IOSlot;
OutputSlot outputSlot = outputSlotDisplayConfig.OutputSlot;
outputSlotDisplays[outputSlot] = ioslot2;
num++;
}
Dictionary<string, object> instantiationParameters = this.Tool.InstantiationParameters;
int num3;
if (instantiationParameters != 0 && instantiationParameters.TryGetValue("CO_CN", num))
{
num3 = num;
}
if (this.nodeId == num)
{
if (num3 == 0)
{
break;
}
}
else
{
GameObject gameObject;
string name = gameObject.name;
GameObject gameObject2;
Debug.LogError("CircuitNodeObject " + name + " has a serialized NodeID AND a Tool Instantiation Param NodeID!", gameObject2);
}
CircuitNode.NodeLifecycleEvent onNodeInstantiatedEvent = CircuitNode.OnNodeInstantiatedEvent;
CircuitNode.NodeLifecycleEvent nodeLifecycleEvent = new CircuitNode.NodeLifecycleEvent(name2.OEIGNGEAMMB);
@delegate = Delegate.Combine(onNodeInstantiatedEvent, nodeLifecycleEvent);
if (@delegate == 0 || @delegate != 0)
{
goto IL_21F;
}
continue;
IL_6B:
if ((this._useCustomCircuitRendering ? 1 : 0) == num)
{
goto IL_90;
}
IL_74:
this.Tool.OutlineType = (OutlineRendererEffect.HLEDHCIGMPJ)((ulong)4L);
this.Tool.SelectionType = (SelectionRendererEffect.KOOAFIGMBBP)((ulong)1L);
goto IL_90;
}
SpawnableTool component = base.GetComponent<SpawnableTool>();
int num4 = 0;
if (component != num4)
{
Guid guid;
string text = "Prefab Guid:" + guid;
}
GameObject gameObject3 = base.gameObject;
object[] array3 = new object[2];
name2 = base.gameObject.name;
if (name2 != 0)
{
}
array3[0] = name2;
if ("" != 0)
{
}
array3[1] = "";
Debug.LogErrorFormat(gameObject3, "CircuitNodeObject {0} with prefab GUID {1} does not have configured circuit node type. Check SpawnableToolBuildConfig to make sure one is defined.", array3);
return;
IL_21F:
CircuitNode.OnNodeInstantiatedEvent = @delegate;
CircuitNode circuitNode;
while (circuitNode == 0)
{
}
IEnumerator<char> enumerator = name2.System.Collections.Generic.IEnumerable<System.Char>.GetEnumerator();
}
// Token: 0x06016176 RID: 90486 RVA: 0x00527900 File Offset: 0x00525B00
[Token(Token = "0x6016176")]
[Address(RVA = "0x11AA110", Offset = "0x11A8F10", VA = "0x1811AA110", Slot = "24")]
protected virtual void Start()
{
int num = 0;
this.PDLMODBGKJK(num != 0);
this.NHLPHMPFNIL();
this.MFBIIAEFGPM = true;
this.NEANPBHBJKO();
}
// Token: 0x06016177 RID: 90487 RVA: 0x0052792C File Offset: 0x00525B2C
[Token(Token = "0x6016177")]
[Address(RVA = "0x11A6A60", Offset = "0x11A5860", VA = "0x1811A6A60")]
private void BGAMJECINOE()
{
MeshRenderer meshRenderer = this.circuitMeshRenderer;
int num = 0;
if (meshRenderer != num)
{
MaterialPropertyBlock materialPropertyBlock = new MaterialPropertyBlock();
this.IGGDFHEGPHP = materialPropertyBlock;
}
}
// Token: 0x06016178 RID: 90488 RVA: 0x0052795C File Offset: 0x00525B5C
[Token(Token = "0x6016178")]
[Address(RVA = "0x11A8C60", Offset = "0x11A7A60", VA = "0x1811A8C60")]
protected void NHLPHMPFNIL()
{
int num = 0;
MeshRenderer meshRenderer = this.circuitMeshRenderer;
int num2 = 0;
if (meshRenderer != num2)
{
bool flag;
if (flag)
{
Texture2D texture2D;
GraphicsFormat graphicsFormat = texture2D.graphicsFormat;
}
MaterialPropertyBlock iggdfhegphp = this.IGGDFHEGPHP;
int iconTexScaleOffsetPropertyId = CircuitNodeDisplay.IconTexScaleOffsetPropertyId;
iggdfhegphp.SetVector(iconTexScaleOffsetPropertyId, num);
MeshRenderer meshRenderer2 = this.circuitMeshRenderer;
MaterialPropertyBlock iggdfhegphp2 = this.IGGDFHEGPHP;
meshRenderer2.Internal_SetPropertyBlock(iggdfhegphp2);
}
}
// Token: 0x06016179 RID: 90489 RVA: 0x005279C8 File Offset: 0x00525BC8
[Token(Token = "0x6016179")]
[Address(RVA = "0x11A8F60", Offset = "0x11A7D60", VA = "0x1811A8F60")]
private void OEIGNGEAMMB(CircuitNode IKFLAODDALD)
{
int num = this.nodeId;
if (IKFLAODDALD.<NodeId>k__BackingField == num)
{
bool isCompleted = ((IAsyncResult)this).IsCompleted;
return;
}
}
// Token: 0x0601617A RID: 90490 RVA: 0x005279F4 File Offset: 0x00525BF4
[Token(Token = "0x601617A")]
[Address(RVA = "0x11A9AE0", Offset = "0x11A88E0", VA = "0x1811A9AE0", Slot = "14")]
protected sealed override void OnDestroy()
{
base.OnDestroy();
bool flag = CircuitNodeDisplay.AllDisplays.Remove(this);
}
// Token: 0x0601617B RID: 90491 RVA: 0x00527A1C File Offset: 0x00525C1C
[Token(Token = "0x601617B")]
[Address(RVA = "0x11A83E0", Offset = "0x11A71E0", VA = "0x1811A83E0", Slot = "25")]
protected virtual void NDMHFAFLLOH(PhotonView KFONGPOFCDH)
{
CircuitNode mbbjmcdgdmn = this.MBBJMCDGDMN;
if (mbbjmcdgdmn != 0)
{
CircuitNode.ThisNodeConnectionChanged thisNodeConnectionChanged;
Delegate @delegate = Delegate.Remove(mbbjmcdgdmn.OnConnectedEvent, thisNodeConnectionChanged);
if (@delegate != 0 && @delegate == 0)
{
goto IL_13D;
}
mbbjmcdgdmn.OnConnectedEvent = @delegate;
CircuitNode mbbjmcdgdmn2 = this.MBBJMCDGDMN;
CircuitNode.ThisNodeConnectionChanged thisNodeConnectionChanged2;
Delegate delegate2 = Delegate.Remove(mbbjmcdgdmn2.OnDisconnectedEvent, thisNodeConnectionChanged2);
if (delegate2 != 0 && delegate2 == 0)
{
goto IL_13D;
}
mbbjmcdgdmn2.OnDisconnectedEvent = delegate2;
}
CircuitNode.NodeLifecycleEvent onNodeInstantiatedEvent = CircuitNode.OnNodeInstantiatedEvent;
CircuitNode.NodeLifecycleEvent nodeLifecycleEvent = new CircuitNode.NodeLifecycleEvent(this.OEIGNGEAMMB);
Delegate delegate3 = Delegate.Remove(onNodeInstantiatedEvent, nodeLifecycleEvent);
if (delegate3 == 0 || delegate3 != 0)
{
CircuitNode.OnNodeInstantiatedEvent = delegate3;
CircuitNode mbbjmcdgdmn3 = this.MBBJMCDGDMN;
CircuitNode mbbjmcdgdmn4 = this.MBBJMCDGDMN;
if (mbbjmcdgdmn4 != 0)
{
CircuitNode.NodeMetadataChanged nodeMetadataChanged;
Delegate delegate4 = Delegate.Remove(mbbjmcdgdmn4.NodeMetadataChangedEvent, nodeMetadataChanged);
if (delegate4 != 0 && delegate4 == 0)
{
goto IL_13D;
}
mbbjmcdgdmn4.NodeMetadataChangedEvent = delegate4;
this.GPPNKOGIEOP();
}
this.MBBJMCDGDMN = (ulong)0L;
PhotonView photonView = base.JDHMIOJKLCK;
int num = 0;
if (photonView != num)
{
Action<PhotonView> action;
base.JDHMIOJKLCK.OnDestroying -= action;
}
CircuitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
int num2 = 0;
if (instance != num2)
{
NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.RemoveVisualFor(mbbjmcdgdmn3);
if (KKPBCOOONNK.BNNCCCFFALC)
{
CircuitManager instance2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
int num3 = this.nodeId;
instance2.RequestMasterDestroyNode(num3);
}
}
return;
}
IL_13D:
throw new NullReferenceException();
}
// Token: 0x0601617C RID: 90492 RVA: 0x00527B78 File Offset: 0x00525D78
[Token(Token = "0x601617C")]
[Address(RVA = "0x11A9540", Offset = "0x11A8340", VA = "0x1811A9540", Slot = "26")]
public virtual void OnCircuitNodeInitialized(CircuitNode IKFLAODDALD)
{
CircuitNode mbbjmcdgdmn5;
Delegate delegate4;
for (;;)
{
int num = 0;
if (this.MBBJMCDGDMN != num)
{
CircuitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
CircuitNode mbbjmcdgdmn = this.MBBJMCDGDMN;
instance.RemoveVisualFor(mbbjmcdgdmn);
CircuitNode mbbjmcdgdmn2 = this.MBBJMCDGDMN;
CircuitNode.ThisNodeConnectionChanged thisNodeConnectionChanged;
Delegate @delegate = Delegate.Remove(mbbjmcdgdmn2.OnConnectedEvent, thisNodeConnectionChanged);
if (@delegate != 0 && @delegate == 0)
{
continue;
}
mbbjmcdgdmn2.OnConnectedEvent = num;
CircuitNode mbbjmcdgdmn3 = this.MBBJMCDGDMN;
CircuitNode.ThisNodeConnectionChanged thisNodeConnectionChanged2;
Delegate delegate2 = Delegate.Remove(mbbjmcdgdmn3.OnDisconnectedEvent, thisNodeConnectionChanged2);
if (delegate2 != 0 && delegate2 == 0)
{
continue;
}
mbbjmcdgdmn3.OnDisconnectedEvent = delegate2;
}
GameObject gameObject = base.gameObject;
string[] array = new string[5];
string text = base.gameObject.name.Replace("(Clone)", "");
if (text != 0)
{
}
array[0] = text;
if ("_" != 0)
{
}
array[1] = "_";
MemberTypes memberType = IKFLAODDALD.GetType().MemberType;
if (memberType != (MemberTypes)0)
{
}
array[2] = memberType;
if ("_" != 0)
{
}
array[3] = "_";
string text2;
if (text2 != 0)
{
}
array[4] = text2;
string text3 = string.Concat(array);
gameObject.name = text3;
this.BAAFFCIKDEN = IKFLAODDALD;
int num2 = 0;
this.OKCJFCCNHNM(num2 != 0);
if (this.MBBJMCDGDMN != 0)
{
}
this.GFNOFLIIKHO();
NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.SetVisualFor(IKFLAODDALD, this);
int num3 = 0;
this.PDLMODBGKJK(num3 != 0);
CircuitNode mbbjmcdgdmn4 = this.MBBJMCDGDMN;
if (mbbjmcdgdmn4 == 0)
{
return;
}
CircuitNode.ThisNodeConnectionChanged thisNodeConnectionChanged3;
Delegate delegate3 = Delegate.Combine(mbbjmcdgdmn4.OnConnectedEvent, thisNodeConnectionChanged3);
if (delegate3 == 0 || delegate3 != 0)
{
mbbjmcdgdmn4.OnConnectedEvent = delegate3;
mbbjmcdgdmn5 = this.MBBJMCDGDMN;
CircuitNode.ThisNodeConnectionChanged thisNodeConnectionChanged4;
delegate4 = Delegate.Combine(mbbjmcdgdmn5.OnDisconnectedEvent, thisNodeConnectionChanged4);
if (delegate4 == 0 || delegate4 != 0)
{
break;
}
}
}
mbbjmcdgdmn5.OnDisconnectedEvent = delegate4;
}
// Token: 0x0601617D RID: 90493 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x601617D")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "27")]
public virtual void OnCircuitNodeDeserialized()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0601617E RID: 90494 RVA: 0x00527D38 File Offset: 0x00525F38
[Token(Token = "0x601617E")]
[Address(RVA = "0x11A7850", Offset = "0x11A6650", VA = "0x1811A7850", Slot = "28")]
protected virtual void GPPNKOGIEOP()
{
CreationObject component = base.GetComponent<CreationObject>();
int num = 0;
if (component != num)
{
Func<CostInfo> func = new Func(this.POJLHNCAKAO);
component.AddResourceCostModifier(func, this);
}
CircuitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
Action action = new Action(this.HNOLGHDKGBO);
instance.JCEAGHCOPHB += action;
if (NetworkedSingletonMonoBehaviour.ONCPNMDGGKG)
{
RoomPersistenceManager instance2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
Action action2 = new Action(this.NEANPBHBJKO);
instance2.OPIHPFLNNMH += action2;
RoomPersistenceManager instance3 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
Action action3 = new Action(this.NEANPBHBJKO);
instance3.NPCNGKGEKMB += action3;
}
}
// Token: 0x0601617F RID: 90495 RVA: 0x00527DD8 File Offset: 0x00525FD8
[Token(Token = "0x601617F")]
[Address(RVA = "0x11A75E0", Offset = "0x11A63E0", VA = "0x1811A75E0", Slot = "29")]
protected virtual void GFNOFLIIKHO()
{
RoomPersistenceManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
int num = 0;
if (instance != num)
{
RoomPersistenceManager instance2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
Action action = new Action(this.NEANPBHBJKO);
instance2.NPCNGKGEKMB -= action;
RoomPersistenceManager instance3 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
Action action2 = new Action(this.NEANPBHBJKO);
instance3.OPIHPFLNNMH -= action2;
}
CircuitManager instance4 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
int num2 = 0;
if (instance4 != num2)
{
CircuitManager instance5 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
Action action3 = new Action(this.HNOLGHDKGBO);
instance5.JCEAGHCOPHB -= action3;
}
CreationObject component = base.GetComponent<CreationObject>();
int num3 = 0;
if (component != num3)
{
component.RemoveResourceCostModifier(this);
}
}
// Token: 0x06016180 RID: 90496 RVA: 0x00527E88 File Offset: 0x00526088
[Token(Token = "0x6016180")]
[Address(RVA = "0x11A7CA0", Offset = "0x11A6AA0", VA = "0x1811A7CA0")]
private void HNOLGHDKGBO()
{
this.NEANPBHBJKO();
}
// Token: 0x06016181 RID: 90497 RVA: 0x00527E9C File Offset: 0x0052609C
[Token(Token = "0x6016181")]
[Address(RVA = "0x11A9CA0", Offset = "0x11A8AA0", VA = "0x1811A9CA0")]
private CostInfo POJLHNCAKAO()
{
int num = 0;
CreationObject creationObject;
if (creationObject != num)
{
ObjectGroup <JOPKLANPAKD>k__BackingField = creationObject.<JOPKLANPAKD>k__BackingField;
int num2 = 0;
if (<JOPKLANPAKD>k__BackingField != num2)
{
ObjectGroup <JOPKLANPAKD>k__BackingField2 = creationObject.<JOPKLANPAKD>k__BackingField;
if (<JOPKLANPAKD>k__BackingField2 == 0)
{
}
if (<JOPKLANPAKD>k__BackingField2)
{
}
}
}
if (RecRoomSceneManager.<OCDLBPHJMOP>k__BackingField.sceneRenderingSettings.ShowGadgetsToEveryone)
{
int num3 = 0;
int num4 = 0;
CircuitNodeDisplay[] array;
int length = array.Length;
if (num4 < length)
{
if (!array[num3]._isSimpleNode)
{
num3++;
}
if (!DLMCJADFCKK.GKGKJNBGPOC(num3))
{
}
}
}
int num5 = 0;
this.m_CachedPtr = (IntPtr)num5;
throw new NullReferenceException();
}
// Token: 0x06016182 RID: 90498 RVA: 0x00527F48 File Offset: 0x00526148
[Token(Token = "0x6016182")]
[Address(RVA = "0x11A9B70", Offset = "0x11A8970", VA = "0x1811A9B70")]
protected void PDLMODBGKJK(bool CDFHDACBFKN = false)
{
CreationObject component = base.GetComponent<CreationObject>();
int num = 0;
bool flag = component != num;
if (flag && (uint)1 != 0U)
{
if (CDFHDACBFKN)
{
component.ClearConfigurableSettings();
component.ClearDynamicUIElements();
}
IEnumerable<ILINODKFHEO> editables = this.GetEditables();
this.JKAJHDIFAEG = true;
}
}
// Token: 0x06016183 RID: 90499 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6016183")]
[Address(RVA = "0x11A6EE0", Offset = "0x11A5CE0", VA = "0x1811A6EE0", Slot = "30")]
protected virtual void EHDLIFMMAJJ(NodeMetadata KBNMDHBAHGO)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06016184 RID: 90500 RVA: 0x00527F98 File Offset: 0x00526198
[Token(Token = "0x6016184")]
[Address(RVA = "0x11A8860", Offset = "0x11A7660", VA = "0x1811A8860")]
private void NEANPBHBJKO()
{
for (;;)
{
int num = 0;
if ((this.MFBIIAEFGPM ? 1 : 0) == num || NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.HOIEIPLONFI || this.MBBJMCDGDMN == num)
{
return;
}
if (CircuitVisibilityBehaviour.AHLIKHKCFLF)
{
Dictionary<InputSlot, CircuitInputConnectionPoint> inputSlotDisplays = this.InputSlotDisplays;
bool flag;
if (flag)
{
int num2 = 0;
GameObject gameObject;
if (gameObject.activeSelf && !this.IsInputConnected((InputSlot)num2))
{
break;
}
Dictionary<InputSlot, CircuitDefaultPinDisplay> liopaockago = this.LIOPAOCKAGO;
bool flag2;
while (!flag2)
{
}
Dictionary<InputSlot, CircuitDefaultPinDisplay> liopaockago2 = this.LIOPAOCKAGO;
}
if (num != 0)
{
continue;
}
}
Dictionary<InputSlot, CircuitDefaultPinDisplay> liopaockago3 = this.LIOPAOCKAGO;
bool flag3;
if (flag3)
{
}
if (num == 0)
{
goto Block_8;
}
}
Dictionary<InputSlot, CircuitDefaultPinDisplay> liopaockago4 = this.LIOPAOCKAGO;
throw new NullReferenceException();
Block_8:
this.LIOPAOCKAGO.Clear();
}
// Token: 0x06016185 RID: 90501 RVA: 0x0052809C File Offset: 0x0052629C
[Token(Token = "0x6016185")]
[Address(RVA = "0x11A7BF0", Offset = "0x11A69F0", VA = "0x1811A7BF0")]
public CircuitDefaultPinDisplay GetDefaultPinForInput(InputSlot DBFBLNILIGL)
{
Dictionary<InputSlot, CircuitDefaultPinDisplay> liopaockago = this.LIOPAOCKAGO;
throw new NullReferenceException();
}
// Token: 0x06016186 RID: 90502 RVA: 0x005280B8 File Offset: 0x005262B8
[Token(Token = "0x6016186")]
[Address(RVA = "0x11A8110", Offset = "0x11A6F10", VA = "0x1811A8110")]
private Tooltip KFOEOEKBBIG(CircuitConnectionPoint POFOFFDCGCB, string LJIGOCDPEJF)
{
Tooltip component = POFOFFDCGCB.GetComponent<Tooltip>();
int num = 0;
if (component == num)
{
Tooltip tooltip = POFOFFDCGCB.gameObject.AddComponent<Tooltip>();
}
StringBuilder stringBuilder = new StringBuilder();
if (stringBuilder == 0)
{
StringBuilder stringBuilder2 = stringBuilder.AppendLine(LJIGOCDPEJF);
}
if (POFOFFDCGCB.MyInputSlot != 0 && this.MBBJMCDGDMN != 0)
{
InputSlot? myInputSlot = POFOFFDCGCB.MyInputSlot;
int num3;
int num2 = num3;
StringBuilder stringBuilder3 = stringBuilder.Append(num2);
}
int hashCode = stringBuilder.GetHashCode();
component.Message = hashCode;
return component;
}
// Token: 0x06016187 RID: 90503 RVA: 0x00528140 File Offset: 0x00526340
[Token(Token = "0x6016187")]
[Address(RVA = "0x11A6AF0", Offset = "0x11A58F0", VA = "0x1811A6AF0", Slot = "31")]
public virtual void DeserializeFrom(KPNDFONGDGF HFBJGCHOANH)
{
if (HFBJGCHOANH.FAGKDKEFPKO != (ulong)0L)
{
Dictionary<int, int> fagkdkefpko = HFBJGCHOANH.FAGKDKEFPKO;
}
CircuitNode circuitNode;
if (circuitNode != 0)
{
if (this._isSimpleNode || this._useCustomCircuitRendering)
{
Transform transform = base.transform;
Transform transform2 = base.transform;
Transform transform3 = base.transform;
Transform transform4 = base.transform;
}
return;
}
object[] array = new object[2];
if (array != 0)
{
}
array[0] = array;
if (array != 0)
{
}
array[1] = array;
Debug.LogErrorFormat("Found null circuit node for CircuitNodeDisplay data:\nOld ID: {0} New Id: {1}", array);
Debug.LogError("Expected a circuit node id for CircuitNodeDisplay data");
throw new NullReferenceException();
}
// Token: 0x06016188 RID: 90504 RVA: 0x005281D8 File Offset: 0x005263D8
[Token(Token = "0x6016188")]
[Address(RVA = "0x11A9FE0", Offset = "0x11A8DE0", VA = "0x1811A9FE0", Slot = "32")]
public virtual void SerializeTo(ref PDEKIHFJKHJ IABNDBNHMKF, ref MKNCHKCCIHK NHFINJNIPGK, StringBuilder BIPOIFGEMGB)
{
this.OKCJFCCNHNM(true);
int <NodeId>k__BackingField = this.MBBJMCDGDMN.<NodeId>k__BackingField;
new GGMKKGHBBBP().GCDKKNMBLPH = <NodeId>k__BackingField;
int num = 0;
this.FHCDHDEAPAJ = num;
}
// Token: 0x06016189 RID: 90505 RVA: 0x00528214 File Offset: 0x00526414
[Token(Token = "0x6016189")]
[Address(RVA = "0x11A8FA0", Offset = "0x11A7DA0", VA = "0x1811A8FA0")]
private void OKCJFCCNHNM(bool KHJKDAPJNHB)
{
int num;
do
{
num = 0;
if (this.nodeId == num)
{
return;
}
}
while (this.MBBJMCDGDMN == num);
SpawnableTool component = base.GetComponent<SpawnableTool>();
int num2 = 0;
if (component != num2)
{
int type = (int)component.OPLHMKFCNOL;
RuntimeSpawnableToolConfig runtimeSpawnableToolConfig;
if (runtimeSpawnableToolConfig != 0)
{
CircuitNodeType circuitNodeType = runtimeSpawnableToolConfig.CircuitNodeType;
if (circuitNodeType != 0 && !string.IsNullOrEmpty(circuitNodeType.uuid))
{
string uuid = runtimeSpawnableToolConfig.CircuitNodeType.uuid;
}
}
}
bool flag;
bool flag2;
if (flag && flag2)
{
object[] array = new object[5];
throw new NullReferenceException();
}
}
// Token: 0x0601618A RID: 90506 RVA: 0x0052830C File Offset: 0x0052650C
[Token(Token = "0x601618A")]
[Address(RVA = "0x11A7A90", Offset = "0x11A6890", VA = "0x1811A7A90")]
public Guid GetCircuitNodeType()
{
int num = 0;
SpawnableTool spawnableTool;
if (spawnableTool != num)
{
int type = (int)spawnableTool.OPLHMKFCNOL;
RuntimeSpawnableToolConfig runtimeSpawnableToolConfig;
if (runtimeSpawnableToolConfig != 0)
{
CircuitNodeType circuitNodeType = runtimeSpawnableToolConfig.CircuitNodeType;
if (circuitNodeType != 0 && !string.IsNullOrEmpty(circuitNodeType.uuid))
{
string uuid = runtimeSpawnableToolConfig.CircuitNodeType.uuid;
}
}
}
Guid empty = Guid.Empty;
throw new NullReferenceException();
}
// Token: 0x0601618B RID: 90507 RVA: 0x00528368 File Offset: 0x00526568
[Token(Token = "0x601618B")]
[Address(RVA = "0x11A82B0", Offset = "0x11A70B0", VA = "0x1811A82B0", Slot = "18")]
private void LBLKKLJMGMM(DDOCLDALHON KDMGDPJLIBN)
{
this.BGAMJECINOE();
this.NHLPHMPFNIL();
MeshRenderer meshRenderer = this.circuitMeshRenderer;
int num = 0;
if (meshRenderer != num)
{
MaterialPropertyBlock iggdfhegphp = this.IGGDFHEGPHP;
Vector4 zero = Vector4.zero;
MeshRenderer meshRenderer2 = this.circuitMeshRenderer;
MaterialPropertyBlock iggdfhegphp2 = this.IGGDFHEGPHP;
meshRenderer2.Internal_SetPropertyBlock(iggdfhegphp2);
}
}
// Token: 0x0601618C RID: 90508 RVA: 0x005283C0 File Offset: 0x005265C0
[Token(Token = "0x601618C")]
[Address(RVA = "0x11A7E00", Offset = "0x11A6C00", VA = "0x1811A7E00")]
public bool IsInputVisualSuppressed(InputSlot POFOFFDCGCB)
{
Dictionary<InputSlot, CircuitInputConnectionPoint> inputSlotDisplays = this.InputSlotDisplays;
bool flag;
if (!flag)
{
return flag;
}
bool flag2;
return flag2;
}
// Token: 0x0601618D RID: 90509 RVA: 0x005283E4 File Offset: 0x005265E4
[Token(Token = "0x601618D")]
[Address(RVA = "0x11A7F40", Offset = "0x11A6D40", VA = "0x1811A7F40")]
public bool IsOutputVisualSuppressed(OutputSlot OIPIEKDLDMJ, CircuitNodeDisplay PLKNIAGDEEM, InputSlot DECEAGNPDJL)
{
int num;
do
{
num = 0;
Dictionary<OutputSlot, CircuitOutputConnectionPoint> outputSlotDisplays = this.OutputSlotDisplays;
bool flag;
if (!flag)
{
goto IL_24;
}
bool flag2;
if (flag2)
{
bool flag3;
while (!flag3)
{
}
}
}
while (num != 0);
if (num != -1)
{
}
IL_24:
throw new NullReferenceException();
}
// Token: 0x0601618E RID: 90510 RVA: 0x00528420 File Offset: 0x00526620
[Token(Token = "0x601618E")]
[Address(RVA = "0x11A7CB0", Offset = "0x11A6AB0", VA = "0x1811A7CB0")]
public static bool IsGameObjectSimpleNode(Component CKCMODJNCNF)
{
CircuitNodeDisplay[] componentsInChildren = CKCMODJNCNF.GetComponentsInChildren<CircuitNodeDisplay>(true);
int num = 0;
int length = componentsInChildren.Length;
if (num < length && !componentsInChildren[num]._isSimpleNode)
{
num++;
}
return true;
}
// Token: 0x0601618F RID: 90511 RVA: 0x0052845C File Offset: 0x0052665C
[Token(Token = "0x601618F")]
[Address(RVA = "0x11AA280", Offset = "0x11A9080", VA = "0x1811AA280")]
public CircuitNodeDisplay()
{
List<DOPNALIMPNA> list = new List();
this.OPPMKLPOGFB = list;
int num;
int num2;
OKNNKFGFODL oknnkfgfodl = new OKNNKFGFODL(32, num != 0, num2 != 0);
num2 = 0;
num = 0;
this.OnConnectionVisibilityChanged = oknnkfgfodl;
AOLMGGAPKEH aolmggapkeh = new AOLMGGAPKEH();
this.DFAOGPCPBBC = aolmggapkeh;
Dictionary<InputSlot, CircuitInputConnectionPoint> dictionary = new Dictionary();
this.InputSlotDisplays = dictionary;
Dictionary<OutputSlot, CircuitOutputConnectionPoint> dictionary2 = new Dictionary();
this.OutputSlotDisplays = dictionary2;
Dictionary<InputSlot, CircuitDefaultPinDisplay> dictionary3 = new Dictionary();
this.LIOPAOCKAGO = dictionary3;
this.JMPJKDAIFPN = true;
base..ctor();
}
// Token: 0x0400E7D2 RID: 59346
[Token(Token = "0x400E7D2")]
public static readonly List<CircuitNodeDisplay> AllDisplays = new List();
// Token: 0x0400E7D3 RID: 59347
[Token(Token = "0x400E7D3")]
public static readonly int IconTexScaleOffsetPropertyId = Shader.PropertyToID("_IconTexScaleOffset");
// Token: 0x0400E7D4 RID: 59348
[Token(Token = "0x400E7D4")]
public static readonly int PinMaskPropertyId = Shader.PropertyToID("_PinMask");
// Token: 0x0400E7D5 RID: 59349
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x400E7D5")]
protected readonly List<DOPNALIMPNA> OPPMKLPOGFB;
// Token: 0x0400E7D6 RID: 59350
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x400E7D6")]
private CircuitNode MBBJMCDGDMN;
// Token: 0x0400E7D8 RID: 59352
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x400E7D8")]
public OKNNKFGFODL OnConnectionVisibilityChanged;
// Token: 0x0400E7D9 RID: 59353
[FieldOffset(Offset = "0x60")]
[Token(Token = "0x400E7D9")]
private AOLMGGAPKEH DFAOGPCPBBC;
// Token: 0x0400E7DA RID: 59354
[FieldOffset(Offset = "0x68")]
[Token(Token = "0x400E7DA")]
public Dictionary<InputSlot, CircuitInputConnectionPoint> InputSlotDisplays;
// Token: 0x0400E7DB RID: 59355
[FieldOffset(Offset = "0x70")]
[Token(Token = "0x400E7DB")]
public Dictionary<OutputSlot, CircuitOutputConnectionPoint> OutputSlotDisplays;
// Token: 0x0400E7DC RID: 59356
[FieldOffset(Offset = "0x78")]
[Token(Token = "0x400E7DC")]
private Dictionary<InputSlot, CircuitDefaultPinDisplay> LIOPAOCKAGO;
// Token: 0x0400E7DD RID: 59357
[FieldOffset(Offset = "0x80")]
[Token(Token = "0x400E7DD")]
[SerializeField]
[Tooltip("Returns whether this is a \"simple\" node that represents a single circuit operation and nothing else. Simple nodes always use the circuit-specific instanced material.")]
private bool _isSimpleNode;
// Token: 0x0400E7DE RID: 59358
[FieldOffset(Offset = "0x81")]
[Token(Token = "0x400E7DE")]
[SerializeField]
[Tooltip("Returns whether this simple node should be disallowed from circuit boards")]
[OMAIFIIBMNL("IsSimpleNode", true)]
private bool _disallowedFromCircuitBoards;
// Token: 0x0400E7E0 RID: 59360
[FieldOffset(Offset = "0x83")]
[Token(Token = "0x400E7E0")]
[SerializeField]
[OMAIFIIBMNL("IsSimpleNode", false)]
[Tooltip("Returns whether this node should configure the circuit-specific instanced material")]
private bool _useCustomCircuitRendering;
// Token: 0x0400E7E1 RID: 59361
[FieldOffset(Offset = "0x84")]
[Token(Token = "0x400E7E1")]
[SerializeField]
private bool KeepOrientationOnPickup;
// Token: 0x0400E7E2 RID: 59362
[FieldOffset(Offset = "0x88")]
[Token(Token = "0x400E7E2")]
[SerializeField]
public CircuitNodeDisplay.InputSlotDisplayConfig[] inputSlotConfigs;
// Token: 0x0400E7E3 RID: 59363
[FieldOffset(Offset = "0x90")]
[Token(Token = "0x400E7E3")]
[SerializeField]
public CircuitNodeDisplay.OutputSlotDisplayConfig[] outputSlotConfigs;
// Token: 0x0400E7E4 RID: 59364
[FieldOffset(Offset = "0x98")]
[Token(Token = "0x400E7E4")]
[SerializeField]
[HideInInspector]
private int nodeId;
// Token: 0x0400E7E5 RID: 59365
[FieldOffset(Offset = "0x9C")]
[Token(Token = "0x400E7E5")]
private int? FHCDHDEAPAJ;
// Token: 0x0400E7E6 RID: 59366
[FieldOffset(Offset = "0xA8")]
[Token(Token = "0x400E7E6")]
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false, false)]
public Tool Tool;
// Token: 0x0400E7E7 RID: 59367
[FieldOffset(Offset = "0xB0")]
[Token(Token = "0x400E7E7")]
[SerializeField]
[HideInInspector]
private MeshRenderer circuitMeshRenderer;
// Token: 0x0400E7E8 RID: 59368
[FieldOffset(Offset = "0xB8")]
[Token(Token = "0x400E7E8")]
[SerializeField]
protected Sprite defaultCircuitLabelSprite;
// Token: 0x0400E7E9 RID: 59369
[FieldOffset(Offset = "0xC0")]
[Token(Token = "0x400E7E9")]
private MaterialPropertyBlock IGGDFHEGPHP;
// Token: 0x0400E7EA RID: 59370
[FieldOffset(Offset = "0xC8")]
[Token(Token = "0x400E7EA")]
private bool MFBIIAEFGPM;
// Token: 0x0400E7EB RID: 59371
[FieldOffset(Offset = "0xC9")]
[Token(Token = "0x400E7EB")]
private bool JKAJHDIFAEG;
// Token: 0x02003236 RID: 12854
[Token(Token = "0x2003236")]
[Serializable]
public class InputSlotDisplayConfig
{
// Token: 0x06016191 RID: 90513 RVA: 0x00528510 File Offset: 0x00526710
[Token(Token = "0x6016191")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
public InputSlotDisplayConfig()
{
}
// Token: 0x0400E7EC RID: 59372
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400E7EC")]
public InputSlot InputSlot;
// Token: 0x0400E7ED RID: 59373
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400E7ED")]
public CircuitInputConnectionPoint IOSlot;
}
// Token: 0x02003237 RID: 12855
[Token(Token = "0x2003237")]
[Serializable]
public class OutputSlotDisplayConfig
{
// Token: 0x06016192 RID: 90514 RVA: 0x00528524 File Offset: 0x00526724
[Token(Token = "0x6016192")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
public OutputSlotDisplayConfig()
{
}
// Token: 0x0400E7EE RID: 59374
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400E7EE")]
public OutputSlot OutputSlot;
// Token: 0x0400E7EF RID: 59375
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400E7EF")]
public CircuitOutputConnectionPoint IOSlot;
}
}
}