Files
2026-04-08 23:40:05 +02:00

94 lines
4.8 KiB
C#

using System;
using System.Collections;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom.Core.Animation
{
// Token: 0x02002A07 RID: 10759
[Token(Token = "0x2002A07")]
[CreateAssetMenu]
[StructLayout(3)]
public class PlayerAnimationVignette : ScriptableObject
{
// Token: 0x06012CC4 RID: 76996 RVA: 0x0047C930 File Offset: 0x0047AB30
[Token(Token = "0x6012CC4")]
[Address(RVA = "0x1865280", Offset = "0x1863C80", VA = "0x181865280")]
public IEnumerator FNAEOIGFMBJ(GPPHJKMNPJM GGBGJPIJIHN)
{
/*
An exception occurred when decompiling this method (06012CC4)
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 1663
*/;
}
// Token: 0x06012CC5 RID: 76997 RVA: 0x0047C95C File Offset: 0x0047AB5C
[Token(Token = "0x6012CC5")]
[Address(RVA = "0x3C6D30", Offset = "0x3C5730", VA = "0x1803C6D30")]
public PlayerAnimationVignette()
{
}
// Token: 0x0400C9BF RID: 51647
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400C9BF")]
[SerializeField]
private PlayerAnimationVignette.KeyAnimation[] keys;
// Token: 0x02002A08 RID: 10760
[Token(Token = "0x2002A08")]
[Serializable]
private struct KeyAnimation
{
// Token: 0x0400C9C0 RID: 51648
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x400C9C0")]
public string name;
// Token: 0x0400C9C1 RID: 51649
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
[Token(Token = "0x400C9C1")]
public PlayerAnimation animation;
// Token: 0x0400C9C2 RID: 51650
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x400C9C2")]
public AdditiveAnimationWeight cameraWeight;
// Token: 0x0400C9C3 RID: 51651
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x400C9C3")]
public bool loop;
// Token: 0x0400C9C4 RID: 51652
[global::Cpp2IlInjected.FieldOffset(Offset = "0x2C")]
[Token(Token = "0x400C9C4")]
public float startDelay;
// Token: 0x0400C9C5 RID: 51653
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x400C9C5")]
public float loopDuration;
}
}
}