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: 0x02002154 RID: 8532
|
|
[Token(Token = "0x2002154")]
|
|
public abstract class BaseBlendedPlayerAnimationAssets : CCICBIOHEMC
|
|
{
|
|
// Token: 0x17002262 RID: 8802
|
|
// (get) Token: 0x0600D826 RID: 55334 RVA: 0x00319F6C File Offset: 0x0031816C
|
|
[Token(Token = "0x17002262")]
|
|
public float BPHIOMBNAAI
|
|
{
|
|
[Token(Token = "0x600D826")]
|
|
[Address(RVA = "0x19F2410", Offset = "0x19F1410", VA = "0x1819F2410", Slot = "4")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600D826)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002263 RID: 8803
|
|
// (get) Token: 0x0600D827 RID: 55335 RVA: 0x00319F90 File Offset: 0x00318190
|
|
[Token(Token = "0x17002263")]
|
|
public List<PlayerAnimationEvent> OKLNJOPHHDI
|
|
{
|
|
[Token(Token = "0x600D827")]
|
|
[Address(RVA = "0x19F24C0", Offset = "0x19F14C0", VA = "0x1819F24C0", 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: 0x0600D828 RID: 55336 RVA: 0x00319FD8 File Offset: 0x003181D8
|
|
[Token(Token = "0x600D828")]
|
|
[Address(RVA = "0x19F1BF0", Offset = "0x19F0BF0", VA = "0x1819F1BF0", Slot = "6")]
|
|
public bool MIBPDNPGPHP(CCICBIOHEMC IGBNEFLEGNO)
|
|
{
|
|
if (IGBNEFLEGNO == 0)
|
|
{
|
|
return 0 == this;
|
|
}
|
|
return IGBNEFLEGNO == this;
|
|
}
|
|
|
|
// Token: 0x0600D829 RID: 55337 RVA: 0x00319FF4 File Offset: 0x003181F4
|
|
[Token(Token = "0x600D829")]
|
|
[Address(RVA = "0x19F1BF0", Offset = "0x19F0BF0", VA = "0x1819F1BF0", Slot = "7")]
|
|
public bool BCCGBMGEGAH(CCICBIOHEMC IGBNEFLEGNO)
|
|
{
|
|
if (IGBNEFLEGNO == 0)
|
|
{
|
|
return 0 == this;
|
|
}
|
|
return IGBNEFLEGNO == this;
|
|
}
|
|
|
|
// Token: 0x0600D82A RID: 55338 RVA: 0x0031A010 File Offset: 0x00318210
|
|
[Token(Token = "0x600D82A")]
|
|
[Address(RVA = "0x19F1C80", Offset = "0x19F0C80", VA = "0x1819F1C80", 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: 0x17002264 RID: 8804
|
|
// (get) Token: 0x0600D82B RID: 55339 RVA: 0x0031A098 File Offset: 0x00318298
|
|
[Token(Token = "0x17002264")]
|
|
public bool HHLCDDDKMLL
|
|
{
|
|
[Token(Token = "0x600D82B")]
|
|
[Address(RVA = "0x19F2660", Offset = "0x19F1660", VA = "0x1819F2660", 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: 0x17002265 RID: 8805
|
|
// (get) Token: 0x0600D82C RID: 55340 RVA: 0x0031A0D0 File Offset: 0x003182D0
|
|
[Token(Token = "0x17002265")]
|
|
public bool LGNGODJAIHO
|
|
{
|
|
[Token(Token = "0x600D82C")]
|
|
[Address(RVA = "0x19F25A0", Offset = "0x19F15A0", VA = "0x1819F25A0", 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: 0x0600D82D RID: 55341 RVA: 0x0031A108 File Offset: 0x00318308
|
|
[Token(Token = "0x600D82D")]
|
|
[Address(RVA = "0x19F2230", Offset = "0x19F1230", VA = "0x1819F2230", 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: 0x0600D82E RID: 55342
|
|
[Token(Token = "0x600D82E")]
|
|
[Address(Slot = "12")]
|
|
protected abstract int NADDEBGJHNM();
|
|
|
|
// Token: 0x0600D82F RID: 55343
|
|
[Token(Token = "0x600D82F")]
|
|
[Address(Slot = "13")]
|
|
protected abstract CCICBIOHEMC EIODDDAHPJI(int EFBDCIJMFGD);
|
|
|
|
// Token: 0x0600D830 RID: 55344
|
|
[Token(Token = "0x600D830")]
|
|
[Address(Slot = "14")]
|
|
protected abstract float BCIABFLCMHA(int EFBDCIJMFGD);
|
|
|
|
// Token: 0x0600D831 RID: 55345 RVA: 0x0031A148 File Offset: 0x00318348
|
|
[Token(Token = "0x600D831")]
|
|
[Address(RVA = "0x19F20C0", Offset = "0x19F10C0", VA = "0x1819F20C0")]
|
|
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: 0x0600D832 RID: 55346 RVA: 0x0031A1AC File Offset: 0x003183AC
|
|
[Token(Token = "0x600D832")]
|
|
[Address(RVA = "0x19F23A0", Offset = "0x19F13A0", VA = "0x1819F23A0")]
|
|
protected BaseBlendedPlayerAnimationAssets()
|
|
{
|
|
List<PlayerAnimationEvent> list = new List();
|
|
this.events = list;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x0400899F RID: 35231
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400899F")]
|
|
private int lowerBlendAnimationIndex = (int)((ulong)(-1L));
|
|
|
|
// Token: 0x040089A0 RID: 35232
|
|
[FieldOffset(Offset = "0x14")]
|
|
[Token(Token = "0x40089A0")]
|
|
private int upperBlendAnimationIndex;
|
|
|
|
// Token: 0x040089A1 RID: 35233
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40089A1")]
|
|
private float blendAnimationT;
|
|
|
|
// Token: 0x040089A2 RID: 35234
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40089A2")]
|
|
private List<PlayerAnimationEvent> events;
|
|
}
|
|
}
|