149 lines
6.5 KiB
C#
149 lines
6.5 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Tools.MakerPenTools
|
|
{
|
|
// Token: 0x02002B69 RID: 11113
|
|
[Token(Token = "0x2002B69")]
|
|
public class TranslationSideHandle : MakerPenMeshHandle
|
|
{
|
|
// Token: 0x060128D9 RID: 75993 RVA: 0x00438950 File Offset: 0x00436B50
|
|
[Token(Token = "0x60128D9")]
|
|
[Address(RVA = "0x14C8D20", Offset = "0x14C7D20", VA = "0x1814C8D20")]
|
|
public void UpdateInteractive()
|
|
{
|
|
int num = 0;
|
|
base.LGIOJAKAFFM(35f, 35f, num != 0);
|
|
}
|
|
|
|
// Token: 0x060128DA RID: 75994 RVA: 0x00438970 File Offset: 0x00436B70
|
|
[Token(Token = "0x60128DA")]
|
|
[Address(RVA = "0x14C9830", Offset = "0x14C8830", VA = "0x1814C9830")]
|
|
protected void Update()
|
|
{
|
|
Transform transform = SingletonMonoBehaviour.ONCPNMDGGKG.CHLMFLCFGFL.transform;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
Transform transform2 = base.transform;
|
|
Vector3 vector2;
|
|
float z2 = vector2.z;
|
|
Vector3 vector3;
|
|
float z3 = vector3.z;
|
|
float num = MakerPenHandleManager.ONCPNMDGGKG.JDANHJNLKLI.LNFANGONFMN(num);
|
|
Transform transform3 = base.transform;
|
|
float z4 = Vector3.one.z;
|
|
Vector3 vector4;
|
|
float z5 = vector4.z;
|
|
base.AINFCKEPMDC();
|
|
}
|
|
|
|
// Token: 0x060128DB RID: 75995 RVA: 0x004389F0 File Offset: 0x00436BF0
|
|
[Token(Token = "0x60128DB")]
|
|
[Address(RVA = "0x14C97A0", Offset = "0x14C87A0", VA = "0x1814C97A0", Slot = "5")]
|
|
public override Vector3 GetLocalHandleOffset()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060128DB)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Vector3 RecRoom.Tools.MakerPenTools.TranslationSideHandle::GetLocalHandleOffset()
|
|
|
|
---> 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_forward)))
|
|
stloc:float32(var_2_11, ldfld:float32(Vector3::z, ldloc:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](var_1)))
|
|
}
|
|
|
|
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: 0x060128DC RID: 75996 RVA: 0x00438A10 File Offset: 0x00436C10
|
|
[Token(Token = "0x60128DC")]
|
|
[Address(RVA = "0x21C7FF0", Offset = "0x21C6FF0", VA = "0x1821C7FF0", Slot = "8")]
|
|
public override OJCIMLNJIOB CreateState<T>(ANECMOONIPJ<T> LHOMKMINCHH, CreationController KAMOHEPMEIF, Vector3 MMEIDGMCHNK)
|
|
{
|
|
Transform transform = base.transform;
|
|
Color baseColor = this.baseColor;
|
|
float z = MMEIDGMCHNK.z;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060128DD RID: 75997 RVA: 0x00438A38 File Offset: 0x00436C38
|
|
[Token(Token = "0x60128DD")]
|
|
[Address(RVA = "0x2186720", Offset = "0x2185720", VA = "0x182186720", Slot = "9")]
|
|
public override void OnClicked<T>(ANECMOONIPJ<T> LHOMKMINCHH, CreationController KAMOHEPMEIF)
|
|
{
|
|
Transform transform = base.transform;
|
|
int num = 0;
|
|
Vector3 vector;
|
|
if (vector == 0)
|
|
{
|
|
int num2 = 0;
|
|
if (num2 < LHOMKMINCHH)
|
|
{
|
|
num2 += num2;
|
|
if (num2 == LHOMKMINCHH)
|
|
{
|
|
vector += vector;
|
|
num2 += 31;
|
|
num2 += 19;
|
|
goto IL_41;
|
|
}
|
|
num2++;
|
|
}
|
|
return;
|
|
}
|
|
IL_41:
|
|
PCGBNHABFJL pcgbnhabfjl = new PCGBNHABFJL();
|
|
int num3 = 0;
|
|
pcgbnhabfjl.<IDEOLFKGHMH>k__BackingField = num;
|
|
Action<PCGBNHABFJL> action;
|
|
APANEBCNDDJ.OHLPJBFCABI<PCGBNHABFJL>(pcgbnhabfjl.GFBIJNLKLCM(num3), action).KOLCDBDBPFC();
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060128DE RID: 75998 RVA: 0x00438AB4 File Offset: 0x00436CB4
|
|
[Token(Token = "0x60128DE")]
|
|
[Address(RVA = "0x14BF350", Offset = "0x14BE350", VA = "0x1814BF350")]
|
|
public TranslationSideHandle()
|
|
{
|
|
}
|
|
|
|
// Token: 0x02002B6A RID: 11114
|
|
[Token(Token = "0x2002B6A")]
|
|
[CompilerGenerated]
|
|
private sealed class DKGNGPELNHP<T>
|
|
{
|
|
// Token: 0x060128DF RID: 75999 RVA: 0x00438AC8 File Offset: 0x00436CC8
|
|
[Token(Token = "0x60128DF")]
|
|
[Address(RVA = "0x1CC5E40", Offset = "0x1CC4E40", VA = "0x181CC5E40")]
|
|
public DKGNGPELNHP()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060128E0 RID: 76000 RVA: 0x00438AE4 File Offset: 0x00436CE4
|
|
[Token(Token = "0x60128E0")]
|
|
[Address(RVA = "0x2789030", Offset = "0x2788030", VA = "0x182789030")]
|
|
internal void <OnClicked>b__0(PCGBNHABFJL transformCommand)
|
|
{
|
|
Action defaultContextAction = AsyncVoidMethodBuilder.Create().m_coreState.m_defaultContextAction;
|
|
}
|
|
|
|
// Token: 0x0400BEE6 RID: 48870
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x400BEE6")]
|
|
public CreationController controller;
|
|
}
|
|
}
|
|
}
|