a
This commit is contained in:
@@ -0,0 +1,208 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom.Core.Screens.PlayerController;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Core.Animation
|
||||
{
|
||||
// Token: 0x02002F11 RID: 12049
|
||||
[Token(Token = "0x2002F11")]
|
||||
public class HandPilotingAnimationPoseSet : ScriptableObject
|
||||
{
|
||||
// Token: 0x0601476C RID: 83820 RVA: 0x004C24F0 File Offset: 0x004C06F0
|
||||
[Token(Token = "0x601476C")]
|
||||
[Address(RVA = "0x1143EC0", Offset = "0x1142CC0", VA = "0x181143EC0")]
|
||||
public static PlayerAnimationAsset BGCHKBIDFEL(HandPilotingAnimationPoseSet EIGDBDCFAEO, HandPilotingAnimationPoseSet.PAEJCMGHNEG CNPDNFJOKGG)
|
||||
{
|
||||
if (CNPDNFJOKGG <= HandPilotingAnimationPoseSet.PAEJCMGHNEG.DownLeft_Far)
|
||||
{
|
||||
}
|
||||
return EIGDBDCFAEO.left;
|
||||
}
|
||||
|
||||
// Token: 0x0601476D RID: 83821 RVA: 0x004C2580 File Offset: 0x004C0780
|
||||
[Token(Token = "0x601476D")]
|
||||
[Address(RVA = "0x6EC220", Offset = "0x6EB020", VA = "0x1806EC220")]
|
||||
public HandPilotingAnimationPoseSet()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400D5C0 RID: 54720
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400D5C0")]
|
||||
[SerializeField]
|
||||
[Header("Near")]
|
||||
private PlayerAnimationAsset center;
|
||||
|
||||
// Token: 0x0400D5C1 RID: 54721
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400D5C1")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationAsset left;
|
||||
|
||||
// Token: 0x0400D5C2 RID: 54722
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400D5C2")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationAsset right;
|
||||
|
||||
// Token: 0x0400D5C3 RID: 54723
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400D5C3")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationAsset down;
|
||||
|
||||
// Token: 0x0400D5C4 RID: 54724
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400D5C4")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationAsset up;
|
||||
|
||||
// Token: 0x0400D5C5 RID: 54725
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400D5C5")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationAsset upLeft;
|
||||
|
||||
// Token: 0x0400D5C6 RID: 54726
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x400D5C6")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationAsset upRight;
|
||||
|
||||
// Token: 0x0400D5C7 RID: 54727
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x400D5C7")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationAsset downRight;
|
||||
|
||||
// Token: 0x0400D5C8 RID: 54728
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x400D5C8")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationAsset downLeft;
|
||||
|
||||
// Token: 0x0400D5C9 RID: 54729
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x400D5C9")]
|
||||
[SerializeField]
|
||||
[Header("Far")]
|
||||
private PlayerAnimationAsset centerFar;
|
||||
|
||||
// Token: 0x0400D5CA RID: 54730
|
||||
[FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x400D5CA")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationAsset leftFar;
|
||||
|
||||
// Token: 0x0400D5CB RID: 54731
|
||||
[FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x400D5CB")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationAsset rightFar;
|
||||
|
||||
// Token: 0x0400D5CC RID: 54732
|
||||
[FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x400D5CC")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationAsset downFar;
|
||||
|
||||
// Token: 0x0400D5CD RID: 54733
|
||||
[FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x400D5CD")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationAsset upFar;
|
||||
|
||||
// Token: 0x0400D5CE RID: 54734
|
||||
[FieldOffset(Offset = "0x88")]
|
||||
[Token(Token = "0x400D5CE")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationAsset upLeftFar;
|
||||
|
||||
// Token: 0x0400D5CF RID: 54735
|
||||
[FieldOffset(Offset = "0x90")]
|
||||
[Token(Token = "0x400D5CF")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationAsset upRightFar;
|
||||
|
||||
// Token: 0x0400D5D0 RID: 54736
|
||||
[FieldOffset(Offset = "0x98")]
|
||||
[Token(Token = "0x400D5D0")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationAsset downRightFar;
|
||||
|
||||
// Token: 0x0400D5D1 RID: 54737
|
||||
[FieldOffset(Offset = "0xA0")]
|
||||
[Token(Token = "0x400D5D1")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationAsset downLeftFar;
|
||||
|
||||
// Token: 0x0400D5D2 RID: 54738
|
||||
[FieldOffset(Offset = "0xA8")]
|
||||
[Token(Token = "0x400D5D2")]
|
||||
public PlayerAnimation3DBlendedPoseSet poseSet;
|
||||
|
||||
// Token: 0x02002F12 RID: 12050
|
||||
[Token(Token = "0x2002F12")]
|
||||
public enum PAEJCMGHNEG
|
||||
{
|
||||
// Token: 0x0400D5D4 RID: 54740
|
||||
[Token(Token = "0x400D5D4")]
|
||||
Center,
|
||||
// Token: 0x0400D5D5 RID: 54741
|
||||
[Token(Token = "0x400D5D5")]
|
||||
Left,
|
||||
// Token: 0x0400D5D6 RID: 54742
|
||||
[Token(Token = "0x400D5D6")]
|
||||
UpLeft,
|
||||
// Token: 0x0400D5D7 RID: 54743
|
||||
[Token(Token = "0x400D5D7")]
|
||||
Up,
|
||||
// Token: 0x0400D5D8 RID: 54744
|
||||
[Token(Token = "0x400D5D8")]
|
||||
UpRight,
|
||||
// Token: 0x0400D5D9 RID: 54745
|
||||
[Token(Token = "0x400D5D9")]
|
||||
Right,
|
||||
// Token: 0x0400D5DA RID: 54746
|
||||
[Token(Token = "0x400D5DA")]
|
||||
DownRight,
|
||||
// Token: 0x0400D5DB RID: 54747
|
||||
[Token(Token = "0x400D5DB")]
|
||||
Down,
|
||||
// Token: 0x0400D5DC RID: 54748
|
||||
[Token(Token = "0x400D5DC")]
|
||||
DownLeft,
|
||||
// Token: 0x0400D5DD RID: 54749
|
||||
[Token(Token = "0x400D5DD")]
|
||||
Center_Far,
|
||||
// Token: 0x0400D5DE RID: 54750
|
||||
[Token(Token = "0x400D5DE")]
|
||||
Left_Far,
|
||||
// Token: 0x0400D5DF RID: 54751
|
||||
[Token(Token = "0x400D5DF")]
|
||||
UpLeft_Far,
|
||||
// Token: 0x0400D5E0 RID: 54752
|
||||
[Token(Token = "0x400D5E0")]
|
||||
Up_Far,
|
||||
// Token: 0x0400D5E1 RID: 54753
|
||||
[Token(Token = "0x400D5E1")]
|
||||
UpRight_Far,
|
||||
// Token: 0x0400D5E2 RID: 54754
|
||||
[Token(Token = "0x400D5E2")]
|
||||
Right_Far,
|
||||
// Token: 0x0400D5E3 RID: 54755
|
||||
[Token(Token = "0x400D5E3")]
|
||||
DownRight_Far,
|
||||
// Token: 0x0400D5E4 RID: 54756
|
||||
[Token(Token = "0x400D5E4")]
|
||||
Down_Far,
|
||||
// Token: 0x0400D5E5 RID: 54757
|
||||
[Token(Token = "0x400D5E5")]
|
||||
DownLeft_Far,
|
||||
// Token: 0x0400D5E6 RID: 54758
|
||||
[Token(Token = "0x400D5E6")]
|
||||
COUNT
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Core.Animation
|
||||
{
|
||||
// Token: 0x02002F13 RID: 12051
|
||||
[Token(Token = "0x2002F13")]
|
||||
[CreateAssetMenu]
|
||||
public class PlayerAnimationVignette : ScriptableObject
|
||||
{
|
||||
// Token: 0x0601476E RID: 83822 RVA: 0x004C2594 File Offset: 0x004C0794
|
||||
[Token(Token = "0x601476E")]
|
||||
[Address(RVA = "0x1147D90", Offset = "0x1146B90", VA = "0x181147D90")]
|
||||
public IEnumerator FNAEOIGFMBJ(GPPHJKMNPJM GGBGJPIJIHN)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0601476E)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator RecRoom.Core.Animation.PlayerAnimationVignette::FNAEOIGFMBJ(GPPHJKMNPJM)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
call:void(DILJNPOMOIH::System.IDisposable.Dispose, ldloc:DILJNPOMOIH(var_0))
|
||||
stfld:PlayerAnimationVignette(DILJNPOMOIH::<>4__this, ldloc:DILJNPOMOIH(var_0), ldloc:PlayerAnimationVignette(this))
|
||||
stfld:int32(DILJNPOMOIH::<>1__state, ldloc:DILJNPOMOIH(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
||||
stfld:GPPHJKMNPJM(DILJNPOMOIH::animationSystem, ldloc:DILJNPOMOIH(var_0), ldloc:GPPHJKMNPJM(GGBGJPIJIHN))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0601476F RID: 83823 RVA: 0x004C25C0 File Offset: 0x004C07C0
|
||||
[Token(Token = "0x601476F")]
|
||||
[Address(RVA = "0x1147E00", Offset = "0x1146C00", VA = "0x181147E00")]
|
||||
public float JPCNDKLEFFG()
|
||||
{
|
||||
PlayerAnimationVignette.KeyAnimation[] array = this.keys;
|
||||
if (array != 0)
|
||||
{
|
||||
int num = 0;
|
||||
int length = array.Length;
|
||||
if (num < length)
|
||||
{
|
||||
long num2 = (long)((ulong)num * (ulong)56L);
|
||||
num++;
|
||||
}
|
||||
}
|
||||
throw new IndexOutOfRangeException();
|
||||
}
|
||||
|
||||
// Token: 0x06014770 RID: 83824 RVA: 0x004C25FC File Offset: 0x004C07FC
|
||||
[Token(Token = "0x6014770")]
|
||||
[Address(RVA = "0x6EC220", Offset = "0x6EB020", VA = "0x1806EC220")]
|
||||
public PlayerAnimationVignette()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400D5E7 RID: 54759
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400D5E7")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationVignette.KeyAnimation[] keys;
|
||||
|
||||
// Token: 0x02002F14 RID: 12052
|
||||
[Token(Token = "0x2002F14")]
|
||||
[Serializable]
|
||||
private struct KeyAnimation
|
||||
{
|
||||
// Token: 0x06014771 RID: 83825 RVA: 0x004C2610 File Offset: 0x004C0810
|
||||
[Token(Token = "0x6014771")]
|
||||
[Address(RVA = "0x1144BD0", Offset = "0x11439D0", VA = "0x181144BD0")]
|
||||
public float JPCNDKLEFFG()
|
||||
{
|
||||
if (!this.loop)
|
||||
{
|
||||
CCICBIOHEMC ccicbiohemc = this.animation.EIAFOKCOANL();
|
||||
int num = 0;
|
||||
num += num;
|
||||
num++;
|
||||
PlayerAnimation playerAnimation = this.animation;
|
||||
}
|
||||
return this.loopDuration;
|
||||
}
|
||||
|
||||
// Token: 0x0400D5E8 RID: 54760
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400D5E8")]
|
||||
public string name;
|
||||
|
||||
// Token: 0x0400D5E9 RID: 54761
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x400D5E9")]
|
||||
public PlayerAnimation animation;
|
||||
|
||||
// Token: 0x0400D5EA RID: 54762
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400D5EA")]
|
||||
public AdditiveAnimationWeight cameraWeight;
|
||||
|
||||
// Token: 0x0400D5EB RID: 54763
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400D5EB")]
|
||||
public bool loop;
|
||||
|
||||
// Token: 0x0400D5EC RID: 54764
|
||||
[FieldOffset(Offset = "0x2C")]
|
||||
[Token(Token = "0x400D5EC")]
|
||||
public float startDelay;
|
||||
|
||||
// Token: 0x0400D5ED RID: 54765
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400D5ED")]
|
||||
public float loopDuration;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Core.Animation
|
||||
{
|
||||
// Token: 0x02002F10 RID: 12048
|
||||
[Token(Token = "0x2002F10")]
|
||||
[CreateAssetMenu]
|
||||
public class ScreenPlayerLookLeanAnimationContent : ScriptableObject
|
||||
{
|
||||
// Token: 0x0601476B RID: 83819 RVA: 0x004C24C4 File Offset: 0x004C06C4
|
||||
[Token(Token = "0x601476B")]
|
||||
[Address(RVA = "0x114F8D0", Offset = "0x114E6D0", VA = "0x18114F8D0")]
|
||||
public ScreenPlayerLookLeanAnimationContent()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400D5B8 RID: 54712
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400D5B8")]
|
||||
[Header("Animations")]
|
||||
public PlayerAnimationAsset DefaultAnimation;
|
||||
|
||||
// Token: 0x0400D5B9 RID: 54713
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400D5B9")]
|
||||
public PlayerAnimationAsset PositiveYawExtreme;
|
||||
|
||||
// Token: 0x0400D5BA RID: 54714
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400D5BA")]
|
||||
public PlayerAnimationAsset NegativeYawExtreme;
|
||||
|
||||
// Token: 0x0400D5BB RID: 54715
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400D5BB")]
|
||||
public PlayerAnimationAsset PositivePitchExtreme;
|
||||
|
||||
// Token: 0x0400D5BC RID: 54716
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400D5BC")]
|
||||
public PlayerAnimationAsset NegativePitchExtreme;
|
||||
|
||||
// Token: 0x0400D5BD RID: 54717
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400D5BD")]
|
||||
[Header("Blend Values")]
|
||||
public float YawVelocityExtreme = 120f;
|
||||
|
||||
// Token: 0x0400D5BE RID: 54718
|
||||
[FieldOffset(Offset = "0x44")]
|
||||
[Token(Token = "0x400D5BE")]
|
||||
public float PitchVelocityExtreme = 80f;
|
||||
|
||||
// Token: 0x0400D5BF RID: 54719
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x400D5BF")]
|
||||
[Header("Spring")]
|
||||
public SimpleSpringConfig Spring;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user