565 lines
22 KiB
C#
565 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 StansAssets.Foundation.Async;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020003FA RID: 1018
|
|
[Token(Token = "0x20003FA")]
|
|
public class GameRoleNodeWrapper : MonoBehaviourPun, EOCLMMENCKH
|
|
{
|
|
// Token: 0x170005A5 RID: 1445
|
|
// (get) Token: 0x06001FE3 RID: 8163 RVA: 0x000823E0 File Offset: 0x000805E0
|
|
[Token(Token = "0x170005A5")]
|
|
public static IReadOnlyList<GameRoleNodeWrapper> NDMIIABFBLD
|
|
{
|
|
[Token(Token = "0x6001FE3")]
|
|
[Address(RVA = "0x1958750", Offset = "0x1957750", VA = "0x181958750")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06001FE3)
|
|
|
|
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: 0x170005A6 RID: 1446
|
|
// (get) Token: 0x06001FE4 RID: 8164 RVA: 0x000823F4 File Offset: 0x000805F4
|
|
[Token(Token = "0x170005A6")]
|
|
public bool JBMFJOBFJHP
|
|
{
|
|
[Token(Token = "0x6001FE4")]
|
|
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "15")]
|
|
get
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x170005A7 RID: 1447
|
|
// (get) Token: 0x06001FE5 RID: 8165 RVA: 0x0000220F File Offset: 0x0000040F
|
|
// (set) Token: 0x06001FE6 RID: 8166 RVA: 0x00082404 File Offset: 0x00080604
|
|
[Token(Token = "0x170005A7")]
|
|
public Guid? LEPCNFOPHOC
|
|
{
|
|
[Token(Token = "0x6001FE5")]
|
|
[Address(RVA = "0x19587B0", Offset = "0x19577B0", VA = "0x1819587B0")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
[Token(Token = "0x6001FE6")]
|
|
[Address(RVA = "0x1958820", Offset = "0x1957820", VA = "0x181958820")]
|
|
set
|
|
{
|
|
Guid? jlnbhijkefn = this.JLNBHIJKEFN;
|
|
bool has_value = value.has_value;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
bool has_value2 = value.has_value;
|
|
this.ILGHELKBGMB();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x170005A8 RID: 1448
|
|
// (get) Token: 0x06001FE7 RID: 8167 RVA: 0x00082430 File Offset: 0x00080630
|
|
// (set) Token: 0x06001FE8 RID: 8168 RVA: 0x00082444 File Offset: 0x00080644
|
|
[Token(Token = "0x170005A8")]
|
|
public string MFPHCCFBEBE
|
|
{
|
|
[Token(Token = "0x6001FE7")]
|
|
[Address(RVA = "0x4177B0", Offset = "0x4167B0", VA = "0x1804177B0")]
|
|
get
|
|
{
|
|
return this.LLDNKHNEHCG;
|
|
}
|
|
[Token(Token = "0x6001FE8")]
|
|
[Address(RVA = "0x19587D0", Offset = "0x19577D0", VA = "0x1819587D0")]
|
|
set
|
|
{
|
|
if (this.LLDNKHNEHCG != value)
|
|
{
|
|
SimplePlayerEditableText simplePlayerEditableText = this.editableRoleName;
|
|
this.LLDNKHNEHCG = value;
|
|
simplePlayerEditableText.UpdateText();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001FE9 RID: 8169 RVA: 0x0008247C File Offset: 0x0008067C
|
|
[Token(Token = "0x6001FE9")]
|
|
[Address(RVA = "0x1957320", Offset = "0x1956320", VA = "0x181957320")]
|
|
public static KeyValuePair<string, object> GameRoleInstantationParam(Guid JPGBOLJNPPN)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06001FE9)
|
|
|
|
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: 0x06001FEA RID: 8170 RVA: 0x00082498 File Offset: 0x00080698
|
|
[Token(Token = "0x6001FEA")]
|
|
[Address(RVA = "0x1957390", Offset = "0x1956390", VA = "0x181957390")]
|
|
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: 0x06001FEB RID: 8171 RVA: 0x000824C8 File Offset: 0x000806C8
|
|
[Token(Token = "0x6001FEB")]
|
|
[Address(RVA = "0x1956770", Offset = "0x1955770", VA = "0x181956770", 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: 0x06001FEC RID: 8172 RVA: 0x0008259C File Offset: 0x0008079C
|
|
[Token(Token = "0x6001FEC")]
|
|
[Address(RVA = "0x19582F0", Offset = "0x19572F0", VA = "0x1819582F0")]
|
|
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, num, num);
|
|
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: 0x06001FED RID: 8173 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001FED")]
|
|
[Address(RVA = "0x1957600", Offset = "0x1956600", VA = "0x181957600")]
|
|
private void ILGHELKBGMB()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001FEE RID: 8174 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001FEE")]
|
|
[Address(RVA = "0x19578F0", Offset = "0x19568F0", VA = "0x1819578F0")]
|
|
private void JOCFOLAGFEE()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001FEF RID: 8175 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001FEF")]
|
|
[Address(RVA = "0x1956B70", Offset = "0x1955B70", VA = "0x181956B70")]
|
|
private void BNIOPOMCOBO(string MJCDDENNGOD)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001FF0 RID: 8176 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001FF0")]
|
|
[Address(RVA = "0x19574B0", Offset = "0x19564B0", VA = "0x1819574B0")]
|
|
private bool ICPEJMDKGCL()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001FF1 RID: 8177 RVA: 0x000826AC File Offset: 0x000808AC
|
|
[Token(Token = "0x6001FF1")]
|
|
[Address(RVA = "0x4177B0", Offset = "0x4167B0", VA = "0x1804177B0")]
|
|
private string OKNFMPEJJPA()
|
|
{
|
|
return this.LLDNKHNEHCG;
|
|
}
|
|
|
|
// Token: 0x06001FF2 RID: 8178 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001FF2")]
|
|
[Address(RVA = "0x1957DC0", Offset = "0x1956DC0", VA = "0x181957DC0", Slot = "14")]
|
|
protected override void OnDestroy()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001FF3 RID: 8179 RVA: 0x000826C0 File Offset: 0x000808C0
|
|
[Token(Token = "0x6001FF3")]
|
|
[Address(RVA = "0x19580C0", Offset = "0x19570C0", VA = "0x1819580C0")]
|
|
private void PNAKCHFJGCF()
|
|
{
|
|
this.JOCFOLAGFEE();
|
|
}
|
|
|
|
// Token: 0x06001FF4 RID: 8180 RVA: 0x000826D4 File Offset: 0x000808D4
|
|
[Token(Token = "0x6001FF4")]
|
|
[Address(RVA = "0x1956670", Offset = "0x1955670", VA = "0x181956670")]
|
|
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: 0x06001FF5 RID: 8181 RVA: 0x00082734 File Offset: 0x00080934
|
|
[Token(Token = "0x6001FF5")]
|
|
[Address(RVA = "0x1956AE0", Offset = "0x1955AE0", VA = "0x181956AE0")]
|
|
private void BDNGOIJLJPA()
|
|
{
|
|
CreationObjectSettingButtonUIControl lcodmnpmhkb = this.LCODMNPMHKB;
|
|
int num = 0;
|
|
if (lcodmnpmhkb != num)
|
|
{
|
|
string text = this.LCODMNPMHKB.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001FF6 RID: 8182 RVA: 0x00082768 File Offset: 0x00080968
|
|
[Token(Token = "0x6001FF6")]
|
|
[Address(RVA = "0x1956D50", Offset = "0x1955D50", VA = "0x181956D50", 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: 0x06001FF7 RID: 8183 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001FF7")]
|
|
[Address(RVA = "0x19580D0", Offset = "0x19570D0", VA = "0x1819580D0", 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: 0x06001FF8 RID: 8184 RVA: 0x000827F4 File Offset: 0x000809F4
|
|
[Token(Token = "0x6001FF8")]
|
|
[Address(RVA = "0x1958700", Offset = "0x1957700", VA = "0x181958700")]
|
|
public GameRoleNodeWrapper()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001FFA RID: 8186 RVA: 0x0008282C File Offset: 0x00080A2C
|
|
[Token(Token = "0x6001FFA")]
|
|
[Address(RVA = "0x1957150", Offset = "0x1956150", VA = "0x181957150")]
|
|
[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)
|
|
{
|
|
}
|
|
((IMainThreadDispatcher)propertyValueText).Init();
|
|
};
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001FFB RID: 8187 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001FFB")]
|
|
[Address(RVA = "0x1957B20", Offset = "0x1956B20", VA = "0x181957B20")]
|
|
[CompilerGenerated]
|
|
private bool KKJDNCFIDCJ()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001FFC RID: 8188 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001FFC")]
|
|
[Address(RVA = "0x1957C00", Offset = "0x1956C00", VA = "0x181957C00")]
|
|
[CompilerGenerated]
|
|
private void LGJCELPCBKE()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06001FFD RID: 8189 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001FFD")]
|
|
[Address(RVA = "0x1957810", Offset = "0x1956810", VA = "0x181957810")]
|
|
[CompilerGenerated]
|
|
private bool JKBAMDFBBFM()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x04001834 RID: 6196
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4001834")]
|
|
[SerializeField]
|
|
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
|
private Tool tool;
|
|
|
|
// Token: 0x04001835 RID: 6197
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4001835")]
|
|
[SerializeField]
|
|
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
|
private CircuitNodeDisplay circuitNodeDisplay;
|
|
|
|
// Token: 0x04001836 RID: 6198
|
|
[Token(Token = "0x4001836")]
|
|
private static List<GameRoleNodeWrapper> GNJGIBEKPJO = new List();
|
|
|
|
// Token: 0x04001837 RID: 6199
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4001837")]
|
|
[SerializeField]
|
|
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
|
private CreationObject creationObject;
|
|
|
|
// Token: 0x04001838 RID: 6200
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4001838")]
|
|
[SerializeField]
|
|
private SimplePlayerEditableText editableRoleName;
|
|
|
|
// Token: 0x04001839 RID: 6201
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4001839")]
|
|
private CreationObjectSettingButtonUIControl LCODMNPMHKB;
|
|
|
|
// Token: 0x0400183A RID: 6202
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x400183A")]
|
|
private Guid? JLNBHIJKEFN;
|
|
|
|
// Token: 0x0400183B RID: 6203
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x400183B")]
|
|
private string LLDNKHNEHCG = "New Role";
|
|
|
|
// Token: 0x0400183C RID: 6204
|
|
[Token(Token = "0x400183C")]
|
|
public const string ROLE_ID_INSTANTIATION_PARAM = "grn_rid";
|
|
|
|
// Token: 0x020003FB RID: 1019
|
|
[Token(Token = "0x20003FB")]
|
|
[CompilerGenerated]
|
|
private sealed class JKODFKABAIA
|
|
{
|
|
// Token: 0x06001FFE RID: 8190 RVA: 0x000828BC File Offset: 0x00080ABC
|
|
[Token(Token = "0x6001FFE")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
public JKODFKABAIA()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001FFF RID: 8191 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6001FFF")]
|
|
[Address(RVA = "0x195EB70", Offset = "0x195DB70", VA = "0x18195EB70")]
|
|
internal void <Start>b__4(bool pressed)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0400183D RID: 6205
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400183D")]
|
|
public CreationObjectSettingButtonUIControl instance;
|
|
|
|
// Token: 0x0400183E RID: 6206
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400183E")]
|
|
public GameRoleNodeWrapper <>4__this;
|
|
}
|
|
|
|
// Token: 0x020003FD RID: 1021
|
|
[Token(Token = "0x20003FD")]
|
|
[CompilerGenerated]
|
|
private sealed class JJKLCOLDACN
|
|
{
|
|
// Token: 0x06002004 RID: 8196 RVA: 0x0008293C File Offset: 0x00080B3C
|
|
[Token(Token = "0x6002004")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
public JJKLCOLDACN()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002005 RID: 8197 RVA: 0x00082950 File Offset: 0x00080B50
|
|
[Token(Token = "0x6002005")]
|
|
[Address(RVA = "0x195EA00", Offset = "0x195DA00", VA = "0x18195EA00")]
|
|
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: 0x04001842 RID: 6210
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001842")]
|
|
public CMDADAAOBHD roleId;
|
|
|
|
// Token: 0x04001843 RID: 6211
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4001843")]
|
|
public string newRoleName;
|
|
|
|
// Token: 0x04001844 RID: 6212
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4001844")]
|
|
public GameRoleNodeWrapper <>4__this;
|
|
}
|
|
}
|