176 lines
7.8 KiB
C#
176 lines
7.8 KiB
C#
using System;
|
|
using System.Collections;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core.Animation;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Core.Encounters
|
|
{
|
|
// Token: 0x02002FDD RID: 12253
|
|
[Token(Token = "0x2002FDD")]
|
|
public class PlayScreenAnimationVignetteEncounterStep : GameEncounterStep
|
|
{
|
|
// Token: 0x1700395F RID: 14687
|
|
// (get) Token: 0x06014DD1 RID: 85457 RVA: 0x004E19D4 File Offset: 0x004DFBD4
|
|
[Token(Token = "0x1700395F")]
|
|
public override string KODBEJPEFOJ
|
|
{
|
|
[Token(Token = "0x6014DD1")]
|
|
[Address(RVA = "0x8AF8D0", Offset = "0x8AE6D0", VA = "0x1808AF8D0", Slot = "4")]
|
|
get
|
|
{
|
|
return "Plays a ScreenAnimationVignette on the local player";
|
|
}
|
|
}
|
|
|
|
// Token: 0x06014DD2 RID: 85458 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6014DD2")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "9")]
|
|
public override void OnEncounterStart()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06014DD3 RID: 85459 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6014DD3")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "10")]
|
|
public override void OnEncounterStop()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06014DD4 RID: 85460 RVA: 0x004E19E8 File Offset: 0x004DFBE8
|
|
[Token(Token = "0x6014DD4")]
|
|
[Address(RVA = "0x8AF7E0", Offset = "0x8AE5E0", VA = "0x1808AF7E0")]
|
|
private IEnumerator MBPHBOOODBA(PlayerAnimationVignette ICAINNHGICK)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06014DD4)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator RecRoom.Core.Encounters.PlayScreenAnimationVignetteEncounterStep::MBPHBOOODBA(RecRoom.Core.Animation.PlayerAnimationVignette)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(IGJCPHFCHPK::System.IDisposable.Dispose, ldloc:IGJCPHFCHPK(var_0))
|
|
stfld:PlayScreenAnimationVignetteEncounterStep(IGJCPHFCHPK::<>4__this, ldloc:IGJCPHFCHPK(var_0), ldloc:PlayScreenAnimationVignetteEncounterStep(this))
|
|
stfld:int32(IGJCPHFCHPK::<>1__state, ldloc:IGJCPHFCHPK(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
stfld:PlayerAnimationVignette(IGJCPHFCHPK::vignette, ldloc:IGJCPHFCHPK(var_0), ldloc:PlayerAnimationVignette(ICAINNHGICK))
|
|
}
|
|
|
|
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: 0x06014DD5 RID: 85461 RVA: 0x004E1A14 File Offset: 0x004DFC14
|
|
[Token(Token = "0x6014DD5")]
|
|
[Address(RVA = "0x8AF850", Offset = "0x8AE650", VA = "0x1808AF850", Slot = "11")]
|
|
public override void OnStartRunning()
|
|
{
|
|
PlayerAnimationVignette playerAnimationVignette = this.vignette;
|
|
PlayScreenAnimationVignetteEncounterStep.IGJCPHFCHPK igjcphfchpk;
|
|
igjcphfchpk.System.IDisposable.Dispose();
|
|
igjcphfchpk.<>1__state = (int)((ulong)0L);
|
|
igjcphfchpk.<>4__this = this;
|
|
igjcphfchpk.vignette = playerAnimationVignette;
|
|
Coroutine coroutine = base.StartCoroutine(igjcphfchpk);
|
|
}
|
|
|
|
// Token: 0x06014DD6 RID: 85462 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6014DD6")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "12")]
|
|
public override void OnUpdateRunning()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06014DD7 RID: 85463 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6014DD7")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "13")]
|
|
public override void OnStopRunning()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06014DD8 RID: 85464 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6014DD8")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "14")]
|
|
public override void OnSkipRunning()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06014DD9 RID: 85465 RVA: 0x004E1A50 File Offset: 0x004DFC50
|
|
[Token(Token = "0x6014DD9")]
|
|
[Address(RVA = "0x8AF760", Offset = "0x8AE560", VA = "0x1808AF760", Slot = "15")]
|
|
public override bool IsBlockingEncounterEnd()
|
|
{
|
|
int finishCondition = this.finishCondition;
|
|
if (finishCondition != 0)
|
|
{
|
|
if (finishCondition != 0)
|
|
{
|
|
if (finishCondition != 1)
|
|
{
|
|
}
|
|
float num = this.POLMFGOLNLC.OKFCHCDDGCP;
|
|
float apmoagiimap = this.APMOAGIIMAP;
|
|
}
|
|
}
|
|
float num2 = this.POLMFGOLNLC.OKFCHCDDGCP;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06014DDA RID: 85466 RVA: 0x004E1A98 File Offset: 0x004DFC98
|
|
[Token(Token = "0x6014DDA")]
|
|
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "16")]
|
|
public override bool IsCompleted()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x06014DDB RID: 85467 RVA: 0x004E1AA8 File Offset: 0x004DFCA8
|
|
[Token(Token = "0x6014DDB")]
|
|
[Address(RVA = "0x89A170", Offset = "0x898F70", VA = "0x18089A170")]
|
|
public PlayScreenAnimationVignetteEncounterStep()
|
|
{
|
|
this.stepName = "New Step";
|
|
this.PNNLJIGIFDL = (int)((ulong)4294967295L);
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x0400DCDA RID: 56538
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400DCDA")]
|
|
[SerializeField]
|
|
[Header("Screens Animations")]
|
|
protected PlayerAnimationVignette vignette;
|
|
|
|
// Token: 0x0400DCDB RID: 56539
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x400DCDB")]
|
|
private float APMOAGIIMAP;
|
|
|
|
// Token: 0x02002FDE RID: 12254
|
|
[Token(Token = "0x2002FDE")]
|
|
public enum GADLOFBPNIL
|
|
{
|
|
// Token: 0x0400DCDD RID: 56541
|
|
[Token(Token = "0x400DCDD")]
|
|
TIME_ELAPSED,
|
|
// Token: 0x0400DCDE RID: 56542
|
|
[Token(Token = "0x400DCDE")]
|
|
IMMEDIATELY,
|
|
// Token: 0x0400DCDF RID: 56543
|
|
[Token(Token = "0x400DCDF")]
|
|
AFTER_VIGNETTE_DURATION
|
|
}
|
|
}
|
|
}
|