235 lines
8.6 KiB
C#
235 lines
8.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom
|
|
{
|
|
// Token: 0x02002068 RID: 8296
|
|
[Token(Token = "0x2002068")]
|
|
public abstract class BaseBlendedPlayerAnimationAssets : CCICBIOHEMC
|
|
{
|
|
// Token: 0x170021C3 RID: 8643
|
|
// (get) Token: 0x0600D41F RID: 54303 RVA: 0x00311110 File Offset: 0x0030F310
|
|
[Token(Token = "0x170021C3")]
|
|
public float BPHIOMBNAAI
|
|
{
|
|
[Token(Token = "0x600D41F")]
|
|
[Address(RVA = "0xF12960", Offset = "0xF11760", VA = "0x180F12960", Slot = "4")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600D41F)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single RecRoom.BaseBlendedPlayerAnimationAssets::get_Duration()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_11:
|
|
stloc:int32(var_2_14, add:int32(ldloc:int32(var_2_03), 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 1660
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170021C4 RID: 8644
|
|
// (get) Token: 0x0600D420 RID: 54304 RVA: 0x00311134 File Offset: 0x0030F334
|
|
[Token(Token = "0x170021C4")]
|
|
public List<PlayerAnimationEvent> OKLNJOPHHDI
|
|
{
|
|
[Token(Token = "0x600D420")]
|
|
[Address(RVA = "0xF12A10", Offset = "0xF11810", VA = "0x180F12A10", Slot = "5")]
|
|
get
|
|
{
|
|
int num5;
|
|
do
|
|
{
|
|
int num = this.lowerBlendAnimationIndex;
|
|
int num2 = 0;
|
|
int num3 = this.NADDEBGJHNM();
|
|
int num4 = this.upperBlendAnimationIndex;
|
|
num5 = this.NADDEBGJHNM();
|
|
if (num2 != 0)
|
|
{
|
|
if (num5 == 0)
|
|
{
|
|
}
|
|
float num6 = this.blendAnimationT;
|
|
}
|
|
}
|
|
while (num5 != 0);
|
|
return this.events;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D421 RID: 54305 RVA: 0x0031117C File Offset: 0x0030F37C
|
|
[Token(Token = "0x600D421")]
|
|
[Address(RVA = "0xF12140", Offset = "0xF10F40", VA = "0x180F12140", Slot = "6")]
|
|
public bool MIBPDNPGPHP(CCICBIOHEMC IGBNEFLEGNO)
|
|
{
|
|
if (IGBNEFLEGNO == 0)
|
|
{
|
|
return 0 == this;
|
|
}
|
|
return IGBNEFLEGNO == this;
|
|
}
|
|
|
|
// Token: 0x0600D422 RID: 54306 RVA: 0x00311198 File Offset: 0x0030F398
|
|
[Token(Token = "0x600D422")]
|
|
[Address(RVA = "0xF12140", Offset = "0xF10F40", VA = "0x180F12140", Slot = "7")]
|
|
public bool BCCGBMGEGAH(CCICBIOHEMC IGBNEFLEGNO)
|
|
{
|
|
if (IGBNEFLEGNO == 0)
|
|
{
|
|
return 0 == this;
|
|
}
|
|
return IGBNEFLEGNO == this;
|
|
}
|
|
|
|
// Token: 0x0600D423 RID: 54307 RVA: 0x003111B4 File Offset: 0x0030F3B4
|
|
[Token(Token = "0x600D423")]
|
|
[Address(RVA = "0xF121D0", Offset = "0xF10FD0", VA = "0x180F121D0", Slot = "8")]
|
|
public ACHNJMAHALI GFDKEGMBNID(float KGOBMDNKIDJ, bool LGHFIDJKEAL, AdditiveAnimationWeight FHJMKLOCIBK, bool OGNEEOLFMHI)
|
|
{
|
|
ACHNJMAHALI achnjmahali;
|
|
float codofndjlnp = achnjmahali.CODOFNDJLNP;
|
|
this.lowerBlendAnimationIndex = (int)KGOBMDNKIDJ;
|
|
this.events = codofndjlnp;
|
|
float w = achnjmahali.FJPMMIIMNJG.Rotation.w;
|
|
PlayerAnimationFrameTransform enoneadfacp = achnjmahali.ENONEADFACP;
|
|
float y = achnjmahali.ENONEADFACP.Rotation.y;
|
|
float z = achnjmahali.EAFCPPAEHJA.Rotation.z;
|
|
float w2 = achnjmahali.CPBIELIDPBI.Rotation.w;
|
|
this.lowerBlendAnimationIndex = enoneadfacp;
|
|
this.events = z;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x170021C5 RID: 8645
|
|
// (get) Token: 0x0600D424 RID: 54308 RVA: 0x0031123C File Offset: 0x0030F43C
|
|
[Token(Token = "0x170021C5")]
|
|
public bool HHLCDDDKMLL
|
|
{
|
|
[Token(Token = "0x600D424")]
|
|
[Address(RVA = "0xF12BB0", Offset = "0xF119B0", VA = "0x180F12BB0", Slot = "9")]
|
|
get
|
|
{
|
|
int num = this.lowerBlendAnimationIndex;
|
|
int num2 = this.upperBlendAnimationIndex;
|
|
if (this.NADDEBGJHNM() != 0)
|
|
{
|
|
return true;
|
|
}
|
|
int num3 = this.NADDEBGJHNM();
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x170021C6 RID: 8646
|
|
// (get) Token: 0x0600D425 RID: 54309 RVA: 0x00311274 File Offset: 0x0030F474
|
|
[Token(Token = "0x170021C6")]
|
|
public bool LGNGODJAIHO
|
|
{
|
|
[Token(Token = "0x600D425")]
|
|
[Address(RVA = "0xF12AF0", Offset = "0xF118F0", VA = "0x180F12AF0", Slot = "10")]
|
|
get
|
|
{
|
|
int num = this.lowerBlendAnimationIndex;
|
|
int num2 = this.upperBlendAnimationIndex;
|
|
if (this.NADDEBGJHNM() != 0)
|
|
{
|
|
return true;
|
|
}
|
|
int num3 = this.NADDEBGJHNM();
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D426 RID: 54310 RVA: 0x003112AC File Offset: 0x0030F4AC
|
|
[Token(Token = "0x600D426")]
|
|
[Address(RVA = "0xF12780", Offset = "0xF11580", VA = "0x180F12780", Slot = "11")]
|
|
public float OPLAKMEFOEF(float KGOBMDNKIDJ)
|
|
{
|
|
int num = this.lowerBlendAnimationIndex;
|
|
int num2 = this.upperBlendAnimationIndex;
|
|
int num3 = this.NADDEBGJHNM();
|
|
int num4 = this.NADDEBGJHNM();
|
|
float num5;
|
|
return num5;
|
|
}
|
|
|
|
// Token: 0x0600D427 RID: 54311
|
|
[Token(Token = "0x600D427")]
|
|
[Address(Slot = "12")]
|
|
protected abstract int NADDEBGJHNM();
|
|
|
|
// Token: 0x0600D428 RID: 54312
|
|
[Token(Token = "0x600D428")]
|
|
[Address(Slot = "13")]
|
|
protected abstract CCICBIOHEMC EIODDDAHPJI(int EFBDCIJMFGD);
|
|
|
|
// Token: 0x0600D429 RID: 54313
|
|
[Token(Token = "0x600D429")]
|
|
[Address(Slot = "14")]
|
|
protected abstract float BCIABFLCMHA(int EFBDCIJMFGD);
|
|
|
|
// Token: 0x0600D42A RID: 54314 RVA: 0x003112EC File Offset: 0x0030F4EC
|
|
[Token(Token = "0x600D42A")]
|
|
[Address(RVA = "0xF12610", Offset = "0xF11410", VA = "0x180F12610")]
|
|
public void LCOBEKIPNMH(float IEFBBOLCCFP)
|
|
{
|
|
float num = Mathf.Clamp01(IEFBBOLCCFP);
|
|
this.lowerBlendAnimationIndex = (int)((ulong)(-1L));
|
|
float num2 = this.OPLAKMEFOEF(IEFBBOLCCFP);
|
|
int num3 = 0;
|
|
CCICBIOHEMC ccicbiohemc = this.EIODDDAHPJI(num3);
|
|
if (num > num2)
|
|
{
|
|
this.lowerBlendAnimationIndex = num3;
|
|
}
|
|
this.upperBlendAnimationIndex = num3;
|
|
num3++;
|
|
num = Mathf.InverseLerp(float.MinValue, float.MaxValue, num);
|
|
float num4 = Mathf.SmoothStep((float)0, 1f, num);
|
|
}
|
|
|
|
// Token: 0x0600D42B RID: 54315 RVA: 0x00311350 File Offset: 0x0030F550
|
|
[Token(Token = "0x600D42B")]
|
|
[Address(RVA = "0xF128F0", Offset = "0xF116F0", VA = "0x180F128F0")]
|
|
protected BaseBlendedPlayerAnimationAssets()
|
|
{
|
|
List<PlayerAnimationEvent> list = new List();
|
|
this.events = list;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x040087CC RID: 34764
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40087CC")]
|
|
private int lowerBlendAnimationIndex = (int)((ulong)(-1L));
|
|
|
|
// Token: 0x040087CD RID: 34765
|
|
[FieldOffset(Offset = "0x14")]
|
|
[Token(Token = "0x40087CD")]
|
|
private int upperBlendAnimationIndex;
|
|
|
|
// Token: 0x040087CE RID: 34766
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40087CE")]
|
|
private float blendAnimationT;
|
|
|
|
// Token: 0x040087CF RID: 34767
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40087CF")]
|
|
private List<PlayerAnimationEvent> events;
|
|
}
|
|
}
|