108 lines
4.9 KiB
C#
108 lines
4.9 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.UI.Touch
|
|
{
|
|
// Token: 0x0200252B RID: 9515
|
|
[Token(Token = "0x200252B")]
|
|
[StructLayout(3)]
|
|
public class TouchDialogMenu : IndexableScreenHUDDialog
|
|
{
|
|
// Token: 0x17002CA4 RID: 11428
|
|
// (get) Token: 0x06010691 RID: 67217 RVA: 0x003D96BC File Offset: 0x003D78BC
|
|
[Token(Token = "0x17002CA4")]
|
|
public CBBAINEBLOC CFNMGLLCOCJ
|
|
{
|
|
[Token(Token = "0x6010691")]
|
|
[Address(RVA = "0x4EA8C0", Offset = "0x4E92C0", VA = "0x1804EA8C0")]
|
|
get
|
|
{
|
|
return this.menuType;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002CA5 RID: 11429
|
|
// (get) Token: 0x06010692 RID: 67218 RVA: 0x003D96D0 File Offset: 0x003D78D0
|
|
[Token(Token = "0x17002CA5")]
|
|
public override int AKGEGLEMFGM
|
|
{
|
|
[Token(Token = "0x6010692")]
|
|
[Address(RVA = "0x4EA8C0", Offset = "0x4E92C0", VA = "0x1804EA8C0", Slot = "6")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06010692)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 RecRoom.UI.Touch.TouchDialogMenu::get_Index()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:CBBAINEBLOC(var_0_06, ldfld:CBBAINEBLOC(TouchDialogMenu::menuType, ldloc:TouchDialogMenu(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: 0x06010693 RID: 67219 RVA: 0x003D96E4 File Offset: 0x003D78E4
|
|
[Token(Token = "0x6010693")]
|
|
[Address(RVA = "0x1330560", Offset = "0x132EF60", VA = "0x181330560", Slot = "5")]
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
TouchMenuDialogElement[] componentsInChildren = base.GetComponentsInChildren<TouchMenuDialogElement>(true);
|
|
this.FEBHFIMEJPN = componentsInChildren;
|
|
}
|
|
|
|
// Token: 0x06010694 RID: 67220 RVA: 0x003D9708 File Offset: 0x003D7908
|
|
[Token(Token = "0x6010694")]
|
|
[Address(RVA = "0x13305B0", Offset = "0x132EFB0", VA = "0x1813305B0", Slot = "7")]
|
|
public virtual void OnUpdate(ScreenPlayerController FINBOONIGDO, Player IEKDDPPNFPF, ScreenHUD PKAKIKHIFNG, LOCNHHPGIAG DBFBLNILIGL)
|
|
{
|
|
TouchMenuDialogElement[] febhfimejpn = this.FEBHFIMEJPN;
|
|
if (febhfimejpn != 0)
|
|
{
|
|
int num = 0;
|
|
int length = febhfimejpn.Length;
|
|
if (num < length)
|
|
{
|
|
if (febhfimejpn[num].isActiveAndEnabled)
|
|
{
|
|
}
|
|
num++;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06010695 RID: 67221 RVA: 0x003D9748 File Offset: 0x003D7948
|
|
[Token(Token = "0x6010695")]
|
|
[Address(RVA = "0x10C14B0", Offset = "0x10BFEB0", VA = "0x1810C14B0")]
|
|
public TouchDialogMenu()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400AEAD RID: 44717
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x400AEAD")]
|
|
[SerializeField]
|
|
[Header("Menu")]
|
|
private CBBAINEBLOC menuType;
|
|
|
|
// Token: 0x0400AEAE RID: 44718
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x400AEAE")]
|
|
private TouchMenuDialogElement[] FEBHFIMEJPN;
|
|
}
|
|
}
|