118 lines
5.4 KiB
C#
118 lines
5.4 KiB
C#
using System;
|
|
using System.Collections;
|
|
using AGUI.StackedUI;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace RecRoom.Core.Creation.Holotars
|
|
{
|
|
// Token: 0x020032F2 RID: 13042
|
|
[Token(Token = "0x20032F2")]
|
|
public class HolotarCountdownFlow : RecordableUIFlow
|
|
{
|
|
// Token: 0x060167B1 RID: 92081 RVA: 0x0053E674 File Offset: 0x0053C874
|
|
[Token(Token = "0x60167B1")]
|
|
[Address(RVA = "0xE984D0", Offset = "0xE972D0", VA = "0x180E984D0", Slot = "11")]
|
|
public override void OnFlowEntered(StackedUIFlowBase BFHJBBGCMAN)
|
|
{
|
|
base.OnFlowEntered(BFHJBBGCMAN);
|
|
HolotarCountdownFlow.PPADILCHBCC ppadilchbcc;
|
|
ppadilchbcc.System.IDisposable.Dispose();
|
|
ppadilchbcc.<>1__state = (int)((ulong)0L);
|
|
ppadilchbcc.<>4__this = this;
|
|
Coroutine coroutine = base.StartCoroutine(ppadilchbcc);
|
|
}
|
|
|
|
// Token: 0x060167B2 RID: 92082 RVA: 0x0053E6A8 File Offset: 0x0053C8A8
|
|
[Token(Token = "0x60167B2")]
|
|
[Address(RVA = "0xE98320", Offset = "0xE97120", VA = "0x180E98320")]
|
|
private IEnumerator BBCMBHHPHAB()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060167B2)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator RecRoom.Core.Creation.Holotars.HolotarCountdownFlow::BBCMBHHPHAB()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(PPADILCHBCC::System.IDisposable.Dispose, ldloc:PPADILCHBCC(var_0))
|
|
stfld:int32(PPADILCHBCC::<>1__state, ldloc:PPADILCHBCC(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
stfld:HolotarCountdownFlow(PPADILCHBCC::<>4__this, ldloc:PPADILCHBCC(var_0), ldloc:HolotarCountdownFlow(this))
|
|
}
|
|
|
|
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: 0x060167B3 RID: 92083 RVA: 0x0053E6CC File Offset: 0x0053C8CC
|
|
[Token(Token = "0x60167B3")]
|
|
[Address(RVA = "0xE983E0", Offset = "0xE971E0", VA = "0x180E983E0")]
|
|
private void FFHEADALFEO()
|
|
{
|
|
Text text = this.timeLabel;
|
|
int num = Mathf.FloorToInt(this.KPNEANMBENB);
|
|
string text2 = text.text;
|
|
this.countdownFillImage.fillAmount = 1f;
|
|
}
|
|
|
|
// Token: 0x060167B4 RID: 92084 RVA: 0x0053E70C File Offset: 0x0053C90C
|
|
[Token(Token = "0x60167B4")]
|
|
[Address(RVA = "0xE98380", Offset = "0xE97180", VA = "0x180E98380")]
|
|
public void Button_CancelCountdown()
|
|
{
|
|
AMFGMOBDFOF recordable = base.EOEODCNAPCB;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060167B5 RID: 92085 RVA: 0x0053E728 File Offset: 0x0053C928
|
|
[Token(Token = "0x60167B5")]
|
|
[Address(RVA = "0xE98540", Offset = "0xE97340", VA = "0x180E98540")]
|
|
public HolotarCountdownFlow()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400EAEC RID: 60140
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x400EAEC")]
|
|
[SerializeField]
|
|
private int countdownLength = (int)((ulong)5L);
|
|
|
|
// Token: 0x0400EAED RID: 60141
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x400EAED")]
|
|
[SerializeField]
|
|
private Text timeLabel;
|
|
|
|
// Token: 0x0400EAEE RID: 60142
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x400EAEE")]
|
|
[SerializeField]
|
|
private Image countdownFillImage;
|
|
|
|
// Token: 0x0400EAEF RID: 60143
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x400EAEF")]
|
|
[SerializeField]
|
|
private RecRoomAudioClip beepSfx;
|
|
|
|
// Token: 0x0400EAF0 RID: 60144
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x400EAF0")]
|
|
[SerializeField]
|
|
private RecRoomAudioClip recordingStartSfx;
|
|
|
|
// Token: 0x0400EAF1 RID: 60145
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x400EAF1")]
|
|
private float KPNEANMBENB;
|
|
}
|
|
}
|