121 lines
5.0 KiB
C#
121 lines
5.0 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Circuits;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Core.Creation.Circuits
|
|
{
|
|
// Token: 0x02003320 RID: 13088
|
|
[Token(Token = "0x2003320")]
|
|
public class CircuitInputConnectionPoint : CircuitConnectionPoint
|
|
{
|
|
// Token: 0x17003DB6 RID: 15798
|
|
// (get) Token: 0x060165E0 RID: 91616 RVA: 0x00531FB8 File Offset: 0x005301B8
|
|
[Token(Token = "0x17003DB6")]
|
|
public override InputSlot? MNIEHHMNFFE
|
|
{
|
|
[Token(Token = "0x60165E0")]
|
|
[Address(RVA = "0x1CDC180", Offset = "0x1CDB180", VA = "0x181CDC180", Slot = "22")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060165E0)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Nullable`1<RecRoom.Circuits.InputSlot> RecRoom.Core.Creation.Circuits.CircuitInputConnectionPoint::get_MyInputSlot()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:InputSlot(var_0_06, ldfld:InputSlot(CircuitInputConnectionPoint::inputSlot, ldloc:CircuitInputConnectionPoint(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: 0x17003DB7 RID: 15799
|
|
// (get) Token: 0x060165E1 RID: 91617 RVA: 0x00531FCC File Offset: 0x005301CC
|
|
[Token(Token = "0x17003DB7")]
|
|
public bool OHPPNPAKIEA
|
|
{
|
|
[Token(Token = "0x60165E1")]
|
|
[Address(RVA = "0x1CDC160", Offset = "0x1CDB160", VA = "0x181CDC160")]
|
|
get
|
|
{
|
|
if (this.inputSlot == InputSlot.RESET)
|
|
{
|
|
}
|
|
return this.allowDefaultValuePin;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003DB8 RID: 15800
|
|
// (get) Token: 0x060165E2 RID: 91618 RVA: 0x00531FEC File Offset: 0x005301EC
|
|
[Token(Token = "0x17003DB8")]
|
|
public Transform LLLIBFFFLIN
|
|
{
|
|
[Token(Token = "0x60165E2")]
|
|
[Address(RVA = "0x1CDC0D0", Offset = "0x1CDB0D0", VA = "0x181CDC0D0")]
|
|
get
|
|
{
|
|
Transform transform = this.overrideDefaultValuePinTransform;
|
|
int num = 0;
|
|
if (!(transform != num))
|
|
{
|
|
return base.transform;
|
|
}
|
|
return this.overrideDefaultValuePinTransform;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003DB9 RID: 15801
|
|
// (get) Token: 0x060165E3 RID: 91619 RVA: 0x0053201C File Offset: 0x0053021C
|
|
[Token(Token = "0x17003DB9")]
|
|
public Vector3 KPGDFIMEPAD
|
|
{
|
|
[Token(Token = "0x60165E3")]
|
|
[Address(RVA = "0x1CDBFF0", Offset = "0x1CDAFF0", VA = "0x181CDBFF0")]
|
|
get
|
|
{
|
|
bool flag;
|
|
if (!flag)
|
|
{
|
|
}
|
|
float z = Vector3.one.z;
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060165E4 RID: 91620 RVA: 0x00532040 File Offset: 0x00530240
|
|
[Token(Token = "0x60165E4")]
|
|
[Address(RVA = "0x1CDBFE0", Offset = "0x1CDAFE0", VA = "0x181CDBFE0")]
|
|
public CircuitInputConnectionPoint()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400EA0F RID: 59919
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x400EA0F")]
|
|
public InputSlot inputSlot;
|
|
|
|
// Token: 0x0400EA10 RID: 59920
|
|
[FieldOffset(Offset = "0x94")]
|
|
[Token(Token = "0x400EA10")]
|
|
[SerializeField]
|
|
private bool allowDefaultValuePin = true;
|
|
|
|
// Token: 0x0400EA11 RID: 59921
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x400EA11")]
|
|
[SerializeField]
|
|
private Transform overrideDefaultValuePinTransform;
|
|
}
|
|
}
|