192 lines
7.9 KiB
C#
192 lines
7.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using Delaunay;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Core.Screens.PlayerController
|
|
{
|
|
// Token: 0x02002A5D RID: 10845
|
|
[Token(Token = "0x2002A5D")]
|
|
[CreateAssetMenu]
|
|
[StructLayout(3)]
|
|
public class PlayerAnimation3DBlendedPoseSet : ScriptableObject
|
|
{
|
|
// Token: 0x17003284 RID: 12932
|
|
// (get) Token: 0x06012EDD RID: 77533 RVA: 0x00487FC0 File Offset: 0x004861C0
|
|
[Token(Token = "0x17003284")]
|
|
public List<AnimationVertex> AnimationData
|
|
{
|
|
[Token(Token = "0x6012EDD")]
|
|
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
|
get
|
|
{
|
|
return this.animationVertices;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003285 RID: 12933
|
|
// (get) Token: 0x06012EDE RID: 77534 RVA: 0x00487FD4 File Offset: 0x004861D4
|
|
[Token(Token = "0x17003285")]
|
|
public bool UseOverrideSpring
|
|
{
|
|
[Token(Token = "0x6012EDE")]
|
|
[Address(RVA = "0x651230", Offset = "0x64FC30", VA = "0x180651230")]
|
|
get
|
|
{
|
|
return this.useOverrideSpring;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003286 RID: 12934
|
|
// (get) Token: 0x06012EDF RID: 77535 RVA: 0x00487FE8 File Offset: 0x004861E8
|
|
[Token(Token = "0x17003286")]
|
|
public SimpleSpring6DConfig OverrideSpringParameters
|
|
{
|
|
[Token(Token = "0x6012EDF")]
|
|
[Address(RVA = "0x3C1250", Offset = "0x3BFC50", VA = "0x1803C1250")]
|
|
get
|
|
{
|
|
return this.overrideSpringParameters;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06012EE0 RID: 77536 RVA: 0x00487FFC File Offset: 0x004861FC
|
|
[Token(Token = "0x6012EE0")]
|
|
[Address(RVA = "0x11A0490", Offset = "0x119EE90", VA = "0x1811A0490")]
|
|
public void IFEPKMBCIND()
|
|
{
|
|
HMBJKFIMOFL hmbjkfimofl = new HMBJKFIMOFL();
|
|
string name = base.name;
|
|
string text;
|
|
Debug.LogError(text, this);
|
|
}
|
|
|
|
// Token: 0x06012EE1 RID: 77537 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6012EE1")]
|
|
[Address(RVA = "0x11A0640", Offset = "0x119F040", VA = "0x1811A0640")]
|
|
public PlayerAnimationAsset[] OLFGGPCLABA()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06012EE2 RID: 77538 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6012EE2")]
|
|
[Address(RVA = "0x11A0750", Offset = "0x119F150", VA = "0x1811A0750")]
|
|
public void PGHBBOJEBBP(Vector3 GLHHBDHELAO, ref float[] GCNBFMFIJAD)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06012EE3 RID: 77539 RVA: 0x00488024 File Offset: 0x00486224
|
|
[Token(Token = "0x6012EE3")]
|
|
[Address(RVA = "0x11A0580", Offset = "0x119EF80", VA = "0x1811A0580")]
|
|
private Vector4 LIALDDGDBPB(Vector4 PJEDBAONDPP)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06012EE3)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Vector4 RecRoom.Core.Screens.PlayerController.PlayerAnimation3DBlendedPoseSet::LIALDDGDBPB(UnityEngine.Vector4)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:int32(var_0_01, ldc.i4:int32(0))
|
|
stloc:int32(var_0_05, add:int32(ldloc:int32(var_0_01), ldc.i4:int32(1)))
|
|
stloc:int32(var_0_09, add:int32(ldloc:int32(var_0_05), ldc.i4:int32(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: 0x06012EE4 RID: 77540 RVA: 0x0048803C File Offset: 0x0048623C
|
|
[Token(Token = "0x6012EE4")]
|
|
[Address(RVA = "0x11A0BB0", Offset = "0x119F5B0", VA = "0x1811A0BB0")]
|
|
public PlayerAnimation3DBlendedPoseSet()
|
|
{
|
|
List<AnimationVertex> list = new List();
|
|
AnimationVertex animationVertex = new AnimationVertex();
|
|
float z = Vector3.zero.z;
|
|
list.Add(animationVertex);
|
|
AnimationVertex animationVertex2 = new AnimationVertex();
|
|
float z2 = Vector3.left.z;
|
|
list.Add(animationVertex2);
|
|
AnimationVertex animationVertex3 = new AnimationVertex();
|
|
float z3 = Vector3.right.z;
|
|
list.Add(animationVertex3);
|
|
AnimationVertex animationVertex4 = new AnimationVertex();
|
|
float z4 = Vector3.down.z;
|
|
list.Add(animationVertex4);
|
|
AnimationVertex animationVertex5 = new AnimationVertex();
|
|
float z5 = Vector3.up.z;
|
|
list.Add(animationVertex5);
|
|
AnimationVertex animationVertex6 = new AnimationVertex();
|
|
float z6 = Vector3.back.z;
|
|
list.Add(animationVertex6);
|
|
AnimationVertex animationVertex7 = new AnimationVertex();
|
|
float z7 = Vector3.forward.z;
|
|
list.Add(animationVertex7);
|
|
this.animationVertices = list;
|
|
List<Tetrahedron> list2 = new List();
|
|
this.tetrahedra = list2;
|
|
List<int> list3 = new List();
|
|
this.exteriorTriangleIndices = list3;
|
|
HMBJKFIMOFL hmbjkfimofl = new HMBJKFIMOFL();
|
|
this.pointLocator = hmbjkfimofl;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x0400CBF1 RID: 52209
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400CBF1")]
|
|
public IPPGHMJIMMO PoseType;
|
|
|
|
// Token: 0x0400CBF2 RID: 52210
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400CBF2")]
|
|
[SerializeField]
|
|
[Header("Animation Graph Vertices")]
|
|
private List<AnimationVertex> animationVertices;
|
|
|
|
// Token: 0x0400CBF3 RID: 52211
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400CBF3")]
|
|
[SerializeField]
|
|
private bool useOverrideSpring;
|
|
|
|
// Token: 0x0400CBF4 RID: 52212
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400CBF4")]
|
|
[SerializeField]
|
|
private SimpleSpring6DConfig overrideSpringParameters;
|
|
|
|
// Token: 0x0400CBF5 RID: 52213
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400CBF5")]
|
|
[SerializeField]
|
|
[HideInInspector]
|
|
private List<Tetrahedron> tetrahedra;
|
|
|
|
// Token: 0x0400CBF6 RID: 52214
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400CBF6")]
|
|
[SerializeField]
|
|
[HideInInspector]
|
|
private List<int> exteriorTriangleIndices;
|
|
|
|
// Token: 0x0400CBF7 RID: 52215
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400CBF7")]
|
|
[NonSerialized]
|
|
private readonly HMBJKFIMOFL pointLocator;
|
|
}
|
|
}
|