Files
Jan2021-Cpp2Il-Dump/Assembly-CSharp/RecRoom/Core/Creation/Holotars/HolotarUploadingFlow.cs
T
2026-04-08 23:40:05 +02:00

148 lines
8.8 KiB
C#

using System;
using System.Collections;
using System.Runtime.InteropServices;
using AGUI.StackedUI;
using Cpp2IlInjected;
using UnityEngine;
using UnityEngine.UI;
namespace RecRoom.Core.Creation.Holotars
{
// Token: 0x02002D30 RID: 11568
[Token(Token = "0x2002D30")]
[StructLayout(3)]
public class HolotarUploadingFlow : RecordableUIFlow
{
// Token: 0x06014712 RID: 83730 RVA: 0x004E6E3C File Offset: 0x004E503C
[Token(Token = "0x6014712")]
[Address(RVA = "0x170C2D0", Offset = "0x170ACD0", VA = "0x18170C2D0", Slot = "10")]
public override void OnFlowEntered(StackedUIFlowBase BFHJBBGCMAN)
{
base.OnFlowEntered(BFHJBBGCMAN);
Coroutine khpfganhbpo = this.KHPFGANHBPO;
this.SafeStopCoroutine(khpfganhbpo);
HolotarUploadingFlow.FHJLBLNJNPC fhjlblnjnpc;
fhjlblnjnpc.System.IDisposable.Dispose();
fhjlblnjnpc.<>1__state = (int)((ulong)0L);
fhjlblnjnpc.<>4__this = this;
Coroutine coroutine = base.StartCoroutine(fhjlblnjnpc);
this.KHPFGANHBPO = coroutine;
}
// Token: 0x06014713 RID: 83731 RVA: 0x004E6E84 File Offset: 0x004E5084
[Token(Token = "0x6014713")]
[Address(RVA = "0x170C220", Offset = "0x170AC20", VA = "0x18170C220")]
public void MarkSuccess()
{
Coroutine khpfganhbpo = this.KHPFGANHBPO;
this.SafeStopCoroutine(khpfganhbpo);
HolotarUploadingFlow.IDECMHOJCLO idecmhojclo;
idecmhojclo.System.IDisposable.Dispose();
idecmhojclo.<>1__state = (int)((ulong)0L);
idecmhojclo.<>4__this = this;
idecmhojclo.message = "Upload complete!";
Coroutine coroutine = base.StartCoroutine(idecmhojclo);
this.KHPFGANHBPO = coroutine;
}
// Token: 0x06014714 RID: 83732 RVA: 0x004E6ED0 File Offset: 0x004E50D0
[Token(Token = "0x6014714")]
[Address(RVA = "0x170C170", Offset = "0x170AB70", VA = "0x18170C170")]
public void MarkFailure()
{
Coroutine khpfganhbpo = this.KHPFGANHBPO;
this.SafeStopCoroutine(khpfganhbpo);
HolotarUploadingFlow.IDECMHOJCLO idecmhojclo;
idecmhojclo.System.IDisposable.Dispose();
idecmhojclo.<>1__state = (int)((ulong)0L);
idecmhojclo.<>4__this = this;
idecmhojclo.message = "Upload failed...";
Coroutine coroutine = base.StartCoroutine(idecmhojclo);
this.KHPFGANHBPO = coroutine;
}
// Token: 0x06014715 RID: 83733 RVA: 0x004E6F1C File Offset: 0x004E511C
[Token(Token = "0x6014715")]
[Address(RVA = "0x170C110", Offset = "0x170AB10", VA = "0x18170C110")]
private IEnumerator KJDKMEMFJHA()
{
/*
An exception occurred when decompiling this method (06014715)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator RecRoom.Core.Creation.Holotars.HolotarUploadingFlow::KJDKMEMFJHA()
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
call:void(FHJLBLNJNPC::System.IDisposable.Dispose, ldloc:FHJLBLNJNPC(var_0))
stfld:int32(FHJLBLNJNPC::<>1__state, ldloc:FHJLBLNJNPC(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
stfld:HolotarUploadingFlow(FHJLBLNJNPC::<>4__this, ldloc:FHJLBLNJNPC(var_0), ldloc:HolotarUploadingFlow(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: 0x06014716 RID: 83734 RVA: 0x004E6F40 File Offset: 0x004E5140
[Token(Token = "0x6014716")]
[Address(RVA = "0x170C0A0", Offset = "0x170AAA0", VA = "0x18170C0A0")]
private IEnumerator IFMMNJPFAKD(string NGPMADFHHKP)
{
/*
An exception occurred when decompiling this method (06014716)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator RecRoom.Core.Creation.Holotars.HolotarUploadingFlow::IFMMNJPFAKD(System.String)
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
call:void(IDECMHOJCLO::System.IDisposable.Dispose, ldloc:IDECMHOJCLO(var_0))
stfld:HolotarUploadingFlow(IDECMHOJCLO::<>4__this, ldloc:IDECMHOJCLO(var_0), ldloc:HolotarUploadingFlow(this))
stfld:int32(IDECMHOJCLO::<>1__state, ldloc:IDECMHOJCLO(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
stfld:string(IDECMHOJCLO::message, ldloc:IDECMHOJCLO(var_0), ldloc:string(NGPMADFHHKP))
}
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: 0x06014717 RID: 83735 RVA: 0x004E6F6C File Offset: 0x004E516C
[Token(Token = "0x6014717")]
[Address(RVA = "0x6A4030", Offset = "0x6A2A30", VA = "0x1806A4030")]
public HolotarUploadingFlow()
{
}
// Token: 0x0400DAC9 RID: 56009
[Token(Token = "0x400DAC9")]
private const int GDELFBDPMCD = 1;
// Token: 0x0400DACA RID: 56010
[Token(Token = "0x400DACA")]
private const int EHGBAALPIMN = 3;
// Token: 0x0400DACB RID: 56011
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x400DACB")]
[SerializeField]
private Text label;
// Token: 0x0400DACC RID: 56012
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x400DACC")]
private Coroutine KHPFGANHBPO;
}
}