scripts
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace RecRoom.CircuitsV2.Adapter
|
||||
{
|
||||
// Token: 0x02002373 RID: 9075
|
||||
[Token(Token = "0x2002373")]
|
||||
[Serializable]
|
||||
[StructLayout(3, Size = 4)]
|
||||
public enum ChipKey
|
||||
{
|
||||
// Token: 0x0400A74F RID: 42831
|
||||
[Token(Token = "0x400A74F")]
|
||||
Execution,
|
||||
// Token: 0x0400A750 RID: 42832
|
||||
[Token(Token = "0x400A750")]
|
||||
Circuit,
|
||||
// Token: 0x0400A751 RID: 42833
|
||||
[Token(Token = "0x400A751")]
|
||||
EventSender,
|
||||
// Token: 0x0400A752 RID: 42834
|
||||
[Token(Token = "0x400A752")]
|
||||
EventReceiver,
|
||||
// Token: 0x0400A753 RID: 42835
|
||||
[Token(Token = "0x400A753")]
|
||||
EventDefinition,
|
||||
// Token: 0x0400A754 RID: 42836
|
||||
[Token(Token = "0x400A754")]
|
||||
Variable,
|
||||
// Token: 0x0400A755 RID: 42837
|
||||
[Token(Token = "0x400A755")]
|
||||
ControlPanel
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace RecRoom.CircuitsV2.Adapter
|
||||
{
|
||||
// Token: 0x02002376 RID: 9078
|
||||
[Token(Token = "0x2002376")]
|
||||
[Serializable]
|
||||
[StructLayout(3, Size = 4)]
|
||||
public enum IOKind
|
||||
{
|
||||
// Token: 0x0400A757 RID: 42839
|
||||
[Token(Token = "0x400A757")]
|
||||
Input,
|
||||
// Token: 0x0400A758 RID: 42840
|
||||
[Token(Token = "0x400A758")]
|
||||
Output
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,913 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using CircuitsV2.Graph;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.CircuitsV2.Adapter
|
||||
{
|
||||
// Token: 0x0200237E RID: 9086
|
||||
[Token(Token = "0x200237E")]
|
||||
[Serializable]
|
||||
[StructLayout(3)]
|
||||
public sealed class MockChipAdapter : KJDOCKDBNCK
|
||||
{
|
||||
// Token: 0x17002AB4 RID: 10932
|
||||
// (get) Token: 0x0600FBB3 RID: 64435 RVA: 0x003B171C File Offset: 0x003AF91C
|
||||
[Token(Token = "0x17002AB4")]
|
||||
public string ChipName
|
||||
{
|
||||
[Token(Token = "0x600FBB3")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.chipName;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AB5 RID: 10933
|
||||
// (get) Token: 0x0600FBB4 RID: 64436 RVA: 0x003B1730 File Offset: 0x003AF930
|
||||
[Token(Token = "0x17002AB5")]
|
||||
public CircuitGraphObject InnerObject
|
||||
{
|
||||
[Token(Token = "0x600FBB4")]
|
||||
[Address(RVA = "0x3F8880", Offset = "0x3F7280", VA = "0x1803F8880", Slot = "4")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AB6 RID: 10934
|
||||
// (get) Token: 0x0600FBB5 RID: 64437 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x17002AB6")]
|
||||
public Guid ContextId
|
||||
{
|
||||
[Token(Token = "0x600FBB5")]
|
||||
[Address(RVA = "0x1062610", Offset = "0x1061010", VA = "0x181062610", Slot = "5")]
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AB7 RID: 10935
|
||||
// (get) Token: 0x0600FBB6 RID: 64438 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x17002AB7")]
|
||||
public Guid Id
|
||||
{
|
||||
[Token(Token = "0x600FBB6")]
|
||||
[Address(RVA = "0x1075450", Offset = "0x1073E50", VA = "0x181075450", Slot = "6")]
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AB8 RID: 10936
|
||||
// (get) Token: 0x0600FBB7 RID: 64439 RVA: 0x003B1740 File Offset: 0x003AF940
|
||||
// (set) Token: 0x0600FBB8 RID: 64440 RVA: 0x003B1754 File Offset: 0x003AF954
|
||||
[Token(Token = "0x17002AB8")]
|
||||
public string Name
|
||||
{
|
||||
[Token(Token = "0x600FBB7")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.chipName;
|
||||
}
|
||||
[Token(Token = "0x600FBB8")]
|
||||
[Address(RVA = "0x1A877B0", Offset = "0x1A861B0", VA = "0x181A877B0")]
|
||||
set
|
||||
{
|
||||
this.chipName = value;
|
||||
Action onChanged = this.OnChanged;
|
||||
if (onChanged != 0)
|
||||
{
|
||||
onChanged();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AB9 RID: 10937
|
||||
// (get) Token: 0x0600FBB9 RID: 64441 RVA: 0x003B177C File Offset: 0x003AF97C
|
||||
[Token(Token = "0x17002AB9")]
|
||||
public string StaticName
|
||||
{
|
||||
[Token(Token = "0x600FBB9")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.staticName;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002ABA RID: 10938
|
||||
// (get) Token: 0x0600FBBA RID: 64442 RVA: 0x003B1790 File Offset: 0x003AF990
|
||||
[Token(Token = "0x17002ABA")]
|
||||
public ChipKey Key
|
||||
{
|
||||
[Token(Token = "0x600FBBA")]
|
||||
[Address(RVA = "0x4FBD40", Offset = "0x4FA740", VA = "0x1804FBD40", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return this.key;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002ABB RID: 10939
|
||||
// (get) Token: 0x0600FBBB RID: 64443 RVA: 0x003B17A4 File Offset: 0x003AF9A4
|
||||
[Token(Token = "0x17002ABB")]
|
||||
public bool HasInnerContext
|
||||
{
|
||||
[Token(Token = "0x600FBBB")]
|
||||
[Address(RVA = "0x4D2560", Offset = "0x4D0F60", VA = "0x1804D2560", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return this.hasInnerContext;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002ABC RID: 10940
|
||||
// (get) Token: 0x0600FBBC RID: 64444 RVA: 0x003B17B8 File Offset: 0x003AF9B8
|
||||
[Token(Token = "0x17002ABC")]
|
||||
public IReadOnlyList<DBFIKIGBNOD> NodeGroups
|
||||
{
|
||||
[Token(Token = "0x600FBBC")]
|
||||
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230", Slot = "11")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600FBBC)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IReadOnlyList`1<DBFIKIGBNOD> RecRoom.CircuitsV2.Adapter.MockChipAdapter::get_NodeGroups()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:class [mscorlib]System.Collections.Generic.List`1<class RecRoom.CircuitsV2.Adapter.MockNodeGroupAdapter>(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1<class RecRoom.CircuitsV2.Adapter.MockNodeGroupAdapter>(MockChipAdapter::nodeGroups, ldloc:MockChipAdapter(this)))
|
||||
}
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002ABD RID: 10941
|
||||
// (get) Token: 0x0600FBBD RID: 64445 RVA: 0x003B17CC File Offset: 0x003AF9CC
|
||||
[Token(Token = "0x17002ABD")]
|
||||
public Vector3 LocalPosition
|
||||
{
|
||||
[Token(Token = "0x600FBBD")]
|
||||
[Address(RVA = "0x1A876E0", Offset = "0x1A860E0", VA = "0x181A876E0", Slot = "12")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600FBBD)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Vector3 RecRoom.CircuitsV2.Adapter.MockChipAdapter::get_LocalPosition()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:float32(var_0_0A, ldfld:float32(Vector3::z, callgetter:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](Vector3::get_zero)))
|
||||
}
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FBBE RID: 64446 RVA: 0x003B17E4 File Offset: 0x003AF9E4
|
||||
[Token(Token = "0x600FBBE")]
|
||||
[Address(RVA = "0x1A875D0", Offset = "0x1A85FD0", VA = "0x181A875D0", Slot = "17")]
|
||||
public void PPKMAPJACFF(Vector3 ONGBFDACHHG, bool OLOCEEFHEDN = false)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600FBBE)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RecRoom.CircuitsV2.Adapter.MockChipAdapter::PPKMAPJACFF(UnityEngine.Vector3,System.Boolean)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotImplementedException(var_0_05, newobj:NotImplementedException(NotImplementedException::.ctor))
|
||||
}
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17002ABE RID: 10942
|
||||
// (get) Token: 0x0600FBBF RID: 64447 RVA: 0x003B17F8 File Offset: 0x003AF9F8
|
||||
[Token(Token = "0x17002ABE")]
|
||||
public Quaternion LocalRotation
|
||||
{
|
||||
[Token(Token = "0x600FBBF")]
|
||||
[Address(RVA = "0x1A87750", Offset = "0x1A86150", VA = "0x181A87750", Slot = "18")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600FBBF)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Quaternion RecRoom.CircuitsV2.Adapter.MockChipAdapter::get_LocalRotation()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:Quaternion(var_0_05, callgetter:Quaternion(Quaternion::get_identity))
|
||||
}
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002ABF RID: 10943
|
||||
// (get) Token: 0x0600FBC0 RID: 64448 RVA: 0x003B180C File Offset: 0x003AFA0C
|
||||
[Token(Token = "0x17002ABF")]
|
||||
public bool IsRegisteredToEvent
|
||||
{
|
||||
[Token(Token = "0x600FBC0")]
|
||||
[Address(RVA = "0x4D2590", Offset = "0x4D0F90", VA = "0x1804D2590", Slot = "13")]
|
||||
get
|
||||
{
|
||||
return this.isRegisteredToEvent;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AC0 RID: 10944
|
||||
// (get) Token: 0x0600FBC1 RID: 64449 RVA: 0x003B1820 File Offset: 0x003AFA20
|
||||
[Token(Token = "0x17002AC0")]
|
||||
public bool IsControlPanel
|
||||
{
|
||||
[Token(Token = "0x600FBC1")]
|
||||
[Address(RVA = "0x1A876D0", Offset = "0x1A860D0", VA = "0x181A876D0", Slot = "14")]
|
||||
get
|
||||
{
|
||||
return this.key == ChipKey.ControlPanel;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AC1 RID: 10945
|
||||
// (get) Token: 0x0600FBC2 RID: 64450 RVA: 0x003B1838 File Offset: 0x003AFA38
|
||||
[Token(Token = "0x17002AC1")]
|
||||
public bool IsSyncVariable
|
||||
{
|
||||
[Token(Token = "0x600FBC2")]
|
||||
[Address(RVA = "0x4D2580", Offset = "0x4D0F80", VA = "0x1804D2580", Slot = "15")]
|
||||
get
|
||||
{
|
||||
return this.isSyncVariable;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AC2 RID: 10946
|
||||
// (get) Token: 0x0600FBC3 RID: 64451 RVA: 0x003B184C File Offset: 0x003AFA4C
|
||||
[Token(Token = "0x17002AC2")]
|
||||
public bool CanClone
|
||||
{
|
||||
[Token(Token = "0x600FBC3")]
|
||||
[Address(RVA = "0x4D24E0", Offset = "0x4D0EE0", VA = "0x1804D24E0", Slot = "16")]
|
||||
get
|
||||
{
|
||||
return this.canClone;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FBC4 RID: 64452 RVA: 0x003B1860 File Offset: 0x003AFA60
|
||||
[Token(Token = "0x600FBC4")]
|
||||
[Address(RVA = "0x1A86E20", Offset = "0x1A85820", VA = "0x181A86E20", Slot = "19")]
|
||||
public void ENAPPICIPDG(Quaternion ONGBFDACHHG, bool OLOCEEFHEDN = false)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600FBC4)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RecRoom.CircuitsV2.Adapter.MockChipAdapter::ENAPPICIPDG(UnityEngine.Quaternion,System.Boolean)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotImplementedException(var_0_05, newobj:NotImplementedException(NotImplementedException::.ctor))
|
||||
}
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600FBC5 RID: 64453 RVA: 0x003B1874 File Offset: 0x003AFA74
|
||||
[Token(Token = "0x600FBC5")]
|
||||
[Address(RVA = "0x1A87160", Offset = "0x1A85B60", VA = "0x181A87160", Slot = "20")]
|
||||
public void IOOMJOJPGAP(Vector3? DDHPAFKBMON, Quaternion? IGPENJBJADK)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600FBC5)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RecRoom.CircuitsV2.Adapter.MockChipAdapter::IOOMJOJPGAP(System.Nullable`1<UnityEngine.Vector3>,System.Nullable`1<UnityEngine.Quaternion>)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:NotImplementedException(var_0_05, newobj:NotImplementedException(NotImplementedException::.ctor))
|
||||
}
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x1400012F RID: 303
|
||||
// (add) Token: 0x0600FBC6 RID: 64454 RVA: 0x003B1888 File Offset: 0x003AFA88
|
||||
// (remove) Token: 0x0600FBC7 RID: 64455 RVA: 0x003B18B0 File Offset: 0x003AFAB0
|
||||
[Token(Token = "0x1400012F")]
|
||||
public event Action JCLLONJPGKG
|
||||
{
|
||||
[Token(Token = "0x600FBC6")]
|
||||
[Address(RVA = "0x1A86CE0", Offset = "0x1A856E0", VA = "0x181A86CE0", Slot = "21")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
Action onChanged;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onChanged = this.OnChanged;
|
||||
@delegate = Delegate.Combine(onChanged, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onChanged)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x600FBC7")]
|
||||
[Address(RVA = "0x1A86B00", Offset = "0x1A85500", VA = "0x181A86B00", Slot = "22")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
Action onChanged;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onChanged = this.OnChanged;
|
||||
@delegate = Delegate.Remove(onChanged, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onChanged)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x14000130 RID: 304
|
||||
// (add) Token: 0x0600FBC8 RID: 64456 RVA: 0x003B18D8 File Offset: 0x003AFAD8
|
||||
// (remove) Token: 0x0600FBC9 RID: 64457 RVA: 0x003B1900 File Offset: 0x003AFB00
|
||||
[Token(Token = "0x14000130")]
|
||||
public event Action<Vector3> MDDBOFIDMIG
|
||||
{
|
||||
[Token(Token = "0x600FBC8")]
|
||||
[Address(RVA = "0x1A86FB0", Offset = "0x1A859B0", VA = "0x181A86FB0", Slot = "23")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
Action<Vector3> onPositionChanged;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onPositionChanged = this.OnPositionChanged;
|
||||
@delegate = Delegate.Combine(onPositionChanged, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onPositionChanged)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x600FBC9")]
|
||||
[Address(RVA = "0x1A873F0", Offset = "0x1A85DF0", VA = "0x181A873F0", Slot = "24")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
Action<Vector3> onPositionChanged;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onPositionChanged = this.OnPositionChanged;
|
||||
@delegate = Delegate.Remove(onPositionChanged, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onPositionChanged)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x14000131 RID: 305
|
||||
// (add) Token: 0x0600FBCA RID: 64458 RVA: 0x003B1928 File Offset: 0x003AFB28
|
||||
// (remove) Token: 0x0600FBCB RID: 64459 RVA: 0x003B1950 File Offset: 0x003AFB50
|
||||
[Token(Token = "0x14000131")]
|
||||
public event Action<Quaternion> EANFAHIJEFE
|
||||
{
|
||||
[Token(Token = "0x600FBCA")]
|
||||
[Address(RVA = "0x1A87490", Offset = "0x1A85E90", VA = "0x181A87490", Slot = "25")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
Action<Quaternion> onRotationChanged;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onRotationChanged = this.OnRotationChanged;
|
||||
@delegate = Delegate.Combine(onRotationChanged, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onRotationChanged)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x600FBCB")]
|
||||
[Address(RVA = "0x1A868A0", Offset = "0x1A852A0", VA = "0x181A868A0", Slot = "26")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
Action<Quaternion> onRotationChanged;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onRotationChanged = this.OnRotationChanged;
|
||||
@delegate = Delegate.Remove(onRotationChanged, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onRotationChanged)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x14000132 RID: 306
|
||||
// (add) Token: 0x0600FBCC RID: 64460 RVA: 0x003B1978 File Offset: 0x003AFB78
|
||||
// (remove) Token: 0x0600FBCD RID: 64461 RVA: 0x003B19A0 File Offset: 0x003AFBA0
|
||||
[Token(Token = "0x14000132")]
|
||||
public event Action GGNFABAPBKD
|
||||
{
|
||||
[Token(Token = "0x600FBCC")]
|
||||
[Address(RVA = "0x1A86F10", Offset = "0x1A85910", VA = "0x181A86F10", Slot = "27")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
Action onInnerObjectDestroyed;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onInnerObjectDestroyed = this.OnInnerObjectDestroyed;
|
||||
@delegate = Delegate.Combine(onInnerObjectDestroyed, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onInnerObjectDestroyed)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x600FBCD")]
|
||||
[Address(RVA = "0x1A86E70", Offset = "0x1A85870", VA = "0x181A86E70", Slot = "28")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
Action onInnerObjectDestroyed;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onInnerObjectDestroyed = this.OnInnerObjectDestroyed;
|
||||
@delegate = Delegate.Remove(onInnerObjectDestroyed, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onInnerObjectDestroyed)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x14000133 RID: 307
|
||||
// (add) Token: 0x0600FBCE RID: 64462 RVA: 0x003B19C8 File Offset: 0x003AFBC8
|
||||
// (remove) Token: 0x0600FBCF RID: 64463 RVA: 0x003B19F0 File Offset: 0x003AFBF0
|
||||
[Token(Token = "0x14000133")]
|
||||
public event Action<int, DBFIKIGBNOD> OOLIJPCEHKH
|
||||
{
|
||||
[Token(Token = "0x600FBCE")]
|
||||
[Address(RVA = "0x1A86BA0", Offset = "0x1A855A0", VA = "0x181A86BA0", Slot = "29")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
Action<int, DBFIKIGBNOD> onNodeGroupAdded;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onNodeGroupAdded = this.OnNodeGroupAdded;
|
||||
@delegate = Delegate.Combine(onNodeGroupAdded, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onNodeGroupAdded)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x600FBCF")]
|
||||
[Address(RVA = "0x1A871B0", Offset = "0x1A85BB0", VA = "0x181A871B0", Slot = "30")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
Action<int, DBFIKIGBNOD> onNodeGroupAdded;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onNodeGroupAdded = this.OnNodeGroupAdded;
|
||||
@delegate = Delegate.Remove(onNodeGroupAdded, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onNodeGroupAdded)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x14000134 RID: 308
|
||||
// (add) Token: 0x0600FBD0 RID: 64464 RVA: 0x003B1A18 File Offset: 0x003AFC18
|
||||
// (remove) Token: 0x0600FBD1 RID: 64465 RVA: 0x003B1A40 File Offset: 0x003AFC40
|
||||
[Token(Token = "0x14000134")]
|
||||
public event Action<int, DBFIKIGBNOD> EFJLMHNMHGN
|
||||
{
|
||||
[Token(Token = "0x600FBD0")]
|
||||
[Address(RVA = "0x1A87350", Offset = "0x1A85D50", VA = "0x181A87350", Slot = "31")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
Action<int, DBFIKIGBNOD> onNodeGroupRemoved;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onNodeGroupRemoved = this.OnNodeGroupRemoved;
|
||||
@delegate = Delegate.Combine(onNodeGroupRemoved, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onNodeGroupRemoved)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x600FBD1")]
|
||||
[Address(RVA = "0x1A87530", Offset = "0x1A85F30", VA = "0x181A87530", Slot = "32")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
Action<int, DBFIKIGBNOD> onNodeGroupRemoved;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onNodeGroupRemoved = this.OnNodeGroupRemoved;
|
||||
@delegate = Delegate.Remove(onNodeGroupRemoved, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onNodeGroupRemoved)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x14000135 RID: 309
|
||||
// (add) Token: 0x0600FBD2 RID: 64466 RVA: 0x003B1A68 File Offset: 0x003AFC68
|
||||
// (remove) Token: 0x0600FBD3 RID: 64467 RVA: 0x003B1A84 File Offset: 0x003AFC84
|
||||
[Token(Token = "0x14000135")]
|
||||
public event Action ACMFCEAGABH
|
||||
{
|
||||
[Token(Token = "0x600FBD2")]
|
||||
[Address(RVA = "0x1A86D80", Offset = "0x1A85780", VA = "0x181A86D80", Slot = "33")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
Delegate @delegate;
|
||||
while (@delegate != 0 && @delegate == 0)
|
||||
{
|
||||
}
|
||||
while (@delegate != this)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x600FBD3")]
|
||||
[Address(RVA = "0x1A86C40", Offset = "0x1A85640", VA = "0x181A86C40", Slot = "34")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
Delegate @delegate;
|
||||
while (@delegate != 0 && @delegate == 0)
|
||||
{
|
||||
}
|
||||
while (@delegate != this)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FBD4 RID: 64468 RVA: 0x003B1AA0 File Offset: 0x003AFCA0
|
||||
[Token(Token = "0x600FBD4")]
|
||||
[Address(RVA = "0x1A87250", Offset = "0x1A85C50", VA = "0x181A87250")]
|
||||
public void MFMDEBCEKLC()
|
||||
{
|
||||
Action onChanged = this.OnChanged;
|
||||
if (onChanged != 0)
|
||||
{
|
||||
onChanged();
|
||||
}
|
||||
Action<Vector3> onPositionChanged = this.OnPositionChanged;
|
||||
if (onPositionChanged != 0)
|
||||
{
|
||||
int num = 0;
|
||||
onPositionChanged(num);
|
||||
}
|
||||
Action<Quaternion> onRotationChanged = this.OnRotationChanged;
|
||||
if (onRotationChanged != 0)
|
||||
{
|
||||
int num2 = 0;
|
||||
onRotationChanged(num2);
|
||||
}
|
||||
Action onInnerObjectDestroyed = this.OnInnerObjectDestroyed;
|
||||
if (onInnerObjectDestroyed != 0)
|
||||
{
|
||||
onInnerObjectDestroyed();
|
||||
}
|
||||
Action<int, DBFIKIGBNOD> onNodeGroupAdded = this.OnNodeGroupAdded;
|
||||
if (onNodeGroupAdded != 0)
|
||||
{
|
||||
int num3 = 0;
|
||||
int num4 = 0;
|
||||
onNodeGroupAdded(num4, num3);
|
||||
}
|
||||
Action<int, DBFIKIGBNOD> onNodeGroupRemoved = this.OnNodeGroupRemoved;
|
||||
if (onNodeGroupRemoved != 0)
|
||||
{
|
||||
int num5 = 0;
|
||||
int num6 = 0;
|
||||
onNodeGroupRemoved(num6, num5);
|
||||
}
|
||||
Action onRegistrationChanged = this.OnRegistrationChanged;
|
||||
if (onRegistrationChanged != 0)
|
||||
{
|
||||
onRegistrationChanged();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FBD5 RID: 64469 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600FBD5")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "35")]
|
||||
public void JPBPGKDPEOP()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x17002AC3 RID: 10947
|
||||
// (get) Token: 0x0600FBD6 RID: 64470 RVA: 0x003B1B50 File Offset: 0x003AFD50
|
||||
[Token(Token = "0x17002AC3")]
|
||||
public bool CanAddRemoveNodeGroups
|
||||
{
|
||||
[Token(Token = "0x600FBD6")]
|
||||
[Address(RVA = "0x4405A0", Offset = "0x43EFA0", VA = "0x1804405A0", Slot = "36")]
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AC4 RID: 10948
|
||||
// (get) Token: 0x0600FBD7 RID: 64471 RVA: 0x003B1B60 File Offset: 0x003AFD60
|
||||
[Token(Token = "0x17002AC4")]
|
||||
public bool CanEditNodeGroups
|
||||
{
|
||||
[Token(Token = "0x600FBD7")]
|
||||
[Address(RVA = "0x4405A0", Offset = "0x43EFA0", VA = "0x1804405A0", Slot = "37")]
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AC5 RID: 10949
|
||||
// (get) Token: 0x0600FBD8 RID: 64472 RVA: 0x003B1B70 File Offset: 0x003AFD70
|
||||
[Token(Token = "0x17002AC5")]
|
||||
public bool CanDestroy
|
||||
{
|
||||
[Token(Token = "0x600FBD8")]
|
||||
[Address(RVA = "0x4405A0", Offset = "0x43EFA0", VA = "0x1804405A0", Slot = "40")]
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FBD9 RID: 64473 RVA: 0x003B1B80 File Offset: 0x003AFD80
|
||||
[Token(Token = "0x600FBD9")]
|
||||
[Address(RVA = "0x1A86940", Offset = "0x1A85340", VA = "0x181A86940", Slot = "38")]
|
||||
public void AKIBJCNJNBE(string MMBOKOLAJFH)
|
||||
{
|
||||
int size = this.nodeGroups._size;
|
||||
List<MockPortAdapter> list = new List();
|
||||
List<MockPortAdapter> list2 = new List();
|
||||
MockNodeGroupAdapter mockNodeGroupAdapter = new MockNodeGroupAdapter();
|
||||
List<MockPortAdapter> list3 = new List();
|
||||
mockNodeGroupAdapter.inputs = list3;
|
||||
List<MockPortAdapter> list4 = new List();
|
||||
mockNodeGroupAdapter.outputs = list4;
|
||||
Guid guid = Guid.NewGuid();
|
||||
mockNodeGroupAdapter.JPBPGKDPEOP();
|
||||
mockNodeGroupAdapter.inputs = list;
|
||||
mockNodeGroupAdapter.outputs = list2;
|
||||
mockNodeGroupAdapter.name = MMBOKOLAJFH;
|
||||
this.nodeGroups.Add(mockNodeGroupAdapter);
|
||||
Action<int, DBFIKIGBNOD> onNodeGroupAdded = this.OnNodeGroupAdded;
|
||||
if (onNodeGroupAdded != 0)
|
||||
{
|
||||
onNodeGroupAdded(size, mockNodeGroupAdapter);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FBDA RID: 64474 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600FBDA")]
|
||||
[Address(RVA = "0x1A87050", Offset = "0x1A85A50", VA = "0x181A87050", Slot = "39")]
|
||||
public void ILOCBALJOGE(NodeDescId ENJEOLBEALP)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x0600FBDB RID: 64475 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600FBDB")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "41")]
|
||||
public void MHLPHBAMOKA(Transform OIFLDNBGJOH)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x0600FBDC RID: 64476 RVA: 0x003B1C14 File Offset: 0x003AFE14
|
||||
[Token(Token = "0x600FBDC")]
|
||||
[Address(RVA = "0x1A87620", Offset = "0x1A86020", VA = "0x181A87620")]
|
||||
public MockChipAdapter()
|
||||
{
|
||||
List<MockNodeGroupAdapter> list = new List();
|
||||
this.nodeGroups = list;
|
||||
Guid guid = Guid.NewGuid();
|
||||
Guid guid2 = Guid.NewGuid();
|
||||
this.JPBPGKDPEOP();
|
||||
}
|
||||
|
||||
// Token: 0x0400A759 RID: 42841
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400A759")]
|
||||
[Multiline]
|
||||
[SerializeField]
|
||||
private string chipName;
|
||||
|
||||
// Token: 0x0400A75A RID: 42842
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400A75A")]
|
||||
[SerializeField]
|
||||
private string staticName;
|
||||
|
||||
// Token: 0x0400A75B RID: 42843
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400A75B")]
|
||||
[SerializeField]
|
||||
private ChipKey key;
|
||||
|
||||
// Token: 0x0400A75C RID: 42844
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x400A75C")]
|
||||
[SerializeField]
|
||||
private bool hasInnerContext;
|
||||
|
||||
// Token: 0x0400A75D RID: 42845
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x25")]
|
||||
[Token(Token = "0x400A75D")]
|
||||
[SerializeField]
|
||||
private bool isSyncVariable;
|
||||
|
||||
// Token: 0x0400A75E RID: 42846
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x26")]
|
||||
[Token(Token = "0x400A75E")]
|
||||
[SerializeField]
|
||||
private bool isRegisteredToEvent;
|
||||
|
||||
// Token: 0x0400A75F RID: 42847
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x27")]
|
||||
[Token(Token = "0x400A75F")]
|
||||
[SerializeField]
|
||||
private bool canClone;
|
||||
|
||||
// Token: 0x0400A760 RID: 42848
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400A760")]
|
||||
[SerializeField]
|
||||
private List<MockNodeGroupAdapter> nodeGroups;
|
||||
|
||||
// Token: 0x0400A763 RID: 42851
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x400A763")]
|
||||
[CompilerGenerated]
|
||||
private Action OnChanged;
|
||||
|
||||
// Token: 0x0400A764 RID: 42852
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x400A764")]
|
||||
[CompilerGenerated]
|
||||
private Action<Vector3> OnPositionChanged;
|
||||
|
||||
// Token: 0x0400A765 RID: 42853
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x400A765")]
|
||||
[CompilerGenerated]
|
||||
private Action<Quaternion> OnRotationChanged;
|
||||
|
||||
// Token: 0x0400A766 RID: 42854
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x400A766")]
|
||||
[CompilerGenerated]
|
||||
private Action OnInnerObjectDestroyed;
|
||||
|
||||
// Token: 0x0400A767 RID: 42855
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x400A767")]
|
||||
[CompilerGenerated]
|
||||
private Action<int, DBFIKIGBNOD> OnNodeGroupAdded;
|
||||
|
||||
// Token: 0x0400A768 RID: 42856
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x400A768")]
|
||||
[CompilerGenerated]
|
||||
private Action<int, DBFIKIGBNOD> OnNodeGroupRemoved;
|
||||
|
||||
// Token: 0x0400A769 RID: 42857
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x400A769")]
|
||||
[CompilerGenerated]
|
||||
private Action OnRegistrationChanged;
|
||||
|
||||
// Token: 0x0200237F RID: 9087
|
||||
[Token(Token = "0x200237F")]
|
||||
[CompilerGenerated]
|
||||
private sealed class DPDBJKGJLBN
|
||||
{
|
||||
// Token: 0x0600FBDD RID: 64477 RVA: 0x003B1C40 File Offset: 0x003AFE40
|
||||
[Token(Token = "0x600FBDD")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public DPDBJKGJLBN()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600FBDE RID: 64478 RVA: 0x003B1C54 File Offset: 0x003AFE54
|
||||
[Token(Token = "0x600FBDE")]
|
||||
[Address(RVA = "0x1A85100", Offset = "0x1A83B00", VA = "0x181A85100")]
|
||||
internal bool <RemoveNodeGroup>b__0(MockNodeGroupAdapter i)
|
||||
{
|
||||
NodeDescId <Id>k__BackingField = i.<Id>k__BackingField;
|
||||
NodeDescId nodeDescId = this.id;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0400A76A RID: 42858
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400A76A")]
|
||||
public NodeDescId id;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,252 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom.CircuitsV2.Config;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.CircuitsV2.Adapter
|
||||
{
|
||||
// Token: 0x02002380 RID: 9088
|
||||
[Token(Token = "0x2002380")]
|
||||
[StructLayout(3)]
|
||||
public sealed class MockCircuitsV2Manager : MonoBehaviour, DHPKPILLCBH
|
||||
{
|
||||
// Token: 0x14000136 RID: 310
|
||||
// (add) Token: 0x0600FBDF RID: 64479 RVA: 0x003B1C78 File Offset: 0x003AFE78
|
||||
// (remove) Token: 0x0600FBE0 RID: 64480 RVA: 0x003B1CA0 File Offset: 0x003AFEA0
|
||||
[Token(Token = "0x14000136")]
|
||||
public event MPAGBPPDGME PPDKMMHHBNH
|
||||
{
|
||||
[Token(Token = "0x600FBDF")]
|
||||
[Address(RVA = "0x1A882F0", Offset = "0x1A86CF0", VA = "0x181A882F0", Slot = "4")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
MPAGBPPDGME ppdkmmhhbnh;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
ppdkmmhhbnh = this.PPDKMMHHBNH;
|
||||
@delegate = Delegate.Combine(ppdkmmhhbnh, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != ppdkmmhhbnh)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x600FBE0")]
|
||||
[Address(RVA = "0x1A88430", Offset = "0x1A86E30", VA = "0x181A88430", Slot = "5")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
MPAGBPPDGME ppdkmmhhbnh;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
ppdkmmhhbnh = this.PPDKMMHHBNH;
|
||||
@delegate = Delegate.Remove(ppdkmmhhbnh, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != ppdkmmhhbnh)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x14000137 RID: 311
|
||||
// (add) Token: 0x0600FBE1 RID: 64481 RVA: 0x003B1CC8 File Offset: 0x003AFEC8
|
||||
// (remove) Token: 0x0600FBE2 RID: 64482 RVA: 0x003B1CF0 File Offset: 0x003AFEF0
|
||||
[Token(Token = "0x14000137")]
|
||||
public event PLJMPBPGCOK JAMEEAGEMOC
|
||||
{
|
||||
[Token(Token = "0x600FBE1")]
|
||||
[Address(RVA = "0x1A88390", Offset = "0x1A86D90", VA = "0x181A88390", Slot = "6")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
PLJMPBPGCOK jameeagemoc;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
jameeagemoc = this.JAMEEAGEMOC;
|
||||
@delegate = Delegate.Combine(jameeagemoc, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != jameeagemoc)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x600FBE2")]
|
||||
[Address(RVA = "0x1A884D0", Offset = "0x1A86ED0", VA = "0x181A884D0", Slot = "7")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
PLJMPBPGCOK jameeagemoc;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
jameeagemoc = this.JAMEEAGEMOC;
|
||||
@delegate = Delegate.Remove(jameeagemoc, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != jameeagemoc)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FBE3 RID: 64483 RVA: 0x003B1D18 File Offset: 0x003AFF18
|
||||
[Token(Token = "0x600FBE3")]
|
||||
[Address(RVA = "0x1A87980", Offset = "0x1A86380", VA = "0x181A87980")]
|
||||
public void Awake()
|
||||
{
|
||||
Wires wires = this.wires;
|
||||
CircuitsV2Config circuitsV2Config = this.config;
|
||||
wires.Bind(circuitsV2Config, this);
|
||||
}
|
||||
|
||||
// Token: 0x0600FBE4 RID: 64484 RVA: 0x003B1D44 File Offset: 0x003AFF44
|
||||
[Token(Token = "0x600FBE4")]
|
||||
[Address(RVA = "0x1A877D0", Offset = "0x1A861D0", VA = "0x181A877D0")]
|
||||
public void AddChip(MockChipAdapter EHHKGBAMIOP)
|
||||
{
|
||||
Dictionary<Guid, ValueTuple<Chip, MockChipAdapter>> onbgfcmgedg = this.ONBGFCMGEDG;
|
||||
Guid <Id>k__BackingField = EHHKGBAMIOP.<Id>k__BackingField;
|
||||
bool flag = !onbgfcmgedg.ContainsKey(<Id>k__BackingField);
|
||||
bool flag2;
|
||||
if (flag2)
|
||||
{
|
||||
Chip chip = global::UnityEngine.Object.Instantiate<Chip>(this.chipPrefab);
|
||||
CircuitsV2Config circuitsV2Config = this.config;
|
||||
chip.Bind(circuitsV2Config, EHHKGBAMIOP);
|
||||
List<Guid> adkgemfmnpk = this.ADKGEMFMNPK;
|
||||
Guid <Id>k__BackingField2 = EHHKGBAMIOP.<Id>k__BackingField;
|
||||
adkgemfmnpk.Add(<Id>k__BackingField2);
|
||||
Dictionary<Guid, ValueTuple<Chip, MockChipAdapter>> onbgfcmgedg2 = this.ONBGFCMGEDG;
|
||||
int num = 0;
|
||||
Guid <Id>k__BackingField3 = EHHKGBAMIOP.<Id>k__BackingField;
|
||||
onbgfcmgedg2[<Id>k__BackingField3] = num;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FBE5 RID: 64485 RVA: 0x003B1DCC File Offset: 0x003AFFCC
|
||||
[Token(Token = "0x600FBE5")]
|
||||
[Address(RVA = "0x1A87C30", Offset = "0x1A86630", VA = "0x181A87C30")]
|
||||
public void ConnectChips(int NBJPMIHKFLA, int HADCKEDOJBE, int JJGABJMGECE, int PGLHPAENHHP)
|
||||
{
|
||||
Guid? guid;
|
||||
if (guid.has_value)
|
||||
{
|
||||
Dictionary<Guid, ValueTuple<Chip, MockChipAdapter>> onbgfcmgedg = this.ONBGFCMGEDG;
|
||||
bool flag;
|
||||
if (flag)
|
||||
{
|
||||
int freeList = onbgfcmgedg.freeList;
|
||||
DBFIKIGBNOD dbfikigbnod;
|
||||
KPJGIJKKILH kpjgijkkilh;
|
||||
Guid? guid2;
|
||||
if (dbfikigbnod != 0 && kpjgijkkilh != 0 && guid2.has_value)
|
||||
{
|
||||
Dictionary<Guid, ValueTuple<Chip, MockChipAdapter>> onbgfcmgedg2 = this.ONBGFCMGEDG;
|
||||
bool flag2;
|
||||
if (flag2)
|
||||
{
|
||||
int freeList2 = onbgfcmgedg2.freeList;
|
||||
DBFIKIGBNOD dbfikigbnod2;
|
||||
KPJGIJKKILH kpjgijkkilh2;
|
||||
if (dbfikigbnod2 == 0 || kpjgijkkilh2 == 0 || this.PPDKMMHHBNH != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FBE6 RID: 64486 RVA: 0x003B1E38 File Offset: 0x003B0038
|
||||
[Token(Token = "0x600FBE6")]
|
||||
[Address(RVA = "0x1A87F30", Offset = "0x1A86930", VA = "0x181A87F30")]
|
||||
public void DisconnectChips(int NBJPMIHKFLA, int HADCKEDOJBE, int JJGABJMGECE, int PGLHPAENHHP)
|
||||
{
|
||||
Guid? guid;
|
||||
if (guid.has_value)
|
||||
{
|
||||
Dictionary<Guid, ValueTuple<Chip, MockChipAdapter>> onbgfcmgedg = this.ONBGFCMGEDG;
|
||||
bool flag;
|
||||
if (flag)
|
||||
{
|
||||
int freeList = onbgfcmgedg.freeList;
|
||||
DBFIKIGBNOD dbfikigbnod;
|
||||
KPJGIJKKILH kpjgijkkilh;
|
||||
Guid? guid2;
|
||||
if (dbfikigbnod != 0 && kpjgijkkilh != 0 && guid2.has_value)
|
||||
{
|
||||
Dictionary<Guid, ValueTuple<Chip, MockChipAdapter>> onbgfcmgedg2 = this.ONBGFCMGEDG;
|
||||
bool flag2;
|
||||
if (flag2)
|
||||
{
|
||||
int freeList2 = onbgfcmgedg2.freeList;
|
||||
DBFIKIGBNOD dbfikigbnod2;
|
||||
KPJGIJKKILH kpjgijkkilh2;
|
||||
if (dbfikigbnod2 == 0 || kpjgijkkilh2 == 0 || this.JAMEEAGEMOC != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FBE7 RID: 64487 RVA: 0x003B1EA4 File Offset: 0x003B00A4
|
||||
[Token(Token = "0x600FBE7")]
|
||||
[Address(RVA = "0x1A879B0", Offset = "0x1A863B0", VA = "0x181A879B0")]
|
||||
public void Clear()
|
||||
{
|
||||
Dictionary<Guid, ValueTuple<Chip, MockChipAdapter>>.ValueCollection values = this.ONBGFCMGEDG.Values;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600FBE8 RID: 64488 RVA: 0x003B1F2C File Offset: 0x003B012C
|
||||
[Token(Token = "0x600FBE8")]
|
||||
[Address(RVA = "0x1A88270", Offset = "0x1A86C70", VA = "0x181A88270")]
|
||||
public MockCircuitsV2Manager()
|
||||
{
|
||||
Dictionary<Guid, ValueTuple<Chip, MockChipAdapter>> dictionary = new Dictionary();
|
||||
this.ONBGFCMGEDG = dictionary;
|
||||
List<Guid> list = new List();
|
||||
this.ADKGEMFMNPK = list;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x0400A76B RID: 42859
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400A76B")]
|
||||
[SerializeField]
|
||||
private Chip chipPrefab;
|
||||
|
||||
// Token: 0x0400A76C RID: 42860
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400A76C")]
|
||||
[SerializeField]
|
||||
private CircuitsV2Config config;
|
||||
|
||||
// Token: 0x0400A76D RID: 42861
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400A76D")]
|
||||
[SerializeField]
|
||||
private Wires wires;
|
||||
|
||||
// Token: 0x0400A76E RID: 42862
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400A76E")]
|
||||
[Attribute(Name = "TupleElementNamesAttribute", RVA = "0xF68E0", Offset = "0xF5CE0")]
|
||||
private Dictionary<Guid, ValueTuple<Chip, MockChipAdapter>> ONBGFCMGEDG;
|
||||
|
||||
// Token: 0x0400A76F RID: 42863
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400A76F")]
|
||||
private List<Guid> ADKGEMFMNPK;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,565 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using CircuitsV2.Graph;
|
||||
using CircuitsV2.Types;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.CircuitsV2.Adapter
|
||||
{
|
||||
// Token: 0x02002381 RID: 9089
|
||||
[Token(Token = "0x2002381")]
|
||||
[Serializable]
|
||||
[StructLayout(3)]
|
||||
public sealed class MockNodeGroupAdapter : DBFIKIGBNOD
|
||||
{
|
||||
// Token: 0x17002AC6 RID: 10950
|
||||
// (get) Token: 0x0600FBE9 RID: 64489 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x17002AC6")]
|
||||
public NodeDescId Id
|
||||
{
|
||||
[Token(Token = "0x600FBE9")]
|
||||
[Address(RVA = "0x3C1C70", Offset = "0x3C0670", VA = "0x1803C1C70", Slot = "4")]
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AC7 RID: 10951
|
||||
// (get) Token: 0x0600FBEA RID: 64490 RVA: 0x003B1F5C File Offset: 0x003B015C
|
||||
[Token(Token = "0x17002AC7")]
|
||||
public string Name
|
||||
{
|
||||
[Token(Token = "0x600FBEA")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return this.name;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AC8 RID: 10952
|
||||
// (get) Token: 0x0600FBEB RID: 64491 RVA: 0x003B1F70 File Offset: 0x003B0170
|
||||
[Token(Token = "0x17002AC8")]
|
||||
public IReadOnlyList<KPJGIJKKILH> Inputs
|
||||
{
|
||||
[Token(Token = "0x600FBEB")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240", Slot = "6")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600FBEB)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IReadOnlyList`1<KPJGIJKKILH> RecRoom.CircuitsV2.Adapter.MockNodeGroupAdapter::get_Inputs()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:class [mscorlib]System.Collections.Generic.List`1<class RecRoom.CircuitsV2.Adapter.MockPortAdapter>(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1<class RecRoom.CircuitsV2.Adapter.MockPortAdapter>(MockNodeGroupAdapter::inputs, ldloc:MockNodeGroupAdapter(this)))
|
||||
}
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AC9 RID: 10953
|
||||
// (get) Token: 0x0600FBEC RID: 64492 RVA: 0x003B1F84 File Offset: 0x003B0184
|
||||
[Token(Token = "0x17002AC9")]
|
||||
public IReadOnlyList<KPJGIJKKILH> Outputs
|
||||
{
|
||||
[Token(Token = "0x600FBEC")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220", Slot = "7")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600FBEC)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IReadOnlyList`1<KPJGIJKKILH> RecRoom.CircuitsV2.Adapter.MockNodeGroupAdapter::get_Outputs()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:class [mscorlib]System.Collections.Generic.List`1<class RecRoom.CircuitsV2.Adapter.MockPortAdapter>(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1<class RecRoom.CircuitsV2.Adapter.MockPortAdapter>(MockNodeGroupAdapter::outputs, ldloc:MockNodeGroupAdapter(this)))
|
||||
}
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002ACA RID: 10954
|
||||
// (get) Token: 0x0600FBED RID: 64493 RVA: 0x003B1F98 File Offset: 0x003B0198
|
||||
[Token(Token = "0x17002ACA")]
|
||||
public bool IsSelfNodeGroup
|
||||
{
|
||||
[Token(Token = "0x600FBED")]
|
||||
[Address(RVA = "0x1A890D0", Offset = "0x1A87AD0", VA = "0x181A890D0", Slot = "8")]
|
||||
get
|
||||
{
|
||||
List<MockPortAdapter> list = this.outputs;
|
||||
Func<MockPortAdapter, bool> <>9__13_ = MockNodeGroupAdapter.<>c.<>9__13_0;
|
||||
if (<>9__13_ == 0)
|
||||
{
|
||||
MockNodeGroupAdapter.<>c.<>9__13_0 = (MockPortAdapter x) => x.isSelfPort;
|
||||
}
|
||||
return Enumerable.Any<MockPortAdapter>(list, <>9__13_);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x14000138 RID: 312
|
||||
// (add) Token: 0x0600FBEE RID: 64494 RVA: 0x003B1FD4 File Offset: 0x003B01D4
|
||||
// (remove) Token: 0x0600FBEF RID: 64495 RVA: 0x003B1FFC File Offset: 0x003B01FC
|
||||
[Token(Token = "0x14000138")]
|
||||
public event Action<int, KPJGIJKKILH> BDNAIKMPLMK
|
||||
{
|
||||
[Token(Token = "0x600FBEE")]
|
||||
[Address(RVA = "0x1A88C70", Offset = "0x1A87670", VA = "0x181A88C70", Slot = "9")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
Action<int, KPJGIJKKILH> onInputPortAdded;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onInputPortAdded = this.OnInputPortAdded;
|
||||
@delegate = Delegate.Combine(onInputPortAdded, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onInputPortAdded)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x600FBEF")]
|
||||
[Address(RVA = "0x1A88BD0", Offset = "0x1A875D0", VA = "0x181A88BD0", Slot = "10")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
Action<int, KPJGIJKKILH> onInputPortAdded;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onInputPortAdded = this.OnInputPortAdded;
|
||||
@delegate = Delegate.Remove(onInputPortAdded, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onInputPortAdded)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x14000139 RID: 313
|
||||
// (add) Token: 0x0600FBF0 RID: 64496 RVA: 0x003B2024 File Offset: 0x003B0224
|
||||
// (remove) Token: 0x0600FBF1 RID: 64497 RVA: 0x003B204C File Offset: 0x003B024C
|
||||
[Token(Token = "0x14000139")]
|
||||
public event Action<int, KPJGIJKKILH> CMGBFPJKGKA
|
||||
{
|
||||
[Token(Token = "0x600FBF0")]
|
||||
[Address(RVA = "0x1A88610", Offset = "0x1A87010", VA = "0x181A88610", Slot = "11")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
Action<int, KPJGIJKKILH> onOutputPortAdded;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onOutputPortAdded = this.OnOutputPortAdded;
|
||||
@delegate = Delegate.Combine(onOutputPortAdded, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onOutputPortAdded)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x600FBF1")]
|
||||
[Address(RVA = "0x1A88570", Offset = "0x1A86F70", VA = "0x181A88570", Slot = "12")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
Action<int, KPJGIJKKILH> onOutputPortAdded;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onOutputPortAdded = this.OnOutputPortAdded;
|
||||
@delegate = Delegate.Remove(onOutputPortAdded, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onOutputPortAdded)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1400013A RID: 314
|
||||
// (add) Token: 0x0600FBF2 RID: 64498 RVA: 0x003B2074 File Offset: 0x003B0274
|
||||
// (remove) Token: 0x0600FBF3 RID: 64499 RVA: 0x003B209C File Offset: 0x003B029C
|
||||
[Token(Token = "0x1400013A")]
|
||||
public event Action<int, KPJGIJKKILH> MPHNDECLDMG
|
||||
{
|
||||
[Token(Token = "0x600FBF2")]
|
||||
[Address(RVA = "0x1A88B30", Offset = "0x1A87530", VA = "0x181A88B30", Slot = "13")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
Action<int, KPJGIJKKILH> onInputPortRemoved;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onInputPortRemoved = this.OnInputPortRemoved;
|
||||
@delegate = Delegate.Combine(onInputPortRemoved, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onInputPortRemoved)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x600FBF3")]
|
||||
[Address(RVA = "0x1A88790", Offset = "0x1A87190", VA = "0x181A88790", Slot = "14")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
Action<int, KPJGIJKKILH> onInputPortRemoved;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onInputPortRemoved = this.OnInputPortRemoved;
|
||||
@delegate = Delegate.Remove(onInputPortRemoved, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onInputPortRemoved)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1400013B RID: 315
|
||||
// (add) Token: 0x0600FBF4 RID: 64500 RVA: 0x003B20C4 File Offset: 0x003B02C4
|
||||
// (remove) Token: 0x0600FBF5 RID: 64501 RVA: 0x003B20EC File Offset: 0x003B02EC
|
||||
[Token(Token = "0x1400013B")]
|
||||
public event Action<int, KPJGIJKKILH> JFGEEEHEDFL
|
||||
{
|
||||
[Token(Token = "0x600FBF4")]
|
||||
[Address(RVA = "0x1A88DB0", Offset = "0x1A877B0", VA = "0x181A88DB0", Slot = "15")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
Action<int, KPJGIJKKILH> onOutputPortRemoved;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onOutputPortRemoved = this.OnOutputPortRemoved;
|
||||
@delegate = Delegate.Combine(onOutputPortRemoved, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onOutputPortRemoved)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x600FBF5")]
|
||||
[Address(RVA = "0x1A88E50", Offset = "0x1A87850", VA = "0x181A88E50", Slot = "16")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
Action<int, KPJGIJKKILH> onOutputPortRemoved;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onOutputPortRemoved = this.OnOutputPortRemoved;
|
||||
@delegate = Delegate.Remove(onOutputPortRemoved, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onOutputPortRemoved)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FBF6 RID: 64502 RVA: 0x003B2114 File Offset: 0x003B0314
|
||||
[Token(Token = "0x600FBF6")]
|
||||
[Address(RVA = "0x1A88D10", Offset = "0x1A87710", VA = "0x181A88D10")]
|
||||
public void MFMDEBCEKLC()
|
||||
{
|
||||
Action<int, KPJGIJKKILH> onInputPortAdded = this.OnInputPortAdded;
|
||||
if (onInputPortAdded != 0)
|
||||
{
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
onInputPortAdded(num2, num);
|
||||
}
|
||||
Action<int, KPJGIJKKILH> onOutputPortAdded = this.OnOutputPortAdded;
|
||||
if (onOutputPortAdded != 0)
|
||||
{
|
||||
int num3 = 0;
|
||||
int num4 = 0;
|
||||
onOutputPortAdded(num4, num3);
|
||||
}
|
||||
Action<int, KPJGIJKKILH> onInputPortRemoved = this.OnInputPortRemoved;
|
||||
if (onInputPortRemoved != 0)
|
||||
{
|
||||
int num5 = 0;
|
||||
int num6 = 0;
|
||||
onInputPortRemoved(num6, num5);
|
||||
}
|
||||
Action<int, KPJGIJKKILH> onOutputPortRemoved = this.OnOutputPortRemoved;
|
||||
if (onOutputPortRemoved != 0)
|
||||
{
|
||||
int num7 = 0;
|
||||
int num8 = 0;
|
||||
onOutputPortRemoved(num8, num7);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FBF7 RID: 64503 RVA: 0x003B2190 File Offset: 0x003B0390
|
||||
[Token(Token = "0x600FBF7")]
|
||||
[Address(RVA = "0x1A88EF0", Offset = "0x1A878F0", VA = "0x181A88EF0")]
|
||||
public MockNodeGroupAdapter()
|
||||
{
|
||||
List<MockPortAdapter> list = new List();
|
||||
this.inputs = list;
|
||||
List<MockPortAdapter> list2 = new List();
|
||||
this.outputs = list2;
|
||||
Guid guid = Guid.NewGuid();
|
||||
this.JPBPGKDPEOP();
|
||||
}
|
||||
|
||||
// Token: 0x0600FBF8 RID: 64504 RVA: 0x003B21C4 File Offset: 0x003B03C4
|
||||
[Token(Token = "0x600FBF8")]
|
||||
[Address(RVA = "0x1A88FC0", Offset = "0x1A879C0", VA = "0x181A88FC0")]
|
||||
public MockNodeGroupAdapter(string name, List<MockPortAdapter> inputs, List<MockPortAdapter> outputs)
|
||||
{
|
||||
List<MockPortAdapter> list = new List();
|
||||
this.inputs = list;
|
||||
List<MockPortAdapter> list2 = new List();
|
||||
this.outputs = list2;
|
||||
Guid guid = Guid.NewGuid();
|
||||
this.JPBPGKDPEOP();
|
||||
this.inputs = inputs;
|
||||
this.outputs = outputs;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
// Token: 0x0600FBF9 RID: 64505 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600FBF9")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "17")]
|
||||
public void JPBPGKDPEOP()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x17002ACB RID: 10955
|
||||
// (get) Token: 0x0600FBFA RID: 64506 RVA: 0x003B220C File Offset: 0x003B040C
|
||||
[Token(Token = "0x17002ACB")]
|
||||
public bool CanModifyInputPorts
|
||||
{
|
||||
[Token(Token = "0x600FBFA")]
|
||||
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "18")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002ACC RID: 10956
|
||||
// (get) Token: 0x0600FBFB RID: 64507 RVA: 0x003B221C File Offset: 0x003B041C
|
||||
[Token(Token = "0x17002ACC")]
|
||||
public int NumModifyInputPorts
|
||||
{
|
||||
[Token(Token = "0x600FBFB")]
|
||||
[Address(RVA = "0x3F8880", Offset = "0x3F7280", VA = "0x1803F8880", Slot = "19")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FBFC RID: 64508 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600FBFC")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "20")]
|
||||
public void BCELIKDHHMJ()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x0600FBFD RID: 64509 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600FBFD")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "21")]
|
||||
public void FGBPOICBBNK()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x0600FBFE RID: 64510 RVA: 0x003B222C File Offset: 0x003B042C
|
||||
[Token(Token = "0x600FBFE")]
|
||||
[Address(RVA = "0x1A886B0", Offset = "0x1A870B0", VA = "0x181A886B0", Slot = "22")]
|
||||
public void BKLGHNIFKBD(string MMBOKOLAJFH, CircuitType GEDCEIDOKJL)
|
||||
{
|
||||
int size = this.inputs._size;
|
||||
int num;
|
||||
int num2;
|
||||
int num3;
|
||||
MockPortAdapter mockPortAdapter = new MockPortAdapter(num, MMBOKOLAJFH, (ReadWriteKind)num2, GEDCEIDOKJL, num3, num3 != 0);
|
||||
num2 = 0;
|
||||
num3 = 0;
|
||||
num = 0;
|
||||
this.inputs.Add(mockPortAdapter);
|
||||
Action<int, KPJGIJKKILH> onInputPortAdded = this.OnInputPortAdded;
|
||||
if (onInputPortAdded != 0)
|
||||
{
|
||||
onInputPortAdded(size, mockPortAdapter);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FBFF RID: 64511 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600FBFF")]
|
||||
[Address(RVA = "0x1A88830", Offset = "0x1A87230", VA = "0x181A88830", Slot = "23")]
|
||||
public void DMBJAKNHFOB(Guid EJOAGAOCCJO)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x0600FC00 RID: 64512 RVA: 0x003B2284 File Offset: 0x003B0484
|
||||
[Token(Token = "0x600FC00")]
|
||||
[Address(RVA = "0x1A88A50", Offset = "0x1A87450", VA = "0x181A88A50", Slot = "24")]
|
||||
public void HBCHLLODOGD(string MMBOKOLAJFH, CircuitType GEDCEIDOKJL)
|
||||
{
|
||||
int size = this.outputs._size;
|
||||
int num;
|
||||
int num2;
|
||||
int num3;
|
||||
MockPortAdapter mockPortAdapter = new MockPortAdapter(num, MMBOKOLAJFH, (ReadWriteKind)num2, GEDCEIDOKJL, num3, num3 != 0);
|
||||
num2 = 0;
|
||||
num3 = 0;
|
||||
num = 0;
|
||||
this.outputs.Add(mockPortAdapter);
|
||||
Action<int, KPJGIJKKILH> onOutputPortAdded = this.OnOutputPortAdded;
|
||||
if (onOutputPortAdded != 0)
|
||||
{
|
||||
onOutputPortAdded(size, mockPortAdapter);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FC01 RID: 64513 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600FC01")]
|
||||
[Address(RVA = "0x1A88940", Offset = "0x1A87340", VA = "0x181A88940", Slot = "25")]
|
||||
public void GBNANODHPGF(Guid EPDJHJFCAHM)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x0400A772 RID: 42866
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400A772")]
|
||||
[SerializeField]
|
||||
private string name;
|
||||
|
||||
// Token: 0x0400A773 RID: 42867
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400A773")]
|
||||
[SerializeField]
|
||||
private List<MockPortAdapter> inputs;
|
||||
|
||||
// Token: 0x0400A774 RID: 42868
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400A774")]
|
||||
[SerializeField]
|
||||
private List<MockPortAdapter> outputs;
|
||||
|
||||
// Token: 0x0400A776 RID: 42870
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400A776")]
|
||||
[CompilerGenerated]
|
||||
private Action<int, KPJGIJKKILH> OnInputPortAdded;
|
||||
|
||||
// Token: 0x0400A777 RID: 42871
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400A777")]
|
||||
[CompilerGenerated]
|
||||
private Action<int, KPJGIJKKILH> OnOutputPortAdded;
|
||||
|
||||
// Token: 0x0400A778 RID: 42872
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x400A778")]
|
||||
[CompilerGenerated]
|
||||
private Action<int, KPJGIJKKILH> OnInputPortRemoved;
|
||||
|
||||
// Token: 0x0400A779 RID: 42873
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x400A779")]
|
||||
[CompilerGenerated]
|
||||
private Action<int, KPJGIJKKILH> OnOutputPortRemoved;
|
||||
|
||||
// Token: 0x02002383 RID: 9091
|
||||
[Token(Token = "0x2002383")]
|
||||
[CompilerGenerated]
|
||||
private sealed class NKHGJDELJAN
|
||||
{
|
||||
// Token: 0x0600FC05 RID: 64517 RVA: 0x003B2324 File Offset: 0x003B0524
|
||||
[Token(Token = "0x600FC05")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public NKHGJDELJAN()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600FC06 RID: 64518 RVA: 0x003B2338 File Offset: 0x003B0538
|
||||
[Token(Token = "0x600FC06")]
|
||||
[Address(RVA = "0x1A89CD0", Offset = "0x1A886D0", VA = "0x181A89CD0")]
|
||||
internal bool <RemoveInputDesc>b__0(MockPortAdapter i)
|
||||
{
|
||||
Guid <DescId>k__BackingField = i.<DescId>k__BackingField;
|
||||
Guid guid = this.inputDescId;
|
||||
return <DescId>k__BackingField == guid;
|
||||
}
|
||||
|
||||
// Token: 0x0400A77C RID: 42876
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400A77C")]
|
||||
public Guid inputDescId;
|
||||
}
|
||||
|
||||
// Token: 0x02002384 RID: 9092
|
||||
[Token(Token = "0x2002384")]
|
||||
[CompilerGenerated]
|
||||
private sealed class FBKGEBDCBLP
|
||||
{
|
||||
// Token: 0x0600FC07 RID: 64519 RVA: 0x003B2360 File Offset: 0x003B0560
|
||||
[Token(Token = "0x600FC07")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public FBKGEBDCBLP()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600FC08 RID: 64520 RVA: 0x003B2374 File Offset: 0x003B0574
|
||||
[Token(Token = "0x600FC08")]
|
||||
[Address(RVA = "0x1A85150", Offset = "0x1A83B50", VA = "0x181A85150")]
|
||||
internal bool <RemoveOutputDesc>b__0(MockPortAdapter i)
|
||||
{
|
||||
Guid <DescId>k__BackingField = i.<DescId>k__BackingField;
|
||||
Guid guid = this.outputDescId;
|
||||
return <DescId>k__BackingField == guid;
|
||||
}
|
||||
|
||||
// Token: 0x0400A77D RID: 42877
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400A77D")]
|
||||
public Guid outputDescId;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,488 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using CircuitsV2.Graph;
|
||||
using CircuitsV2.Types;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.CircuitsV2.Adapter
|
||||
{
|
||||
// Token: 0x02002385 RID: 9093
|
||||
[Token(Token = "0x2002385")]
|
||||
[Serializable]
|
||||
[StructLayout(3)]
|
||||
public sealed class MockPortAdapter : KPJGIJKKILH
|
||||
{
|
||||
// Token: 0x17002ACD RID: 10957
|
||||
// (get) Token: 0x0600FC09 RID: 64521 RVA: 0x003B239C File Offset: 0x003B059C
|
||||
[Token(Token = "0x17002ACD")]
|
||||
public PortBase InnerObject
|
||||
{
|
||||
[Token(Token = "0x600FC09")]
|
||||
[Address(RVA = "0x3F8880", Offset = "0x3F7280", VA = "0x1803F8880", Slot = "4")]
|
||||
get
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002ACE RID: 10958
|
||||
// (get) Token: 0x0600FC0A RID: 64522 RVA: 0x003B23AC File Offset: 0x003B05AC
|
||||
[Token(Token = "0x17002ACE")]
|
||||
public KJDOCKDBNCK Chip
|
||||
{
|
||||
[Token(Token = "0x600FC0A")]
|
||||
[Address(RVA = "0x3D32F0", Offset = "0x3D1CF0", VA = "0x1803D32F0", Slot = "5")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17002ACF RID: 10959
|
||||
// (get) Token: 0x0600FC0B RID: 64523 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x17002ACF")]
|
||||
public Guid Id
|
||||
{
|
||||
[Token(Token = "0x600FC0B")]
|
||||
[Address(RVA = "0x108F810", Offset = "0x108E210", VA = "0x18108F810", Slot = "6")]
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AD0 RID: 10960
|
||||
// (get) Token: 0x0600FC0C RID: 64524 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x17002AD0")]
|
||||
public Guid DescId
|
||||
{
|
||||
[Token(Token = "0x600FC0C")]
|
||||
[Address(RVA = "0x130FCF0", Offset = "0x130E6F0", VA = "0x18130FCF0", Slot = "7")]
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AD1 RID: 10961
|
||||
// (get) Token: 0x0600FC0D RID: 64525 RVA: 0x003B23C0 File Offset: 0x003B05C0
|
||||
[Token(Token = "0x17002AD1")]
|
||||
public string Text
|
||||
{
|
||||
[Token(Token = "0x600FC0D")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.text;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AD2 RID: 10962
|
||||
// (get) Token: 0x0600FC0E RID: 64526 RVA: 0x003B23D4 File Offset: 0x003B05D4
|
||||
[Token(Token = "0x17002AD2")]
|
||||
public ReadWriteKind ReadWriteKind
|
||||
{
|
||||
[Token(Token = "0x600FC0E")]
|
||||
[Address(RVA = "0x4F8C10", Offset = "0x4F7610", VA = "0x1804F8C10", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return this.readWriteKind;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AD3 RID: 10963
|
||||
// (get) Token: 0x0600FC0F RID: 64527 RVA: 0x003B23E8 File Offset: 0x003B05E8
|
||||
[Token(Token = "0x17002AD3")]
|
||||
public PODGPJPDGJK Type
|
||||
{
|
||||
[Token(Token = "0x600FC0F")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220", Slot = "10")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600FC0F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling PODGPJPDGJK RecRoom.CircuitsV2.Adapter.MockPortAdapter::get_Type()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:MockTypeAdapter(var_0_06, ldfld:MockTypeAdapter(MockPortAdapter::type, ldloc:MockPortAdapter(this)))
|
||||
}
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AD4 RID: 10964
|
||||
// (get) Token: 0x0600FC10 RID: 64528 RVA: 0x003B23FC File Offset: 0x003B05FC
|
||||
[Token(Token = "0x17002AD4")]
|
||||
public bool IsConnected
|
||||
{
|
||||
[Token(Token = "0x600FC10")]
|
||||
[Address(RVA = "0x1A899D0", Offset = "0x1A883D0", VA = "0x181A899D0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return this.connections > 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AD5 RID: 10965
|
||||
// (get) Token: 0x0600FC11 RID: 64529 RVA: 0x003B2414 File Offset: 0x003B0614
|
||||
[Token(Token = "0x17002AD5")]
|
||||
public bool ShowDefaultValue
|
||||
{
|
||||
[Token(Token = "0x600FC11")]
|
||||
[Address(RVA = "0x52F470", Offset = "0x52DE70", VA = "0x18052F470", Slot = "12")]
|
||||
get
|
||||
{
|
||||
return this.showDefaultValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AD6 RID: 10966
|
||||
// (get) Token: 0x0600FC12 RID: 64530 RVA: 0x003B2428 File Offset: 0x003B0628
|
||||
[Token(Token = "0x17002AD6")]
|
||||
public bool IsSelfPort
|
||||
{
|
||||
[Token(Token = "0x600FC12")]
|
||||
[Address(RVA = "0x4FBF40", Offset = "0x4FA940", VA = "0x1804FBF40", Slot = "13")]
|
||||
get
|
||||
{
|
||||
return this.isSelfPort;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1400013C RID: 316
|
||||
// (add) Token: 0x0600FC13 RID: 64531 RVA: 0x003B243C File Offset: 0x003B063C
|
||||
// (remove) Token: 0x0600FC14 RID: 64532 RVA: 0x003B2464 File Offset: 0x003B0664
|
||||
[Token(Token = "0x1400013C")]
|
||||
public event Action KFOIOAKJKHH
|
||||
{
|
||||
[Token(Token = "0x600FC13")]
|
||||
[Address(RVA = "0x1A89730", Offset = "0x1A88130", VA = "0x181A89730", Slot = "14")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
Action onIsConnectedChanged;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onIsConnectedChanged = this.OnIsConnectedChanged;
|
||||
@delegate = Delegate.Combine(onIsConnectedChanged, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onIsConnectedChanged)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x600FC14")]
|
||||
[Address(RVA = "0x1A89690", Offset = "0x1A88090", VA = "0x181A89690", Slot = "15")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
Action onIsConnectedChanged;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onIsConnectedChanged = this.OnIsConnectedChanged;
|
||||
@delegate = Delegate.Remove(onIsConnectedChanged, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onIsConnectedChanged)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1400013D RID: 317
|
||||
// (add) Token: 0x0600FC15 RID: 64533 RVA: 0x003B248C File Offset: 0x003B068C
|
||||
// (remove) Token: 0x0600FC16 RID: 64534 RVA: 0x003B24B4 File Offset: 0x003B06B4
|
||||
[Token(Token = "0x1400013D")]
|
||||
public event Action MDKFCBPFJEJ
|
||||
{
|
||||
[Token(Token = "0x600FC15")]
|
||||
[Address(RVA = "0x1A895F0", Offset = "0x1A87FF0", VA = "0x181A895F0", Slot = "16")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
Action onSpecificPortTypeChanged;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onSpecificPortTypeChanged = this.OnSpecificPortTypeChanged;
|
||||
@delegate = Delegate.Combine(onSpecificPortTypeChanged, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onSpecificPortTypeChanged)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x600FC16")]
|
||||
[Address(RVA = "0x1A89200", Offset = "0x1A87C00", VA = "0x181A89200", Slot = "17")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
Action onSpecificPortTypeChanged;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onSpecificPortTypeChanged = this.OnSpecificPortTypeChanged;
|
||||
@delegate = Delegate.Remove(onSpecificPortTypeChanged, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onSpecificPortTypeChanged)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1400013E RID: 318
|
||||
// (add) Token: 0x0600FC17 RID: 64535 RVA: 0x003B24DC File Offset: 0x003B06DC
|
||||
// (remove) Token: 0x0600FC18 RID: 64536 RVA: 0x003B2504 File Offset: 0x003B0704
|
||||
[Token(Token = "0x1400013E")]
|
||||
public event Action AENNHPAONCL
|
||||
{
|
||||
[Token(Token = "0x600FC17")]
|
||||
[Address(RVA = "0x1A893B0", Offset = "0x1A87DB0", VA = "0x181A893B0", Slot = "18")]
|
||||
[CompilerGenerated]
|
||||
add
|
||||
{
|
||||
Action onDefaultValueChanged;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onDefaultValueChanged = this.OnDefaultValueChanged;
|
||||
@delegate = Delegate.Combine(onDefaultValueChanged, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onDefaultValueChanged)
|
||||
{
|
||||
}
|
||||
}
|
||||
[Token(Token = "0x600FC18")]
|
||||
[Address(RVA = "0x1A89500", Offset = "0x1A87F00", VA = "0x181A89500", Slot = "19")]
|
||||
[CompilerGenerated]
|
||||
remove
|
||||
{
|
||||
Action onDefaultValueChanged;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
onDefaultValueChanged = this.OnDefaultValueChanged;
|
||||
@delegate = Delegate.Remove(onDefaultValueChanged, value);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
while (@delegate != onDefaultValueChanged)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FC19 RID: 64537 RVA: 0x003B252C File Offset: 0x003B072C
|
||||
[Token(Token = "0x600FC19")]
|
||||
[Address(RVA = "0x1A895A0", Offset = "0x1A87FA0", VA = "0x181A895A0")]
|
||||
public void MFMDEBCEKLC()
|
||||
{
|
||||
Action onIsConnectedChanged = this.OnIsConnectedChanged;
|
||||
if (onIsConnectedChanged != 0)
|
||||
{
|
||||
onIsConnectedChanged();
|
||||
}
|
||||
Action onSpecificPortTypeChanged = this.OnSpecificPortTypeChanged;
|
||||
if (onSpecificPortTypeChanged != 0)
|
||||
{
|
||||
onSpecificPortTypeChanged();
|
||||
}
|
||||
Action onDefaultValueChanged = this.OnDefaultValueChanged;
|
||||
if (onDefaultValueChanged != 0)
|
||||
{
|
||||
onDefaultValueChanged();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FC1A RID: 64538 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600FC1A")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "20")]
|
||||
public void JPBPGKDPEOP()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x0600FC1B RID: 64539 RVA: 0x003B2570 File Offset: 0x003B0770
|
||||
[Token(Token = "0x600FC1B")]
|
||||
[Address(RVA = "0x1A891C0", Offset = "0x1A87BC0", VA = "0x181A891C0", Slot = "21")]
|
||||
public string FIAHPLBDCHF()
|
||||
{
|
||||
return this.defaultValue;
|
||||
}
|
||||
|
||||
// Token: 0x0600FC1C RID: 64540 RVA: 0x003B2584 File Offset: 0x003B0784
|
||||
[Token(Token = "0x600FC1C")]
|
||||
[Address(RVA = "0x1A892A0", Offset = "0x1A87CA0", VA = "0x181A892A0", Slot = "22")]
|
||||
public string FKJEAMIDOEP(int OMJLGGPHALE)
|
||||
{
|
||||
string text = this.defaultValue;
|
||||
MockTypeAdapter mockTypeAdapter = this.type;
|
||||
if (text == (ulong)4L && text.m_stringLength > OMJLGGPHALE)
|
||||
{
|
||||
string text2 = text.Truncate(OMJLGGPHALE, "");
|
||||
return "\"" + text2 + "...\"";
|
||||
}
|
||||
return text;
|
||||
}
|
||||
|
||||
// Token: 0x0600FC1D RID: 64541 RVA: 0x003B25D4 File Offset: 0x003B07D4
|
||||
[Token(Token = "0x600FC1D")]
|
||||
[Address(RVA = "0x1A894C0", Offset = "0x1A87EC0", VA = "0x181A894C0", Slot = "23")]
|
||||
public void HLMPLMDJBON(string ONGBFDACHHG)
|
||||
{
|
||||
this.defaultValue = ONGBFDACHHG;
|
||||
Action onDefaultValueChanged = this.OnDefaultValueChanged;
|
||||
if (onDefaultValueChanged != 0)
|
||||
{
|
||||
onDefaultValueChanged();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FC1E RID: 64542 RVA: 0x003B25FC File Offset: 0x003B07FC
|
||||
[Token(Token = "0x600FC1E")]
|
||||
[Address(RVA = "0x1A897D0", Offset = "0x1A881D0", VA = "0x181A897D0")]
|
||||
public MockPortAdapter()
|
||||
{
|
||||
string empty = string.Empty;
|
||||
this.text = empty;
|
||||
this.type = new MockTypeAdapter
|
||||
{
|
||||
key = (TypeKey)((ulong)1L)
|
||||
};
|
||||
Guid guid = Guid.NewGuid();
|
||||
Guid guid2 = Guid.NewGuid();
|
||||
this.JPBPGKDPEOP();
|
||||
}
|
||||
|
||||
// Token: 0x0600FC1F RID: 64543 RVA: 0x003B2640 File Offset: 0x003B0840
|
||||
[Token(Token = "0x600FC1F")]
|
||||
[Address(RVA = "0x1A89890", Offset = "0x1A88290", VA = "0x181A89890")]
|
||||
public MockPortAdapter(KJDOCKDBNCK chip, string text, ReadWriteKind readWriteKind, CircuitType type, int connections, bool showDefaultValue)
|
||||
{
|
||||
string empty = string.Empty;
|
||||
this.text = empty;
|
||||
this.type = new MockTypeAdapter
|
||||
{
|
||||
key = (TypeKey)((ulong)1L)
|
||||
};
|
||||
Guid guid = Guid.NewGuid();
|
||||
Guid guid2 = Guid.NewGuid();
|
||||
this.JPBPGKDPEOP();
|
||||
this.Chip = chip;
|
||||
this.text = text;
|
||||
this.readWriteKind = readWriteKind;
|
||||
MockTypeAdapter mockTypeAdapter = new MockTypeAdapter();
|
||||
mockTypeAdapter.key = (TypeKey)((ulong)1L);
|
||||
TypeKey typeKey;
|
||||
mockTypeAdapter.key = typeKey;
|
||||
bool flag;
|
||||
mockTypeAdapter.isArray = flag;
|
||||
this.connections = 0;
|
||||
this.type = mockTypeAdapter;
|
||||
this.showDefaultValue = false;
|
||||
}
|
||||
|
||||
// Token: 0x0600FC20 RID: 64544 RVA: 0x003B26D4 File Offset: 0x003B08D4
|
||||
[Token(Token = "0x600FC20")]
|
||||
[Address(RVA = "0x1A894E0", Offset = "0x1A87EE0", VA = "0x181A894E0")]
|
||||
public void JKMHELILNGK()
|
||||
{
|
||||
if (this.connections == 1)
|
||||
{
|
||||
Action onIsConnectedChanged = this.OnIsConnectedChanged;
|
||||
if (onIsConnectedChanged != 0)
|
||||
{
|
||||
onIsConnectedChanged();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FC21 RID: 64545 RVA: 0x003B26FC File Offset: 0x003B08FC
|
||||
[Token(Token = "0x600FC21")]
|
||||
[Address(RVA = "0x1A89450", Offset = "0x1A87E50", VA = "0x181A89450")]
|
||||
public void HKPEMKDPFJL()
|
||||
{
|
||||
int num = this.connections - 1;
|
||||
int num2 = 0;
|
||||
int num3 = Math.Max(num, num2);
|
||||
this.connections = num3;
|
||||
}
|
||||
|
||||
// Token: 0x0400A77E RID: 42878
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400A77E")]
|
||||
[SerializeField]
|
||||
private string text;
|
||||
|
||||
// Token: 0x0400A77F RID: 42879
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400A77F")]
|
||||
[SerializeField]
|
||||
private bool isSelfPort;
|
||||
|
||||
// Token: 0x0400A780 RID: 42880
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x400A780")]
|
||||
[SerializeField]
|
||||
private ReadWriteKind readWriteKind;
|
||||
|
||||
// Token: 0x0400A781 RID: 42881
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400A781")]
|
||||
[SerializeField]
|
||||
private MockTypeAdapter type;
|
||||
|
||||
// Token: 0x0400A782 RID: 42882
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400A782")]
|
||||
[SerializeField]
|
||||
private int connections;
|
||||
|
||||
// Token: 0x0400A783 RID: 42883
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400A783")]
|
||||
[SerializeField]
|
||||
private string defaultValue;
|
||||
|
||||
// Token: 0x0400A784 RID: 42884
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400A784")]
|
||||
[SerializeField]
|
||||
private bool showDefaultValue;
|
||||
|
||||
// Token: 0x0400A788 RID: 42888
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x400A788")]
|
||||
[CompilerGenerated]
|
||||
private Action OnIsConnectedChanged;
|
||||
|
||||
// Token: 0x0400A789 RID: 42889
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x400A789")]
|
||||
[CompilerGenerated]
|
||||
private Action OnSpecificPortTypeChanged;
|
||||
|
||||
// Token: 0x0400A78A RID: 42890
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x400A78A")]
|
||||
[CompilerGenerated]
|
||||
private Action OnDefaultValueChanged;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using CircuitsV2;
|
||||
using CircuitsV2.Types;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.CircuitsV2.Adapter
|
||||
{
|
||||
// Token: 0x02002386 RID: 9094
|
||||
[Token(Token = "0x2002386")]
|
||||
[Serializable]
|
||||
[StructLayout(3)]
|
||||
public class MockTypeAdapter : PODGPJPDGJK
|
||||
{
|
||||
// Token: 0x17002AD7 RID: 10967
|
||||
// (get) Token: 0x0600FC22 RID: 64546 RVA: 0x003B2724 File Offset: 0x003B0924
|
||||
[Token(Token = "0x17002AD7")]
|
||||
public TypeKey Key
|
||||
{
|
||||
[Token(Token = "0x600FC22")]
|
||||
[Address(RVA = "0x3C1C50", Offset = "0x3C0650", VA = "0x1803C1C50", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return this.key;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002AD8 RID: 10968
|
||||
// (get) Token: 0x0600FC23 RID: 64547 RVA: 0x003B2738 File Offset: 0x003B0938
|
||||
[Token(Token = "0x17002AD8")]
|
||||
public bool IsArray
|
||||
{
|
||||
[Token(Token = "0x600FC23")]
|
||||
[Address(RVA = "0x4F5380", Offset = "0x4F3D80", VA = "0x1804F5380", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return this.isArray;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600FC24 RID: 64548 RVA: 0x003B274C File Offset: 0x003B094C
|
||||
[Token(Token = "0x600FC24")]
|
||||
[Address(RVA = "0x1A899E0", Offset = "0x1A883E0", VA = "0x181A899E0", Slot = "6")]
|
||||
public bool EJIEFLPGFBC(string ONGBFDACHHG, out CircuitSignal BECIIEHIPMJ)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600FC24)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean RecRoom.CircuitsV2.Adapter.MockTypeAdapter::EJIEFLPGFBC(System.String,CircuitsV2.CircuitSignal&)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:int32(var_0_01, ldc.i4:int32(0))
|
||||
stfld:Impl(CircuitSignal::impl, ldloc:valuetype [RecRoom.Circuitsv2.Runtime]CircuitsV2.CircuitSignal&(BECIIEHIPMJ), ldloc:int32[exp:Impl](var_0_01))
|
||||
stfld:object(CircuitSignal::backingObject, ldloc:valuetype [RecRoom.Circuitsv2.Runtime]CircuitsV2.CircuitSignal&(BECIIEHIPMJ), ldloc:int32[exp:object](var_0_01))
|
||||
}
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600FC25 RID: 64549 RVA: 0x003B2768 File Offset: 0x003B0968
|
||||
[Token(Token = "0x600FC25")]
|
||||
[Address(RVA = "0x790100", Offset = "0x78EB00", VA = "0x180790100")]
|
||||
public MockTypeAdapter()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600FC26 RID: 64550 RVA: 0x003B2784 File Offset: 0x003B0984
|
||||
[Token(Token = "0x600FC26")]
|
||||
[Address(RVA = "0x1A89C80", Offset = "0x1A88680", VA = "0x181A89C80")]
|
||||
public MockTypeAdapter(CircuitType type)
|
||||
{
|
||||
TypeKey typeKey = DJLBPGLAJOL.BNNGBEHKBHP(type);
|
||||
this.key = typeKey;
|
||||
bool flag = DJLBPGLAJOL.KFFFMJDJBEM(type);
|
||||
this.isArray = flag;
|
||||
}
|
||||
|
||||
// Token: 0x0600FC27 RID: 64551 RVA: 0x003B27BC File Offset: 0x003B09BC
|
||||
[Token(Token = "0x600FC27")]
|
||||
[Address(RVA = "0x1A899F0", Offset = "0x1A883F0", VA = "0x181A899F0")]
|
||||
public CircuitType JECOJLFHIHL()
|
||||
{
|
||||
if (this.key <= TypeKey.Class)
|
||||
{
|
||||
ClassType classType = TypeTool.CClass().End();
|
||||
}
|
||||
if (this.isArray)
|
||||
{
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0400A78B RID: 42891
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400A78B")]
|
||||
[SerializeField]
|
||||
private TypeKey key = (TypeKey)((ulong)1L);
|
||||
|
||||
// Token: 0x0400A78C RID: 42892
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x400A78C")]
|
||||
[SerializeField]
|
||||
private bool isArray;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace RecRoom.CircuitsV2.Adapter
|
||||
{
|
||||
// Token: 0x0200238B RID: 9099
|
||||
[Token(Token = "0x200238B")]
|
||||
[Serializable]
|
||||
[StructLayout(3, Size = 4)]
|
||||
public enum ReadWriteKind
|
||||
{
|
||||
// Token: 0x0400A7A4 RID: 42916
|
||||
[Token(Token = "0x400A7A4")]
|
||||
ReadOnly,
|
||||
// Token: 0x0400A7A5 RID: 42917
|
||||
[Token(Token = "0x400A7A5")]
|
||||
ReadWrite
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace RecRoom.CircuitsV2.Adapter
|
||||
{
|
||||
// Token: 0x0200238D RID: 9101
|
||||
[Token(Token = "0x200238D")]
|
||||
[Serializable]
|
||||
[StructLayout(3, Size = 4)]
|
||||
public enum TypeKey
|
||||
{
|
||||
// Token: 0x0400A7A8 RID: 42920
|
||||
[Token(Token = "0x400A7A8")]
|
||||
None,
|
||||
// Token: 0x0400A7A9 RID: 42921
|
||||
[Token(Token = "0x400A7A9")]
|
||||
Bool,
|
||||
// Token: 0x0400A7AA RID: 42922
|
||||
[Token(Token = "0x400A7AA")]
|
||||
Int,
|
||||
// Token: 0x0400A7AB RID: 42923
|
||||
[Token(Token = "0x400A7AB")]
|
||||
Float,
|
||||
// Token: 0x0400A7AC RID: 42924
|
||||
[Token(Token = "0x400A7AC")]
|
||||
String,
|
||||
// Token: 0x0400A7AD RID: 42925
|
||||
[Token(Token = "0x400A7AD")]
|
||||
Exec,
|
||||
// Token: 0x0400A7AE RID: 42926
|
||||
[Token(Token = "0x400A7AE")]
|
||||
Class
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user