714 lines
25 KiB
C#
714 lines
25 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using Photon.Pun;
|
|
using RecRoom.Circuits;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Core.Creation.Circuits
|
|
{
|
|
// Token: 0x02003361 RID: 13153
|
|
[Token(Token = "0x2003361")]
|
|
public class StateMachineCircuitNodeDisplay : CircuitNodeDisplay
|
|
{
|
|
// Token: 0x17003E08 RID: 15880
|
|
// (get) Token: 0x06016799 RID: 92057 RVA: 0x005384E0 File Offset: 0x005366E0
|
|
[Token(Token = "0x17003E08")]
|
|
public IEnumerable<StateMachineState> EAPDJNJALJF
|
|
{
|
|
[Token(Token = "0x6016799")]
|
|
[Address(RVA = "0x179FA90", Offset = "0x179EA90", VA = "0x18179FA90")]
|
|
get
|
|
{
|
|
Dictionary<byte, StateMachineState>.ValueCollection values = this.NAMEBCGDEBO.Values;
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601679A RID: 92058 RVA: 0x00538500 File Offset: 0x00536700
|
|
[Token(Token = "0x601679A")]
|
|
[Address(RVA = "0x179C8E0", Offset = "0x179B8E0", VA = "0x18179C8E0", Slot = "13")]
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
this.BEFEOOKKMBC();
|
|
ConnectionPoint connectionPoint = this.mainConnectionPoint;
|
|
ConnectionPoint.JFKNKMKCFBI jfknkmkcfbi = new ConnectionPoint.JFKNKMKCFBI(this.FOLGJPHIDJD);
|
|
connectionPoint.PFACAJHLDON += jfknkmkcfbi;
|
|
}
|
|
|
|
// Token: 0x0601679B RID: 92059 RVA: 0x0053853C File Offset: 0x0053673C
|
|
[Token(Token = "0x601679B")]
|
|
[Address(RVA = "0x179F3F0", Offset = "0x179E3F0", VA = "0x18179F3F0", Slot = "24")]
|
|
protected override void Start()
|
|
{
|
|
base.Start();
|
|
Action<float> action = new Action(this.GAJIJLPDHNI);
|
|
IDisposable disposable = ADIFCODGAML.ICPMHNDIIFK(this, action);
|
|
}
|
|
|
|
// Token: 0x0601679C RID: 92060 RVA: 0x00538564 File Offset: 0x00536764
|
|
[Token(Token = "0x601679C")]
|
|
[Address(RVA = "0x179E680", Offset = "0x179D680", VA = "0x18179E680", Slot = "25")]
|
|
protected override void NDMHFAFLLOH(PhotonView KFONGPOFCDH)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
CircuitNode mbbjmcdgdmn = this.MBBJMCDGDMN;
|
|
if (mbbjmcdgdmn != 0)
|
|
{
|
|
Action action = new Action(this.NALFCOJPBPM);
|
|
mbbjmcdgdmn.NodeModifiedEvent -= action;
|
|
Action action2;
|
|
this.MBBJMCDGDMN.NodeDeserializedEvent -= action2;
|
|
}
|
|
if (SessionManager.KNLLGLBKAPD || !KKPBCOOONNK.BNNCCCFFALC)
|
|
{
|
|
break;
|
|
}
|
|
Dictionary<byte, StateMachineState> namebcgdebo = this.NAMEBCGDEBO;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
bool flag2;
|
|
while (!flag2)
|
|
{
|
|
}
|
|
int num2 = 0;
|
|
CreationObject creationObject;
|
|
if (creationObject != num2)
|
|
{
|
|
ObjectGroup <JOPKLANPAKD>k__BackingField = creationObject.<JOPKLANPAKD>k__BackingField;
|
|
int num3 = 0;
|
|
if (<JOPKLANPAKD>k__BackingField != num3)
|
|
{
|
|
creationObject.<JOPKLANPAKD>k__BackingField.EBFEEFGECAC(creationObject);
|
|
}
|
|
}
|
|
creationObject.RequestMasterDespawn();
|
|
}
|
|
}
|
|
while (num != 0);
|
|
this.NAMEBCGDEBO.Clear();
|
|
base.NDMHFAFLLOH(KFONGPOFCDH);
|
|
}
|
|
|
|
// Token: 0x0601679D RID: 92061 RVA: 0x00538624 File Offset: 0x00536824
|
|
[Token(Token = "0x601679D")]
|
|
[Address(RVA = "0x179ECA0", Offset = "0x179DCA0", VA = "0x18179ECA0", Slot = "26")]
|
|
public override void OnCircuitNodeInitialized(CircuitNode IKFLAODDALD)
|
|
{
|
|
base.OnCircuitNodeInitialized(IKFLAODDALD);
|
|
CircuitNode mbbjmcdgdmn = this.MBBJMCDGDMN;
|
|
if (mbbjmcdgdmn != 0)
|
|
{
|
|
Action action = new Action(this.NALFCOJPBPM);
|
|
mbbjmcdgdmn.NodeModifiedEvent += action;
|
|
Action action2;
|
|
this.MBBJMCDGDMN.NodeDeserializedEvent += action2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601679E RID: 92062 RVA: 0x0053866C File Offset: 0x0053686C
|
|
[Token(Token = "0x601679E")]
|
|
[Address(RVA = "0x179EC70", Offset = "0x179DC70", VA = "0x18179EC70", Slot = "27")]
|
|
public override void OnCircuitNodeDeserialized()
|
|
{
|
|
base..ctor();
|
|
this.FCBBFKOOCFO();
|
|
this.UpdateMetaData();
|
|
}
|
|
|
|
// Token: 0x17003E09 RID: 15881
|
|
// (get) Token: 0x0601679F RID: 92063 RVA: 0x0053868C File Offset: 0x0053688C
|
|
[Token(Token = "0x17003E09")]
|
|
public byte GENECNFMDHJ
|
|
{
|
|
[Token(Token = "0x601679F")]
|
|
[Address(RVA = "0x179FAE0", Offset = "0x179EAE0", VA = "0x18179FAE0")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0601679F)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte RecRoom.Core.Creation.Circuits.StateMachineCircuitNodeDisplay::get_CurrentState()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
brtrue(IL_00, ceq:bool(ldloc:CircuitNode(var_0_06), ldc.i4:int32[exp:CircuitNode](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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
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 1663
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060167A0 RID: 92064 RVA: 0x005386AC File Offset: 0x005368AC
|
|
[Token(Token = "0x60167A0")]
|
|
[Address(RVA = "0x179E9D0", Offset = "0x179D9D0", VA = "0x18179E9D0")]
|
|
private bool OCKPLBBLMNB(InputSlot POFOFFDCGCB)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
Dictionary<byte, StateMachineState> namebcgdebo = this.NAMEBCGDEBO;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
bool flag2;
|
|
if (flag2)
|
|
{
|
|
}
|
|
if (num != 0)
|
|
{
|
|
goto IL_3D;
|
|
}
|
|
while (1UL == (ulong)(-1L))
|
|
{
|
|
}
|
|
}
|
|
}
|
|
while (num != 0);
|
|
if (1UL != (ulong)(-1L))
|
|
{
|
|
return true;
|
|
}
|
|
throw new NullReferenceException();
|
|
IL_3D:
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060167A1 RID: 92065 RVA: 0x00538704 File Offset: 0x00536904
|
|
[Token(Token = "0x60167A1")]
|
|
[Address(RVA = "0x179F470", Offset = "0x179E470", VA = "0x18179F470")]
|
|
public bool TryGetAvailableInputSlot(out InputSlot ODBFIHLBANC)
|
|
{
|
|
if (this.OCKPLBBLMNB((InputSlot)((uint)9)))
|
|
{
|
|
}
|
|
ODBFIHLBANC.value__ = (int)((uint)9);
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x060167A2 RID: 92066 RVA: 0x0053872C File Offset: 0x0053692C
|
|
[Token(Token = "0x60167A2")]
|
|
[Address(RVA = "0x179C7E0", Offset = "0x179B7E0", VA = "0x18179C7E0")]
|
|
public void AddState(StateMachineState HJFCHNKAGIM)
|
|
{
|
|
Dictionary<byte, StateMachineState> namebcgdebo = this.NAMEBCGDEBO;
|
|
byte b = HJFCHNKAGIM.KEOGFFGJCFI.IAHDANBDAAM();
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060167A3 RID: 92067 RVA: 0x00538778 File Offset: 0x00536978
|
|
[Token(Token = "0x60167A3")]
|
|
[Address(RVA = "0x179ED70", Offset = "0x179DD70", VA = "0x18179ED70")]
|
|
public void RemoveState(StateMachineState GKNIHNHGBKC)
|
|
{
|
|
int num;
|
|
Predicate<StateMachineTransition> predicate;
|
|
for (;;)
|
|
{
|
|
num = 0;
|
|
if (KKPBCOOONNK.BNNCCCFFALC)
|
|
{
|
|
Dictionary<object, object> dictionary = new Dictionary();
|
|
}
|
|
Dictionary<byte, StateMachineState> namebcgdebo = this.NAMEBCGDEBO;
|
|
byte b = GKNIHNHGBKC.KEOGFFGJCFI.IAHDANBDAAM();
|
|
bool flag = namebcgdebo.Remove(b);
|
|
byte iedmbhpkfio = this.IEDMBHPKFIO;
|
|
byte b2 = GKNIHNHGBKC.KEOGFFGJCFI.IAHDANBDAAM();
|
|
if (iedmbhpkfio != b2)
|
|
{
|
|
goto IL_80;
|
|
}
|
|
Dictionary<byte, StateMachineState> namebcgdebo2 = this.NAMEBCGDEBO;
|
|
if (namebcgdebo2.Count != 0)
|
|
{
|
|
KeyValuePair<byte, StateMachineState> keyValuePair = Enumerable.First<KeyValuePair<byte, StateMachineState>>(namebcgdebo2);
|
|
byte b3;
|
|
this.IEDMBHPKFIO = b3;
|
|
}
|
|
this.IEDMBHPKFIO = (byte)num;
|
|
if (num != 0)
|
|
{
|
|
this.ModifyCircuitDefaultState(num);
|
|
goto IL_80;
|
|
}
|
|
IL_8C:
|
|
Dictionary<byte, StateMachineState> namebcgdebo3 = this.NAMEBCGDEBO;
|
|
bool flag2;
|
|
if (flag2)
|
|
{
|
|
predicate = new Predicate(new StateMachineState.BBEOALOEDMA
|
|
{
|
|
state = GKNIHNHGBKC
|
|
}.<RemoveTransitionToState>b__0);
|
|
StateMachineTransition stateMachineTransition;
|
|
if (!stateMachineTransition)
|
|
{
|
|
continue;
|
|
}
|
|
stateMachineTransition.Clear();
|
|
GameObject gameObject = stateMachineTransition.gameObject;
|
|
int num2 = 0;
|
|
OMCHJHPFBDN.KGFPNIMJHIC(gameObject);
|
|
while (num == 0)
|
|
{
|
|
}
|
|
this.ModifyCircuitStateTransitions(num2, num);
|
|
}
|
|
if (0 == 0)
|
|
{
|
|
break;
|
|
}
|
|
continue;
|
|
IL_80:
|
|
if (num != 0)
|
|
{
|
|
this.ModifyCircuitStateTransitions(GKNIHNHGBKC, num);
|
|
goto IL_8C;
|
|
}
|
|
goto IL_8C;
|
|
}
|
|
if (num != 0)
|
|
{
|
|
if (predicate == 0)
|
|
{
|
|
Dictionary<object, object> dictionary2 = new Dictionary();
|
|
}
|
|
byte b4 = GKNIHNHGBKC.KEOGFFGJCFI.IAHDANBDAAM();
|
|
int num3 = 0;
|
|
int modifyArg = StateMachineNode.GetModifyArg(StateMachineNode.ModifyCommands.RemovedState, b4, (byte)num3);
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060167A4 RID: 92068 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x60167A4")]
|
|
[Address(RVA = "0x179DAB0", Offset = "0x179CAB0", VA = "0x18179DAB0")]
|
|
public bool IsStateRemoved(byte NBEPPOHDIFB)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x060167A5 RID: 92069 RVA: 0x005388E4 File Offset: 0x00536AE4
|
|
[Token(Token = "0x60167A5")]
|
|
[Address(RVA = "0x179D020", Offset = "0x179C020", VA = "0x18179D020")]
|
|
public bool CanAddState()
|
|
{
|
|
return this.NAMEBCGDEBO.Count < 30;
|
|
}
|
|
|
|
// Token: 0x060167A6 RID: 92070 RVA: 0x00538908 File Offset: 0x00536B08
|
|
[Token(Token = "0x60167A6")]
|
|
[Address(RVA = "0x179DA30", Offset = "0x179CA30", VA = "0x18179DA30")]
|
|
public byte GetAvailableStateIndex()
|
|
{
|
|
Dictionary<byte, StateMachineState> namebcgdebo = this.NAMEBCGDEBO;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060167A7 RID: 92071 RVA: 0x00538934 File Offset: 0x00536B34
|
|
[Token(Token = "0x60167A7")]
|
|
[Address(RVA = "0x179D7D0", Offset = "0x179C7D0", VA = "0x18179D7D0")]
|
|
private void FOLGJPHIDJD(ConnectionPoint HDPMJFANOPG, ConnectionPoint GFMAOEPEFKD, [Optional] ConnectionPoint.PGHEPJALOOK CEAGPJIOMJP)
|
|
{
|
|
ConnectionPoint connectionPoint = this.mainConnectionPoint;
|
|
if (!(HDPMJFANOPG == connectionPoint))
|
|
{
|
|
ConnectionPoint connectionPoint2 = this.mainConnectionPoint;
|
|
if (!(GFMAOEPEFKD == connectionPoint2))
|
|
{
|
|
goto IL_30;
|
|
}
|
|
}
|
|
StateMachineState componentInParent = GFMAOEPEFKD.gameObject.GetComponentInParent<StateMachineState>();
|
|
IL_30:
|
|
if (componentInParent)
|
|
{
|
|
PhotonView photonView = base.JDHMIOJKLCK;
|
|
DGLOJCGDOGG.LFLFMIMNCON<StateMachineState> lflfmimncon = new DGLOJCGDOGG.LFLFMIMNCON(this.RpcMasterRequestSetDefaultState);
|
|
photonView.RpcMaster<StateMachineState>(lflfmimncon, componentInParent);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060167A8 RID: 92072 RVA: 0x005389A0 File Offset: 0x00536BA0
|
|
[Token(Token = "0x60167A8")]
|
|
[Address(RVA = "0x179F380", Offset = "0x179E380", VA = "0x18179F380")]
|
|
[NFOMENMAOIA]
|
|
protected void RpcMasterRequestSetDefaultState(StateMachineState GKNIHNHGBKC)
|
|
{
|
|
if (KKPBCOOONNK.BNNCCCFFALC)
|
|
{
|
|
this.FFFCEAGILEF(GKNIHNHGBKC);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060167A9 RID: 92073 RVA: 0x005389C0 File Offset: 0x00536BC0
|
|
[Token(Token = "0x60167A9")]
|
|
[Address(RVA = "0x179D600", Offset = "0x179C600", VA = "0x18179D600")]
|
|
private void FFFCEAGILEF(StateMachineState GKNIHNHGBKC)
|
|
{
|
|
KCMNCAFFHJG<StateMachineCircuitNodeDisplay> mladcmjbcfa2;
|
|
do
|
|
{
|
|
KCMNCAFFHJG<StateMachineCircuitNodeDisplay> mladcmjbcfa = GKNIHNHGBKC.MLADCMJBCFA;
|
|
int num = 0;
|
|
if (mladcmjbcfa != 0)
|
|
{
|
|
StateMachineCircuitNodeDisplay stateMachineCircuitNodeDisplay = mladcmjbcfa.IAHDANBDAAM(true);
|
|
}
|
|
int num2 = 0;
|
|
if (num == num2 && this.NAMEBCGDEBO.Count < 30)
|
|
{
|
|
int num3 = 0;
|
|
GKNIHNHGBKC.SetupOwner(this, num3 != 0);
|
|
}
|
|
mladcmjbcfa2 = GKNIHNHGBKC.MLADCMJBCFA;
|
|
}
|
|
while (mladcmjbcfa2 == 0);
|
|
if (mladcmjbcfa2.IAHDANBDAAM(true) == this)
|
|
{
|
|
byte b = GKNIHNHGBKC.KEOGFFGJCFI.IAHDANBDAAM();
|
|
this.IEDMBHPKFIO = b;
|
|
int num4 = 0;
|
|
this.ModifyCircuitDefaultState(num4);
|
|
this.BEFEOOKKMBC();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060167AA RID: 92074 RVA: 0x00538A54 File Offset: 0x00536C54
|
|
[Token(Token = "0x60167AA")]
|
|
[Address(RVA = "0x179C980", Offset = "0x179B980", VA = "0x18179C980")]
|
|
private void BEFEOOKKMBC()
|
|
{
|
|
Dictionary<byte, StateMachineState> namebcgdebo = this.NAMEBCGDEBO;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060167AB RID: 92075 RVA: 0x00538B88 File Offset: 0x00536D88
|
|
[Token(Token = "0x60167AB")]
|
|
[Address(RVA = "0x179D960", Offset = "0x179C960", VA = "0x18179D960")]
|
|
private void GAJIJLPDHNI(float POGAEJIEPIM)
|
|
{
|
|
byte currentState = this.GENECNFMDHJ;
|
|
byte ieepdnjkecm = this.IEEPDNJKECM;
|
|
if (currentState != ieepdnjkecm)
|
|
{
|
|
Dictionary<byte, StateMachineState> namebcgdebo = this.NAMEBCGDEBO;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
byte currentState2 = this.GENECNFMDHJ;
|
|
Dictionary<byte, StateMachineState> namebcgdebo2 = this.NAMEBCGDEBO;
|
|
this.IEEPDNJKECM = currentState2;
|
|
bool flag2;
|
|
if (flag2)
|
|
{
|
|
}
|
|
}
|
|
this.BEFEOOKKMBC();
|
|
}
|
|
|
|
// Token: 0x060167AC RID: 92076 RVA: 0x00538BDC File Offset: 0x00536DDC
|
|
[Token(Token = "0x60167AC")]
|
|
[Address(RVA = "0x179E670", Offset = "0x179D670", VA = "0x18179E670")]
|
|
private void NALFCOJPBPM()
|
|
{
|
|
this.FCBBFKOOCFO();
|
|
}
|
|
|
|
// Token: 0x060167AD RID: 92077 RVA: 0x00538BF0 File Offset: 0x00536DF0
|
|
[Token(Token = "0x60167AD")]
|
|
[Address(RVA = "0x179D450", Offset = "0x179C450", VA = "0x18179D450")]
|
|
private void FCBBFKOOCFO()
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
CircuitNode mbbjmcdgdmn = this.MBBJMCDGDMN;
|
|
if (mbbjmcdgdmn == 0 || mbbjmcdgdmn == 0)
|
|
{
|
|
break;
|
|
}
|
|
this.IEDMBHPKFIO = mbbjmcdgdmn;
|
|
Dictionary<byte, StateMachineState> namebcgdebo = this.NAMEBCGDEBO;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x060167AE RID: 92078 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x60167AE")]
|
|
[Address(RVA = "0x179D070", Offset = "0x179C070", VA = "0x18179D070")]
|
|
public void CreateStateTransitionsForDeserializedState(StateMachineState HJFCHNKAGIM)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x060167AF RID: 92079 RVA: 0x00538C30 File Offset: 0x00536E30
|
|
[Token(Token = "0x60167AF")]
|
|
[Address(RVA = "0x179F560", Offset = "0x179E560", VA = "0x18179F560")]
|
|
public void UpdateStateTransitionsForState(StateMachineState GKNIHNHGBKC)
|
|
{
|
|
for (;;)
|
|
{
|
|
int num = 0;
|
|
CircuitNode mbbjmcdgdmn = this.MBBJMCDGDMN;
|
|
if (mbbjmcdgdmn == 0 || mbbjmcdgdmn == 0)
|
|
{
|
|
return;
|
|
}
|
|
List<StateMachineTransition> list = new List();
|
|
List<StateMachineTransition> outboundTransitions = GKNIHNHGBKC.outboundTransitions;
|
|
list.AddRange(outboundTransitions);
|
|
byte b = GKNIHNHGBKC.KEOGFFGJCFI.IAHDANBDAAM();
|
|
byte b2;
|
|
if (num < (int)b2)
|
|
{
|
|
break;
|
|
}
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
List<StateMachineTransition> outboundTransitions2 = GKNIHNHGBKC.outboundTransitions;
|
|
GameObject gameObject;
|
|
OMCHJHPFBDN.KGFPNIMJHIC(gameObject);
|
|
}
|
|
if (num == 0)
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
Dictionary<byte, StateMachineState> namebcgdebo = this.NAMEBCGDEBO;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060167B0 RID: 92080 RVA: 0x00538D1C File Offset: 0x00536F1C
|
|
[Token(Token = "0x60167B0")]
|
|
[Address(RVA = "0x179C6B0", Offset = "0x179B6B0", VA = "0x18179C6B0")]
|
|
private byte AFKJFIACCML()
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
int num2 = 0;
|
|
Dictionary<byte, StateMachineState> namebcgdebo = this.NAMEBCGDEBO;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
while ((flag ? 1 : 0) <= num2)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
while (num != 0);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060167B1 RID: 92081 RVA: 0x00538D48 File Offset: 0x00536F48
|
|
[Token(Token = "0x60167B1")]
|
|
[Address(RVA = "0x179E2A0", Offset = "0x179D2A0", VA = "0x18179E2A0")]
|
|
public void ModifyCircuitStateValues(StateMachineState GKNIHNHGBKC, [Optional] Dictionary<object, object> PDMCNLBFLOB)
|
|
{
|
|
if (PDMCNLBFLOB == 0)
|
|
{
|
|
Dictionary<object, object> dictionary = new Dictionary();
|
|
}
|
|
byte b = GKNIHNHGBKC.KEOGFFGJCFI.IAHDANBDAAM();
|
|
int num = 0;
|
|
int modifyArg = StateMachineNode.GetModifyArg(StateMachineNode.ModifyCommands.StateVal1, b, (byte)num);
|
|
int val = GKNIHNHGBKC.val1;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060167B2 RID: 92082 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x60167B2")]
|
|
[Address(RVA = "0x179DF80", Offset = "0x179CF80", VA = "0x18179DF80")]
|
|
public void ModifyCircuitStateTransitions(StateMachineState GKNIHNHGBKC, [Optional] Dictionary<object, object> PDMCNLBFLOB)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x060167B3 RID: 92083 RVA: 0x00538E1C File Offset: 0x0053701C
|
|
[Token(Token = "0x60167B3")]
|
|
[Address(RVA = "0x179DE00", Offset = "0x179CE00", VA = "0x18179DE00")]
|
|
public void ModifyCircuitRemoveState(StateMachineState GKNIHNHGBKC, [Optional] Dictionary<object, object> PDMCNLBFLOB)
|
|
{
|
|
if (PDMCNLBFLOB == 0)
|
|
{
|
|
Dictionary<object, object> dictionary = new Dictionary();
|
|
}
|
|
byte b = GKNIHNHGBKC.KEOGFFGJCFI.IAHDANBDAAM();
|
|
int num = 0;
|
|
int modifyArg = StateMachineNode.GetModifyArg(StateMachineNode.ModifyCommands.RemovedState, b, (byte)num);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060167B4 RID: 92084 RVA: 0x00538E84 File Offset: 0x00537084
|
|
[Token(Token = "0x60167B4")]
|
|
[Address(RVA = "0x179DBA0", Offset = "0x179CBA0", VA = "0x18179DBA0")]
|
|
public void ModifyCircuitAddState(StateMachineState GKNIHNHGBKC, [Optional] Dictionary<object, object> PDMCNLBFLOB)
|
|
{
|
|
if (PDMCNLBFLOB == 0)
|
|
{
|
|
Dictionary<object, object> dictionary = new Dictionary();
|
|
}
|
|
byte b = GKNIHNHGBKC.KEOGFFGJCFI.IAHDANBDAAM();
|
|
int num = 0;
|
|
int modifyArg = StateMachineNode.GetModifyArg(StateMachineNode.ModifyCommands.RemovedState, b, (byte)num);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060167B5 RID: 92085 RVA: 0x00538EEC File Offset: 0x005370EC
|
|
[Token(Token = "0x60167B5")]
|
|
[Address(RVA = "0x179DD20", Offset = "0x179CD20", VA = "0x18179DD20")]
|
|
public void ModifyCircuitDefaultState([Optional] Dictionary<object, object> PDMCNLBFLOB)
|
|
{
|
|
if (PDMCNLBFLOB == 0)
|
|
{
|
|
Dictionary<object, object> dictionary = new Dictionary();
|
|
}
|
|
int num = 0;
|
|
int num2 = 0;
|
|
int modifyArg = StateMachineNode.GetModifyArg(StateMachineNode.ModifyCommands.DefaultState, (byte)num, (byte)num2);
|
|
byte iedmbhpkfio = this.IEDMBHPKFIO;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060167B6 RID: 92086 RVA: 0x00538F30 File Offset: 0x00537130
|
|
[Token(Token = "0x60167B6")]
|
|
[Address(RVA = "0x179E570", Offset = "0x179D570", VA = "0x18179E570")]
|
|
public void ModifyCircuit(Dictionary<object, object> PDMCNLBFLOB)
|
|
{
|
|
CircuitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
int num = 0;
|
|
if (!(instance == num))
|
|
{
|
|
CircuitManager instance2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
int <NodeId>k__BackingField = this.MBBJMCDGDMN.<NodeId>k__BackingField;
|
|
instance2.RequestMasterModifyNode(<NodeId>k__BackingField, PDMCNLBFLOB);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060167B7 RID: 92087 RVA: 0x00538F70 File Offset: 0x00537170
|
|
[Token(Token = "0x60167B7")]
|
|
[Address(RVA = "0x179F4E0", Offset = "0x179E4E0", VA = "0x18179F4E0")]
|
|
public void UpdateMetaData()
|
|
{
|
|
CircuitNode mbbjmcdgdmn = this.MBBJMCDGDMN;
|
|
if (mbbjmcdgdmn != 0 && mbbjmcdgdmn != 0)
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060167B8 RID: 92088 RVA: 0x00538F90 File Offset: 0x00537190
|
|
[Token(Token = "0x60167B8")]
|
|
[Address(RVA = "0x179FA10", Offset = "0x179EA10", VA = "0x18179FA10")]
|
|
public StateMachineCircuitNodeDisplay()
|
|
{
|
|
Dictionary<byte, StateMachineState> dictionary = new Dictionary();
|
|
this.NAMEBCGDEBO = dictionary;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x0400EAF1 RID: 60145
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x400EAF1")]
|
|
[SerializeField]
|
|
private ConnectionPoint mainConnectionPoint;
|
|
|
|
// Token: 0x0400EAF2 RID: 60146
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x400EAF2")]
|
|
[SerializeField]
|
|
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
|
private LineRenderer startStateLine;
|
|
|
|
// Token: 0x0400EAF3 RID: 60147
|
|
[Token(Token = "0x400EAF3")]
|
|
public const byte INVALID_STATE = 255;
|
|
|
|
// Token: 0x0400EAF4 RID: 60148
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xE8")]
|
|
[Token(Token = "0x400EAF4")]
|
|
private byte IEDMBHPKFIO;
|
|
|
|
// Token: 0x0400EAF5 RID: 60149
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xF0")]
|
|
[Token(Token = "0x400EAF5")]
|
|
private Dictionary<byte, StateMachineState> NAMEBCGDEBO;
|
|
|
|
// Token: 0x0400EAF6 RID: 60150
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xF8")]
|
|
[Token(Token = "0x400EAF6")]
|
|
private Vector3 MFJCOKDCPGA;
|
|
|
|
// Token: 0x0400EAF7 RID: 60151
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x104")]
|
|
[Token(Token = "0x400EAF7")]
|
|
private Vector3 BJLGAHFPCHC;
|
|
|
|
// Token: 0x0400EAF8 RID: 60152
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x110")]
|
|
[Token(Token = "0x400EAF8")]
|
|
private byte IEEPDNJKECM;
|
|
|
|
// Token: 0x02003362 RID: 13154
|
|
[Token(Token = "0x2003362")]
|
|
[CompilerGenerated]
|
|
private sealed class BOPDCEADNLE
|
|
{
|
|
// Token: 0x060167B9 RID: 92089 RVA: 0x00538FB0 File Offset: 0x005371B0
|
|
[Token(Token = "0x60167B9")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
public BOPDCEADNLE()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060167BA RID: 92090 RVA: 0x00538FC4 File Offset: 0x005371C4
|
|
[Token(Token = "0x60167BA")]
|
|
[Address(RVA = "0x1791930", Offset = "0x1790930", VA = "0x181791930")]
|
|
internal bool <UpdateStateTransitionsForState>b__0(StateMachineTransition elem)
|
|
{
|
|
StateMachineState to = elem.to;
|
|
StateMachineState stateMachineState = this.toState;
|
|
return to == stateMachineState;
|
|
}
|
|
|
|
// Token: 0x0400EAF9 RID: 60153
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400EAF9")]
|
|
public StateMachineState toState;
|
|
}
|
|
}
|
|
}
|