118 lines
5.5 KiB
C#
118 lines
5.5 KiB
C#
using System;
|
|
using System.Collections;
|
|
using AGUI.StackedUI;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace RecRoom.Core.Creation.Holotars
|
|
{
|
|
// Token: 0x020033DF RID: 13279
|
|
[Token(Token = "0x20033DF")]
|
|
public class HolotarCountdownFlow : RecordableUIFlow
|
|
{
|
|
// Token: 0x06016C3D RID: 93245 RVA: 0x00549428 File Offset: 0x00547628
|
|
[Token(Token = "0x6016C3D")]
|
|
[Address(RVA = "0x192C000", Offset = "0x192B000", VA = "0x18192C000", 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: 0x06016C3E RID: 93246 RVA: 0x0054945C File Offset: 0x0054765C
|
|
[Token(Token = "0x6016C3E")]
|
|
[Address(RVA = "0x192BE50", Offset = "0x192AE50", VA = "0x18192BE50")]
|
|
private IEnumerator BBCMBHHPHAB()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06016C3E)
|
|
|
|
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: 0x06016C3F RID: 93247 RVA: 0x00549480 File Offset: 0x00547680
|
|
[Token(Token = "0x6016C3F")]
|
|
[Address(RVA = "0x192BF10", Offset = "0x192AF10", VA = "0x18192BF10")]
|
|
private void FFHEADALFEO()
|
|
{
|
|
Text text = this.timeLabel;
|
|
int num = Mathf.FloorToInt(this.KPNEANMBENB);
|
|
string text2 = text.text;
|
|
this.countdownFillImage.fillAmount = 1f;
|
|
}
|
|
|
|
// Token: 0x06016C40 RID: 93248 RVA: 0x005494C0 File Offset: 0x005476C0
|
|
[Token(Token = "0x6016C40")]
|
|
[Address(RVA = "0x192BEB0", Offset = "0x192AEB0", VA = "0x18192BEB0")]
|
|
public void Button_CancelCountdown()
|
|
{
|
|
AMFGMOBDFOF recordable = base.EOEODCNAPCB;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06016C41 RID: 93249 RVA: 0x005494DC File Offset: 0x005476DC
|
|
[Token(Token = "0x6016C41")]
|
|
[Address(RVA = "0x192C070", Offset = "0x192B070", VA = "0x18192C070")]
|
|
public HolotarCountdownFlow()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400ED32 RID: 60722
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x400ED32")]
|
|
[SerializeField]
|
|
private int countdownLength = (int)((ulong)5L);
|
|
|
|
// Token: 0x0400ED33 RID: 60723
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x400ED33")]
|
|
[SerializeField]
|
|
private Text timeLabel;
|
|
|
|
// Token: 0x0400ED34 RID: 60724
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x400ED34")]
|
|
[SerializeField]
|
|
private Image countdownFillImage;
|
|
|
|
// Token: 0x0400ED35 RID: 60725
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x400ED35")]
|
|
[SerializeField]
|
|
private RecRoomAudioClip beepSfx;
|
|
|
|
// Token: 0x0400ED36 RID: 60726
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x400ED36")]
|
|
[SerializeField]
|
|
private RecRoomAudioClip recordingStartSfx;
|
|
|
|
// Token: 0x0400ED37 RID: 60727
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x400ED37")]
|
|
private float KPNEANMBENB;
|
|
}
|
|
}
|