564 lines
22 KiB
C#
564 lines
22 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Text;
|
|
using AGUI.StackedUI;
|
|
using Cpp2IlInjected;
|
|
using Photon.Pun;
|
|
using RecRoom.AGUI.ToolUIs;
|
|
using RecRoom.Core.Creation;
|
|
using RecRoom.Core.Creation.Circuits;
|
|
using RecRoom.Systems.PlayerRoles;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020003F0 RID: 1008
|
|
[Token(Token = "0x20003F0")]
|
|
public class GameRoleNodeWrapper : MonoBehaviourPun, EOCLMMENCKH
|
|
{
|
|
// Token: 0x17000599 RID: 1433
|
|
// (get) Token: 0x06001F65 RID: 8037 RVA: 0x000812C4 File Offset: 0x0007F4C4
|
|
[Token(Token = "0x17000599")]
|
|
public static IReadOnlyList<GameRoleNodeWrapper> NDMIIABFBLD
|
|
{
|
|
[Token(Token = "0x6001F65")]
|
|
[Address(RVA = "0xE6F480", Offset = "0xE6E280", VA = "0x180E6F480")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06001F65)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IReadOnlyList`1<GameRoleNodeWrapper> GameRoleNodeWrapper::get_AllGameRoleNodes()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:class [mscorlib]System.Collections.Generic.List`1<class GameRoleNodeWrapper>(var_0_05, ldsfld:class [mscorlib]System.Collections.Generic.List`1<class GameRoleNodeWrapper>(GameRoleNodeWrapper::GNJGIBEKPJO))
|
|
}
|
|
|
|
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: 0x1700059A RID: 1434
|
|
// (get) Token: 0x06001F66 RID: 8038 RVA: 0x000812D8 File Offset: 0x0007F4D8
|
|
[Token(Token = "0x1700059A")]
|
|
public bool JBMFJOBFJHP
|
|
{
|
|
[Token(Token = "0x6001F66")]
|
|
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "15")]
|
|
get
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700059B RID: 1435
|
|
// (get) Token: 0x06001F67 RID: 8039 RVA: 0x0000220F File Offset: 0x0000040F
|
|
// (set) Token: 0x06001F68 RID: 8040 RVA: 0x000812E8 File Offset: 0x0007F4E8
|
|
[Token(Token = "0x1700059B")]
|
|
public Guid? LEPCNFOPHOC
|
|
{
|
|
[Token(Token = "0x6001F67")]
|
|
[Address(RVA = "0xE6F4E0", Offset = "0xE6E2E0", VA = "0x180E6F4E0")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
[Token(Token = "0x6001F68")]
|
|
[Address(RVA = "0xE6F550", Offset = "0xE6E350", VA = "0x180E6F550")]
|
|
set
|
|
{
|
|
Guid? jlnbhijkefn = this.JLNBHIJKEFN;
|
|
bool has_value = value.has_value;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
bool has_value2 = value.has_value;
|
|
this.ILGHELKBGMB();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700059C RID: 1436
|
|
// (get) Token: 0x06001F69 RID: 8041 RVA: 0x00081314 File Offset: 0x0007F514
|
|
// (set) Token: 0x06001F6A RID: 8042 RVA: 0x00081328 File Offset: 0x0007F528
|
|
[Token(Token = "0x1700059C")]
|
|
public string MFPHCCFBEBE
|
|
{
|
|
[Token(Token = "0x6001F69")]
|
|
[Address(RVA = "0x567CE0", Offset = "0x566AE0", VA = "0x180567CE0")]
|
|
get
|
|
{
|
|
return this.LLDNKHNEHCG;
|
|
}
|
|
[Token(Token = "0x6001F6A")]
|
|
[Address(RVA = "0xE6F500", Offset = "0xE6E300", VA = "0x180E6F500")]
|
|
set
|
|
{
|
|
if (this.LLDNKHNEHCG != value)
|
|
{
|
|
SimplePlayerEditableText simplePlayerEditableText = this.editableRoleName;
|
|
this.LLDNKHNEHCG = value;
|
|
simplePlayerEditableText.UpdateText();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001F6B RID: 8043 RVA: 0x00081360 File Offset: 0x0007F560
|
|
[Token(Token = "0x6001F6B")]
|
|
[Address(RVA = "0xE6E060", Offset = "0xE6CE60", VA = "0x180E6E060")]
|
|
public static KeyValuePair<string, object> GameRoleInstantationParam(Guid JPGBOLJNPPN)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06001F6B)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.KeyValuePair`2<System.String,System.Object> GameRoleNodeWrapper::GameRoleInstantationParam(System.Guid)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:int32(var_1_01, ldc.i4:int32(0))
|
|
stfld:int32(Guid::_a, ldloc:Guid[exp:valuetype [mscorlib]System.Guid&](JPGBOLJNPPN), ldloc:int32(var_1_01))
|
|
stfld:uint8(Guid::_d, ldloc:Guid[exp:valuetype [mscorlib]System.Guid&](JPGBOLJNPPN), ldloc:int32[exp:uint8](var_1_01))
|
|
}
|
|
|
|
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: 0x06001F6C RID: 8044 RVA: 0x0008137C File Offset: 0x0007F57C
|
|
[Token(Token = "0x6001F6C")]
|
|
[Address(RVA = "0xE6E0D0", Offset = "0xE6CED0", VA = "0x180E6E0D0")]
|
|
public static Guid? GetGuidFromInstantationParam(Dictionary<string, object> NALEOCMCCHH)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
bool flag;
|
|
if (!flag)
|
|
{
|
|
int num2 = 0;
|
|
NALEOCMCCHH.buckets = num2;
|
|
}
|
|
}
|
|
while (num != 0 && num == 0);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06001F6D RID: 8045 RVA: 0x000813AC File Offset: 0x0007F5AC
|
|
[Token(Token = "0x6001F6D")]
|
|
[Address(RVA = "0xE6D4B0", Offset = "0xE6C2B0", VA = "0x180E6D4B0", Slot = "13")]
|
|
protected override void Awake()
|
|
{
|
|
int num;
|
|
Dictionary<string, object> instantiationParameters;
|
|
bool flag;
|
|
do
|
|
{
|
|
base..ctor();
|
|
GameRoleNodeWrapper.GNJGIBEKPJO.Add(this);
|
|
SimplePlayerEditableText simplePlayerEditableText = this.editableRoleName;
|
|
Func<string> func = new Func(this.OKNFMPEJJPA);
|
|
simplePlayerEditableText.EditableTextGetter = func;
|
|
SimplePlayerEditableText simplePlayerEditableText2 = this.editableRoleName;
|
|
Action<string> action = new Action(this.BNIOPOMCOBO);
|
|
simplePlayerEditableText2.EditableTextSetter = action;
|
|
SimplePlayerEditableText simplePlayerEditableText3 = this.editableRoleName;
|
|
Func<bool> func2 = new Func(this.ICPEJMDKGCL);
|
|
simplePlayerEditableText3.EditableInteractableGetter = func2;
|
|
Tool tool = this.tool;
|
|
num = 0;
|
|
if (tool.InstantiationParameters == 0)
|
|
{
|
|
break;
|
|
}
|
|
instantiationParameters = this.tool.InstantiationParameters;
|
|
}
|
|
while (flag && instantiationParameters != 0 && instantiationParameters == 0);
|
|
this.CurrentRoleGuid = num;
|
|
Action action2 = new Action(this.PNAKCHFJGCF);
|
|
Action<GameRole> action3 = new Action(this.ACELJJHDOAI);
|
|
}
|
|
|
|
// Token: 0x06001F6E RID: 8046 RVA: 0x00081480 File Offset: 0x0007F680
|
|
[Token(Token = "0x6001F6E")]
|
|
[Address(RVA = "0xE6F030", Offset = "0xE6DE30", VA = "0x180E6F030")]
|
|
private void Start()
|
|
{
|
|
CreationObject creationObject = this.creationObject;
|
|
OMKPHDBNLKH<CreationObjectSettingButtonUIControl, bool>.DEDABHKCIBG <>9__22_ = GameRoleNodeWrapper.<>c.<>9__22_0;
|
|
if (<>9__22_ == 0)
|
|
{
|
|
GameRoleNodeWrapper.<>c.<>9__22_0 = (MakerPenPaletteConfigScreen screen) => screen.DefaultButtonUIControlPrefab;
|
|
}
|
|
OMKPHDBNLKH<CreationObjectSettingButtonUIControl, bool>.OHINDOLFNMP ohindolfnmp = new OMKPHDBNLKH.OHINDOLFNMP(this.GDJKHLMGNKG);
|
|
JFIDDJPNEHI jfiddjpnehi = new JFIDDJPNEHI(<>9__22_, ohindolfnmp, 2);
|
|
int num = 0;
|
|
ILINODKFHEO ilinodkfheo = creationObject.AddConfigurableSetting(jfiddjpnehi);
|
|
CreationObject creationObject2 = this.creationObject;
|
|
DOPNALIMPNA[] array = new DOPNALIMPNA[0];
|
|
Action action = new Action(this.LGJCELPCBKE);
|
|
Func<bool> func = new Func(this.JKBAMDFBBFM);
|
|
int num2 = 0;
|
|
int num3 = 0;
|
|
IMAFJGKHEMD imafjgkhemd = ONOKJPIMIIP.HBJAOEEJNMG(action, "Edit Role?", num3, num2, num, func);
|
|
if (imafjgkhemd != 0)
|
|
{
|
|
}
|
|
array[0] = imafjgkhemd;
|
|
Func<string> func2 = new Func(this.OKNFMPEJJPA);
|
|
Action<string> action2 = new Action(this.BNIOPOMCOBO);
|
|
Func<bool> func3 = new Func(this.ICPEJMDKGCL);
|
|
SimplePlayerEditableText simplePlayerEditableText = this.editableRoleName;
|
|
INAOBEINBGO inaobeinbgo;
|
|
if (inaobeinbgo != 0)
|
|
{
|
|
}
|
|
array[1] = inaobeinbgo;
|
|
ECJBHJOCKHL ecjbhjockhl = creationObject2.AddFoldoutMenu("Role", 2, array);
|
|
this.ILGHELKBGMB();
|
|
}
|
|
|
|
// Token: 0x06001F6F RID: 8047 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001F6F")]
|
|
[Address(RVA = "0xE6E340", Offset = "0xE6D140", VA = "0x180E6E340")]
|
|
private void ILGHELKBGMB()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001F70 RID: 8048 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001F70")]
|
|
[Address(RVA = "0xE6E630", Offset = "0xE6D430", VA = "0x180E6E630")]
|
|
private void JOCFOLAGFEE()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001F71 RID: 8049 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001F71")]
|
|
[Address(RVA = "0xE6D8B0", Offset = "0xE6C6B0", VA = "0x180E6D8B0")]
|
|
private void BNIOPOMCOBO(string MJCDDENNGOD)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001F72 RID: 8050 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001F72")]
|
|
[Address(RVA = "0xE6E1F0", Offset = "0xE6CFF0", VA = "0x180E6E1F0")]
|
|
private bool ICPEJMDKGCL()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001F73 RID: 8051 RVA: 0x0008158C File Offset: 0x0007F78C
|
|
[Token(Token = "0x6001F73")]
|
|
[Address(RVA = "0x567CE0", Offset = "0x566AE0", VA = "0x180567CE0")]
|
|
private string OKNFMPEJJPA()
|
|
{
|
|
return this.LLDNKHNEHCG;
|
|
}
|
|
|
|
// Token: 0x06001F74 RID: 8052 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001F74")]
|
|
[Address(RVA = "0xE6EB00", Offset = "0xE6D900", VA = "0x180E6EB00", Slot = "14")]
|
|
protected override void OnDestroy()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001F75 RID: 8053 RVA: 0x000815A0 File Offset: 0x0007F7A0
|
|
[Token(Token = "0x6001F75")]
|
|
[Address(RVA = "0xE6EE00", Offset = "0xE6DC00", VA = "0x180E6EE00")]
|
|
private void PNAKCHFJGCF()
|
|
{
|
|
this.JOCFOLAGFEE();
|
|
}
|
|
|
|
// Token: 0x06001F76 RID: 8054 RVA: 0x000815B4 File Offset: 0x0007F7B4
|
|
[Token(Token = "0x6001F76")]
|
|
[Address(RVA = "0xE6D3B0", Offset = "0xE6C1B0", VA = "0x180E6D3B0")]
|
|
private void ACELJJHDOAI(GameRole EBAJFKGFAAD)
|
|
{
|
|
Guid? jlnbhijkefn = this.JLNBHIJKEFN;
|
|
Guid roleGuid = EBAJFKGFAAD.roleGuid;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
string roleName = EBAJFKGFAAD.roleName;
|
|
if (this.LLDNKHNEHCG != roleName)
|
|
{
|
|
SimplePlayerEditableText simplePlayerEditableText = this.editableRoleName;
|
|
this.LLDNKHNEHCG = roleName;
|
|
simplePlayerEditableText.UpdateText();
|
|
}
|
|
this.BDNGOIJLJPA();
|
|
this.JOCFOLAGFEE();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001F77 RID: 8055 RVA: 0x00081614 File Offset: 0x0007F814
|
|
[Token(Token = "0x6001F77")]
|
|
[Address(RVA = "0xE6D820", Offset = "0xE6C620", VA = "0x180E6D820")]
|
|
private void BDNGOIJLJPA()
|
|
{
|
|
CreationObjectSettingButtonUIControl lcodmnpmhkb = this.LCODMNPMHKB;
|
|
int num = 0;
|
|
if (lcodmnpmhkb != num)
|
|
{
|
|
string text = this.LCODMNPMHKB.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001F78 RID: 8056 RVA: 0x00081648 File Offset: 0x0007F848
|
|
[Token(Token = "0x6001F78")]
|
|
[Address(RVA = "0xE6DA90", Offset = "0xE6C890", VA = "0x180E6DA90", Slot = "16")]
|
|
public void DeserializeFrom(KPNDFONGDGF HFBJGCHOANH)
|
|
{
|
|
int num = 0;
|
|
if (num != 0)
|
|
{
|
|
PlayerGameRoleManager instance = PlayerGameRoleManager.ONCPNMDGGKG;
|
|
bool flag;
|
|
if (!flag)
|
|
{
|
|
PlayerGameRoleManager instance2 = PlayerGameRoleManager.ONCPNMDGGKG;
|
|
bool flag2;
|
|
if (!flag2)
|
|
{
|
|
Debug.LogError(string.Format("Error deserializing GameRoleNode. Couldn't get or create Role with ID {0}", flag2));
|
|
}
|
|
Debug.Log(string.Format("Created non-existent role for GameRoleNode deserialization with guid {0} {1}", flag2, flag2), this);
|
|
PlayerGameRoleManager instance3 = PlayerGameRoleManager.ONCPNMDGGKG;
|
|
}
|
|
string text = string.Format("Found existing role for GameRoleNode deserialization with guid {0} {1}", flag, flag);
|
|
Debug.Log(text, this);
|
|
PlayerGameRoleManager instance4 = PlayerGameRoleManager.ONCPNMDGGKG;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001F79 RID: 8057 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001F79")]
|
|
[Address(RVA = "0xE6EE10", Offset = "0xE6DC10", VA = "0x180E6EE10", Slot = "17")]
|
|
public void SerializeTo(ref PDEKIHFJKHJ IABNDBNHMKF, ref MKNCHKCCIHK NHFINJNIPGK, StringBuilder BIPOIFGEMGB)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001F7A RID: 8058 RVA: 0x000816D4 File Offset: 0x0007F8D4
|
|
[Token(Token = "0x6001F7A")]
|
|
[Address(RVA = "0xE6F430", Offset = "0xE6E230", VA = "0x180E6F430")]
|
|
public GameRoleNodeWrapper()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001F7C RID: 8060 RVA: 0x0008170C File Offset: 0x0007F90C
|
|
[Token(Token = "0x6001F7C")]
|
|
[Address(RVA = "0xE6DE90", Offset = "0xE6CC90", VA = "0x180E6DE90")]
|
|
[CompilerGenerated]
|
|
private void GDJKHLMGNKG(CreationObjectSettingButtonUIControl GCCLEJOGCCE)
|
|
{
|
|
CreationObjectSettingButtonUIControl instance = GCCLEJOGCCE;
|
|
GameRoleNodeWrapper <>4__this = this;
|
|
this.LCODMNPMHKB = GCCLEJOGCCE;
|
|
string text = instance.PropertyDescription.text;
|
|
CreationObjectSettingButtonUIControl instance4 = instance;
|
|
Action<bool> action = delegate(bool pressed)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
};
|
|
CreationObjectSettingButtonUIControl instance2 = instance;
|
|
Func<bool> func = new Func(this.KKJDNCFIDCJ);
|
|
CreationObjectSettingButtonUIControl instance3 = instance;
|
|
if (GameRoleNodeWrapper.<>c.<>9__22_6 == 0)
|
|
{
|
|
GameRoleNodeWrapper.<>c.<>9__22_6 = delegate(CreationObjectSettingButtonUIControl ui)
|
|
{
|
|
TextMeshProUGUI propertyValueText = ui.PropertyValueText;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
bool isCompleted = ((IAsyncResult)propertyValueText).IsCompleted;
|
|
};
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001F7D RID: 8061 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001F7D")]
|
|
[Address(RVA = "0xE6E860", Offset = "0xE6D660", VA = "0x180E6E860")]
|
|
[CompilerGenerated]
|
|
private bool KKJDNCFIDCJ()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001F7E RID: 8062 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001F7E")]
|
|
[Address(RVA = "0xE6E940", Offset = "0xE6D740", VA = "0x180E6E940")]
|
|
[CompilerGenerated]
|
|
private void LGJCELPCBKE()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001F7F RID: 8063 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001F7F")]
|
|
[Address(RVA = "0xE6E550", Offset = "0xE6D350", VA = "0x180E6E550")]
|
|
[CompilerGenerated]
|
|
private bool JKBAMDFBBFM()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x040017DD RID: 6109
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40017DD")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false, false)]
|
|
private Tool tool;
|
|
|
|
// Token: 0x040017DE RID: 6110
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x40017DE")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false, false)]
|
|
private CircuitNodeDisplay circuitNodeDisplay;
|
|
|
|
// Token: 0x040017DF RID: 6111
|
|
[Token(Token = "0x40017DF")]
|
|
private static List<GameRoleNodeWrapper> GNJGIBEKPJO = new List();
|
|
|
|
// Token: 0x040017E0 RID: 6112
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x40017E0")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false, false)]
|
|
private CreationObject creationObject;
|
|
|
|
// Token: 0x040017E1 RID: 6113
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x40017E1")]
|
|
[SerializeField]
|
|
private SimplePlayerEditableText editableRoleName;
|
|
|
|
// Token: 0x040017E2 RID: 6114
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x40017E2")]
|
|
private CreationObjectSettingButtonUIControl LCODMNPMHKB;
|
|
|
|
// Token: 0x040017E3 RID: 6115
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x40017E3")]
|
|
private Guid? JLNBHIJKEFN;
|
|
|
|
// Token: 0x040017E4 RID: 6116
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x40017E4")]
|
|
private string LLDNKHNEHCG = "New Role";
|
|
|
|
// Token: 0x040017E5 RID: 6117
|
|
[Token(Token = "0x40017E5")]
|
|
public const string ROLE_ID_INSTANTIATION_PARAM = "grn_rid";
|
|
|
|
// Token: 0x020003F1 RID: 1009
|
|
[Token(Token = "0x20003F1")]
|
|
[CompilerGenerated]
|
|
private sealed class JKODFKABAIA
|
|
{
|
|
// Token: 0x06001F80 RID: 8064 RVA: 0x0008179C File Offset: 0x0007F99C
|
|
[Token(Token = "0x6001F80")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public JKODFKABAIA()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001F81 RID: 8065 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001F81")]
|
|
[Address(RVA = "0xE75880", Offset = "0xE74680", VA = "0x180E75880")]
|
|
internal void <Start>b__4(bool pressed)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x040017E6 RID: 6118
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40017E6")]
|
|
public CreationObjectSettingButtonUIControl instance;
|
|
|
|
// Token: 0x040017E7 RID: 6119
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40017E7")]
|
|
public GameRoleNodeWrapper <>4__this;
|
|
}
|
|
|
|
// Token: 0x020003F3 RID: 1011
|
|
[Token(Token = "0x20003F3")]
|
|
[CompilerGenerated]
|
|
private sealed class JJKLCOLDACN
|
|
{
|
|
// Token: 0x06001F86 RID: 8070 RVA: 0x00081820 File Offset: 0x0007FA20
|
|
[Token(Token = "0x6001F86")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public JJKLCOLDACN()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001F87 RID: 8071 RVA: 0x00081834 File Offset: 0x0007FA34
|
|
[Token(Token = "0x6001F87")]
|
|
[Address(RVA = "0xE75710", Offset = "0xE74510", VA = "0x180E75710")]
|
|
internal void <SetCurrentRoleName>b__0(NKHBKKGOIHL.PEHMCMIFBJO response)
|
|
{
|
|
if (response.<GBEEHFGKJOF>k__BackingField)
|
|
{
|
|
PlayerGameRoleManager instance = PlayerGameRoleManager.ONCPNMDGGKG;
|
|
string text = this.newRoleName;
|
|
CMDADAAOBHD cmdadaaobhd = this.roleId;
|
|
if (instance.LocalRequestModifyRoleName(cmdadaaobhd, text))
|
|
{
|
|
CMDADAAOBHD cmdadaaobhd2 = this.roleId;
|
|
Guid? jlnbhijkefn = this.<>4__this.JLNBHIJKEFN;
|
|
Debug.Log(string.Format("Sent Modify Role Name Request for {0} {1}", cmdadaaobhd2, cmdadaaobhd2));
|
|
GameRoleNodeWrapper gameRoleNodeWrapper = this.<>4__this;
|
|
string text2 = this.newRoleName;
|
|
if (gameRoleNodeWrapper.LLDNKHNEHCG != text2)
|
|
{
|
|
SimplePlayerEditableText editableRoleName = gameRoleNodeWrapper.editableRoleName;
|
|
gameRoleNodeWrapper.LLDNKHNEHCG = text2;
|
|
editableRoleName.UpdateText();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x040017EB RID: 6123
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40017EB")]
|
|
public CMDADAAOBHD roleId;
|
|
|
|
// Token: 0x040017EC RID: 6124
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40017EC")]
|
|
public string newRoleName;
|
|
|
|
// Token: 0x040017ED RID: 6125
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40017ED")]
|
|
public GameRoleNodeWrapper <>4__this;
|
|
}
|
|
}
|