578 lines
23 KiB
C#
578 lines
23 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
using AGUI.StackedUI;
|
|
using CircuitsV2;
|
|
using CircuitsV2.Graph;
|
|
using CircuitsV2.Types;
|
|
using CircuitsV2.Utilities;
|
|
using Cpp2IlInjected;
|
|
using Google.Protobuf;
|
|
using RecRoom.AGUI.ToolUIs;
|
|
using RecRoom.Networking.SynchronizedFields;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Core.Creation.Circuits
|
|
{
|
|
// Token: 0x02002C3F RID: 11327
|
|
[Token(Token = "0x2002C3F")]
|
|
[StructLayout(3)]
|
|
public class UGCAIPathPoint : EnemyPatrol, EOCLMMENCKH, CHJEFIDMANE, KKLIAEPNGJL
|
|
{
|
|
// Token: 0x17003532 RID: 13618
|
|
// (get) Token: 0x06013E9F RID: 81567 RVA: 0x004C713C File Offset: 0x004C533C
|
|
[Token(Token = "0x17003532")]
|
|
public Vector3 DFIAENJIEAH
|
|
{
|
|
[Token(Token = "0x6013E9F")]
|
|
[Address(RVA = "0x18D5F50", Offset = "0x18D4950", VA = "0x1818D5F50")]
|
|
get
|
|
{
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003533 RID: 13619
|
|
// (get) Token: 0x06013EA0 RID: 81568 RVA: 0x004C7158 File Offset: 0x004C5358
|
|
[Token(Token = "0x17003533")]
|
|
public Vector3 EHAINJEAMKF
|
|
{
|
|
[Token(Token = "0x6013EA0")]
|
|
[Address(RVA = "0x10571D0", Offset = "0x1055BD0", VA = "0x1810571D0")]
|
|
get
|
|
{
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06013EA1 RID: 81569 RVA: 0x004C7174 File Offset: 0x004C5374
|
|
[Token(Token = "0x6013EA1")]
|
|
[Address(RVA = "0x18D5050", Offset = "0x18D3A50", VA = "0x1818D5050", Slot = "20")]
|
|
public override float GetPauseTime(int HDANABPONGB)
|
|
{
|
|
Dictionary<int, UGCAIPathPoint> fpjpcakainj = UGCAIPathPoint.FPJPCAKAINJ;
|
|
bool flag;
|
|
if (!flag)
|
|
{
|
|
}
|
|
float num;
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06013EA2 RID: 81570 RVA: 0x004C7198 File Offset: 0x004C5398
|
|
[Token(Token = "0x6013EA2")]
|
|
[Address(RVA = "0x18D5B50", Offset = "0x18D4550", VA = "0x1818D5B50", Slot = "21")]
|
|
public override bool TryGetLookTarget(int HDANABPONGB, out Quaternion PFOODIBEKNL)
|
|
{
|
|
Dictionary<int, UGCAIPathPoint> fpjpcakainj = UGCAIPathPoint.FPJPCAKAINJ;
|
|
bool flag;
|
|
bool flag2;
|
|
if (flag && flag2)
|
|
{
|
|
return true;
|
|
}
|
|
Quaternion identity = Quaternion.identity;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06013EA3 RID: 81571 RVA: 0x004C71C4 File Offset: 0x004C53C4
|
|
[Token(Token = "0x6013EA3")]
|
|
[Address(RVA = "0x18D42D0", Offset = "0x18D2CD0", VA = "0x1818D42D0", Slot = "13")]
|
|
protected override void Awake()
|
|
{
|
|
base..ctor();
|
|
base.GetComponent<Tool>().DefaultCollisionLayer = (DAJFOCGPHGP)((ulong)27L);
|
|
Action action = new Action(this.OOGEAKBKOOI);
|
|
int num;
|
|
int num2;
|
|
SynchronizedField<bool> synchronizedField = new SynchronizedField(this, "AIP_FD", num, (SetterPermissionMode)num2, action, num2);
|
|
num2 = 0;
|
|
num = 0;
|
|
this.MNGLPBHBBEN = synchronizedField;
|
|
SynchronizedField<float> synchronizedField2 = new SynchronizedField(this, "AIP_PT", num, (SetterPermissionMode)num2, num2, num2);
|
|
this.GLBEMIOGEME = synchronizedField2;
|
|
Action<UGCAIPathPoint> action2 = new Action(this.GIPLJDEGBMO);
|
|
Action<UGCAIPathPoint> action3 = new Action(this.NCPJLDDPMDF);
|
|
int num3;
|
|
FPKNAGAJBMN<UGCAIPathPoint> fpknagajbmn = new FPKNAGAJBMN(this, "AIP_C", (SetterPermissionMode)num3, action2, action3);
|
|
num3 = 0;
|
|
this.IDJPGDMHIDD = fpknagajbmn;
|
|
ConnectionPoint connectionPoint = this.mainConnectionPoint;
|
|
ConnectionPoint.JFKNKMKCFBI jfknkmkcfbi = new ConnectionPoint.JFKNKMKCFBI(this.FOLGJPHIDJD);
|
|
connectionPoint.PFACAJHLDON += jfknkmkcfbi;
|
|
Dictionary<int, UGCAIPathPoint> fpjpcakainj = UGCAIPathPoint.FPJPCAKAINJ;
|
|
int id = base.JPOHGBCEJEJ;
|
|
fpjpcakainj.Add(id, this);
|
|
}
|
|
|
|
// Token: 0x06013EA4 RID: 81572 RVA: 0x004C72A0 File Offset: 0x004C54A0
|
|
[Token(Token = "0x6013EA4")]
|
|
[Address(RVA = "0x18D5430", Offset = "0x18D3E30", VA = "0x1818D5430", Slot = "14")]
|
|
protected override void OnDestroy()
|
|
{
|
|
base.OnDestroy();
|
|
Dictionary<int, UGCAIPathPoint> fpjpcakainj = UGCAIPathPoint.FPJPCAKAINJ;
|
|
int id = base.JPOHGBCEJEJ;
|
|
bool flag = fpjpcakainj.Remove(id);
|
|
ConnectionPoint connectionPoint = this.mainConnectionPoint;
|
|
ConnectionPoint.JFKNKMKCFBI jfknkmkcfbi = new ConnectionPoint.JFKNKMKCFBI(this.FOLGJPHIDJD);
|
|
connectionPoint.PFACAJHLDON -= jfknkmkcfbi;
|
|
this.IDJPGDMHIDD.Dispose();
|
|
}
|
|
|
|
// Token: 0x06013EA5 RID: 81573 RVA: 0x004C72F8 File Offset: 0x004C54F8
|
|
[Token(Token = "0x6013EA5")]
|
|
[Address(RVA = "0x18D4F80", Offset = "0x18D3980", VA = "0x1818D4F80")]
|
|
private void GIPLJDEGBMO(UGCAIPathPoint JOGMGBBAOFC)
|
|
{
|
|
this.BOBGNOFLNKI(JOGMGBBAOFC);
|
|
}
|
|
|
|
// Token: 0x06013EA6 RID: 81574 RVA: 0x004C730C File Offset: 0x004C550C
|
|
[Token(Token = "0x6013EA6")]
|
|
[Address(RVA = "0x18D5370", Offset = "0x18D3D70", VA = "0x1818D5370")]
|
|
private void NCPJLDDPMDF(UGCAIPathPoint JOGMGBBAOFC)
|
|
{
|
|
GameObject gameObject = base.gameObject;
|
|
int id = JOGMGBBAOFC.JPOHGBCEJEJ;
|
|
bool flag = ConnectionRenderer.Remove(gameObject, id);
|
|
}
|
|
|
|
// Token: 0x06013EA7 RID: 81575 RVA: 0x004C7338 File Offset: 0x004C5538
|
|
[Token(Token = "0x6013EA7")]
|
|
[Address(RVA = "0x18D53C0", Offset = "0x18D3DC0", VA = "0x1818D53C0")]
|
|
private void OOGEAKBKOOI()
|
|
{
|
|
SynchronizedField<bool> mnglpbhbben = this.MNGLPBHBBEN;
|
|
GameObject gameObject = this.pointerMesh;
|
|
bool flag = mnglpbhbben.Get() != null;
|
|
gameObject.SetActive(flag);
|
|
}
|
|
|
|
// Token: 0x06013EA8 RID: 81576 RVA: 0x004C7368 File Offset: 0x004C5568
|
|
[Token(Token = "0x6013EA8")]
|
|
[Address(RVA = "0x18D5AB0", Offset = "0x18D44B0", VA = "0x1818D5AB0")]
|
|
private void Start()
|
|
{
|
|
this.DFGKELFCGAO();
|
|
SynchronizedField<bool> mnglpbhbben = this.MNGLPBHBBEN;
|
|
GameObject gameObject = this.pointerMesh;
|
|
bool flag = mnglpbhbben.Get() != null;
|
|
gameObject.SetActive(flag);
|
|
this.IDJPGDMHIDD.PEGKGNLDOEH();
|
|
}
|
|
|
|
// Token: 0x06013EA9 RID: 81577 RVA: 0x004C73A8 File Offset: 0x004C55A8
|
|
[Token(Token = "0x6013EA9")]
|
|
[Address(RVA = "0x18D5100", Offset = "0x18D3B00", VA = "0x1818D5100", Slot = "15")]
|
|
public override bool HasReachedTarget(Vector3 PJBCOJLDFMH, Vector3 JJGDNPNBINJ)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06013EA9)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean RecRoom.Core.Creation.Circuits.UGCAIPathPoint::HasReachedTarget(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:float32(var_1_08, ldfld:float32(Vector3::z, ldloc:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](JJGDNPNBINJ)))
|
|
stloc:float32(var_2_0F, ldfld:float32(Vector3::z, ldloc:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](PJBCOJLDFMH)))
|
|
stloc:float32(var_4_16, ldfld:float32(Vector3::z, ldloc:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](var_3)))
|
|
}
|
|
|
|
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: 0x06013EAA RID: 81578 RVA: 0x004C73D4 File Offset: 0x004C55D4
|
|
[Token(Token = "0x6013EAA")]
|
|
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "16")]
|
|
public override bool HasFinishedPatrol(int HDANABPONGB)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06013EAB RID: 81579 RVA: 0x004C73E4 File Offset: 0x004C55E4
|
|
[Token(Token = "0x6013EAB")]
|
|
[Address(RVA = "0x18D5C80", Offset = "0x18D4680", VA = "0x1818D5C80", Slot = "17")]
|
|
public override bool TryGetNextTarget(int HDANABPONGB, out int MMDNOCLDKFN, out Vector3 JJGDNPNBINJ)
|
|
{
|
|
int num = 0;
|
|
IReadOnlyList readOnlyList;
|
|
if (UGCAIPathPoint.FPJPCAKAINJ.TryGetValue(HDANABPONGB, num) && num < readOnlyList)
|
|
{
|
|
num += num;
|
|
if (num == readOnlyList)
|
|
{
|
|
goto IL_65;
|
|
}
|
|
num++;
|
|
}
|
|
if (!this.areaController.TryGetPosition(out JJGDNPNBINJ, 2f))
|
|
{
|
|
Transform transform = base.transform;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
JJGDNPNBINJ.z = z;
|
|
}
|
|
int id = base.JPOHGBCEJEJ;
|
|
MMDNOCLDKFN.m_value = id;
|
|
IL_65:
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06013EAC RID: 81580 RVA: 0x004C745C File Offset: 0x004C565C
|
|
[Token(Token = "0x6013EAC")]
|
|
[Address(RVA = "0x10571D0", Offset = "0x1055BD0", VA = "0x1810571D0", Slot = "18")]
|
|
public override Vector3 GetGizmoPosition()
|
|
{
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06013EAD RID: 81581 RVA: 0x004C7478 File Offset: 0x004C5678
|
|
[Token(Token = "0x6013EAD")]
|
|
[Address(RVA = "0x18D4E50", Offset = "0x18D3850", VA = "0x1818D4E50")]
|
|
private void FOLGJPHIDJD(ConnectionPoint HDPMJFANOPG, ConnectionPoint GFMAOEPEFKD, [Optional] ConnectionPoint.PGHEPJALOOK CEAGPJIOMJP)
|
|
{
|
|
ConnectionPoint connectionPoint = this.mainConnectionPoint;
|
|
if (HDPMJFANOPG == connectionPoint)
|
|
{
|
|
UGCAIPathPoint componentInParent = GFMAOEPEFKD.GetComponentInParent<UGCAIPathPoint>();
|
|
if (componentInParent)
|
|
{
|
|
bool flag = ListExt.Contains<UGCAIPathPoint>(this.IDJPGDMHIDD.LIEHHFCJEOK(), componentInParent);
|
|
FPKNAGAJBMN<UGCAIPathPoint> idjpgdmhidd = this.IDJPGDMHIDD;
|
|
if (flag)
|
|
{
|
|
throw new NullReferenceException();
|
|
}
|
|
idjpgdmhidd.BPAJKKAGPKB(componentInParent);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06013EAE RID: 81582 RVA: 0x004C74D0 File Offset: 0x004C56D0
|
|
[Token(Token = "0x6013EAE")]
|
|
[Address(RVA = "0x18D4580", Offset = "0x18D2F80", VA = "0x1818D4580")]
|
|
private void BOBGNOFLNKI(UGCAIPathPoint LBPIJFELLCN)
|
|
{
|
|
ConnectionPoint connectionPoint = this.mainConnectionPoint;
|
|
ConnectionPoint connectionPoint2 = LBPIJFELLCN.mainConnectionPoint;
|
|
GameObject gameObject = base.gameObject;
|
|
GameObject gameObject2 = LBPIJFELLCN.gameObject;
|
|
int id = LBPIJFELLCN.JPOHGBCEJEJ;
|
|
Action internalOnDestroying = this.internalOnDestroying;
|
|
}
|
|
|
|
// Token: 0x06013EAF RID: 81583 RVA: 0x004C7520 File Offset: 0x004C5720
|
|
[Token(Token = "0x6013EAF")]
|
|
[Address(RVA = "0x18D4900", Offset = "0x18D3300", VA = "0x1818D4900")]
|
|
protected void DFGKELFCGAO()
|
|
{
|
|
CreationObject component = base.GetComponent<CreationObject>();
|
|
OMKPHDBNLKH<CreationObjectSettingBooleanUIControl, bool>.DEDABHKCIBG <>9__26_ = UGCAIPathPoint.<>c.<>9__26_0;
|
|
if (<>9__26_ == 0)
|
|
{
|
|
UGCAIPathPoint.<>c.<>9__26_0 = (MakerPenPaletteConfigScreen editableUiFlow) => editableUiFlow.DefaultBoolUIControlPrefab;
|
|
}
|
|
OMKPHDBNLKH<CreationObjectSettingBooleanUIControl, bool>.OHINDOLFNMP ohindolfnmp = new OMKPHDBNLKH.OHINDOLFNMP(this.JMBDLOHHDKD);
|
|
CPNMFOKDBKM cpnmfokdbkm = new CPNMFOKDBKM(<>9__26_, ohindolfnmp, 100);
|
|
ILINODKFHEO ilinodkfheo = component.AddConfigurableSetting(cpnmfokdbkm);
|
|
OMKPHDBNLKH<CreationObjectSettingFloatUIControl, float>.DEDABHKCIBG dedabhkcibg;
|
|
if (UGCAIPathPoint.<>c.<>9__26_2 == 0)
|
|
{
|
|
dedabhkcibg = (MakerPenPaletteConfigScreen editableUiFlow) => editableUiFlow.DefaultFloatUIControlPrefab;
|
|
UGCAIPathPoint.<>c.<>9__26_2 = dedabhkcibg;
|
|
}
|
|
OMKPHDBNLKH<CreationObjectSettingFloatUIControl, float>.OHINDOLFNMP ohindolfnmp2 = new OMKPHDBNLKH.OHINDOLFNMP(this.GNHIJDICIPA);
|
|
EKPFBGIIJNK ekpfbgiijnk = new EKPFBGIIJNK(dedabhkcibg, ohindolfnmp2, 99);
|
|
ILINODKFHEO ilinodkfheo2 = component.AddConfigurableSetting(ekpfbgiijnk);
|
|
}
|
|
|
|
// Token: 0x17003534 RID: 13620
|
|
// (get) Token: 0x06013EB0 RID: 81584 RVA: 0x004C75C0 File Offset: 0x004C57C0
|
|
[Token(Token = "0x17003534")]
|
|
public bool JBMFJOBFJHP
|
|
{
|
|
[Token(Token = "0x6013EB0")]
|
|
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "22")]
|
|
get
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x06013EB1 RID: 81585 RVA: 0x004C75D0 File Offset: 0x004C57D0
|
|
[Token(Token = "0x6013EB1")]
|
|
[Address(RVA = "0x18D5790", Offset = "0x18D4190", VA = "0x1818D5790", Slot = "24")]
|
|
public void SerializeTo(ref PDEKIHFJKHJ IABNDBNHMKF, ref MKNCHKCCIHK NHFINJNIPGK, StringBuilder BIPOIFGEMGB)
|
|
{
|
|
int num;
|
|
PHNMGFPAJJD phnmgfpajjd;
|
|
do
|
|
{
|
|
num = 0;
|
|
phnmgfpajjd = new PHNMGFPAJJD();
|
|
IReadOnlyList<UGCAIPathPoint> readOnlyList = this.IDJPGDMHIDD.LIEHHFCJEOK();
|
|
if (readOnlyList != 0)
|
|
{
|
|
if (num >= readOnlyList)
|
|
{
|
|
goto IL_28;
|
|
}
|
|
num += num;
|
|
if (num != readOnlyList)
|
|
{
|
|
num++;
|
|
goto IL_28;
|
|
}
|
|
IL_35:
|
|
ByteString byteString;
|
|
byteString += byteString;
|
|
goto IL_3C;
|
|
IL_28:
|
|
phnmgfpajjd.NPDHNMKHCHD.Add(byteString);
|
|
goto IL_35;
|
|
}
|
|
IL_3C:
|
|
if (readOnlyList != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
bool flag = this.MNGLPBHBBEN.Get() != 0;
|
|
phnmgfpajjd.KPMLGKDCKIO = (flag ? 1 : 0);
|
|
float num2 = this.GLBEMIOGEME.Get();
|
|
phnmgfpajjd.FIFGKLLECAJ = num2;
|
|
new HCJDNEFCBNG().GMGIMKBIINF = phnmgfpajjd;
|
|
}
|
|
|
|
// Token: 0x06013EB2 RID: 81586 RVA: 0x004C7684 File Offset: 0x004C5884
|
|
[Token(Token = "0x6013EB2")]
|
|
[Address(RVA = "0x18D4B70", Offset = "0x18D3570", VA = "0x1818D4B70", Slot = "23")]
|
|
public void DeserializeFrom(KPNDFONGDGF HFBJGCHOANH)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
int num2 = 0;
|
|
PHNMGFPAJJD phnmgfpajjd;
|
|
if (phnmgfpajjd == 0)
|
|
{
|
|
break;
|
|
}
|
|
this.MNGLPBHBBEN.Set(num2);
|
|
this.GLBEMIOGEME.Set(num2);
|
|
int count = phnmgfpajjd.NPDHNMKHCHD.count;
|
|
if (count <= 0)
|
|
{
|
|
break;
|
|
}
|
|
List<Guid> list = new List(count);
|
|
this.OBIEEKONIBM = list;
|
|
IEnumerator<ByteString> enumerator = phnmgfpajjd.NPDHNMKHCHD.GetEnumerator();
|
|
if (enumerator != 0)
|
|
{
|
|
if (num < enumerator)
|
|
{
|
|
num += num;
|
|
if (num == enumerator)
|
|
{
|
|
goto IL_6F;
|
|
}
|
|
num++;
|
|
}
|
|
List<Guid> obieekonibm = this.OBIEEKONIBM;
|
|
}
|
|
IL_6F:
|
|
if (enumerator != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x06013EB3 RID: 81587 RVA: 0x004C771C File Offset: 0x004C591C
|
|
[Token(Token = "0x6013EB3")]
|
|
[Address(RVA = "0x18D5520", Offset = "0x18D3F20", VA = "0x1818D5520", Slot = "25")]
|
|
public void PostDeserialize(LJJOCDFAMGA FLIPBCAPDGC)
|
|
{
|
|
if (this.OBIEEKONIBM != 0)
|
|
{
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x17003535 RID: 13621
|
|
// (get) Token: 0x06013EB4 RID: 81588 RVA: 0x004C7770 File Offset: 0x004C5970
|
|
[Token(Token = "0x17003535")]
|
|
public CircuitType BLJAPPNMJNJ
|
|
{
|
|
[Token(Token = "0x6013EB4")]
|
|
[Address(RVA = "0x18D5F90", Offset = "0x18D4990", VA = "0x1818D5F90", Slot = "26")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06013EB4)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling CircuitsV2.Types.CircuitType RecRoom.Core.Creation.Circuits.UGCAIPathPoint::get_SelfType()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:ClassType(var_0_05, ldsfld:ClassType(TypeRegistry::PatrolPointType))
|
|
}
|
|
|
|
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: 0x06013EB5 RID: 81589 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6013EB5")]
|
|
[Address(RVA = "0x18D56F0", Offset = "0x18D40F0", VA = "0x1818D56F0", Slot = "27")]
|
|
public Result<CircuitSignal> Self(ExecParams CHKKEHOKPJP)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06013EB6 RID: 81590 RVA: 0x004C7784 File Offset: 0x004C5984
|
|
[Token(Token = "0x6013EB6")]
|
|
[Address(RVA = "0x115DE50", Offset = "0x115C850", VA = "0x18115DE50")]
|
|
public UGCAIPathPoint()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06013EB8 RID: 81592 RVA: 0x004C77B0 File Offset: 0x004C59B0
|
|
[Token(Token = "0x6013EB8")]
|
|
[Address(RVA = "0x18D52B0", Offset = "0x18D3CB0", VA = "0x1818D52B0")]
|
|
[CompilerGenerated]
|
|
private void JMBDLOHHDKD(CreationObjectSettingBooleanUIControl GCCLEJOGCCE)
|
|
{
|
|
GCCLEJOGCCE.PropertyDescription.text = "Face Direction On Pause";
|
|
Func<bool> func = new Func(this.IIKPDLDGDML);
|
|
Action<bool> action = new Action(this.DDLMDLKEKGB);
|
|
}
|
|
|
|
// Token: 0x06013EB9 RID: 81593 RVA: 0x004C77F0 File Offset: 0x004C59F0
|
|
[Token(Token = "0x6013EB9")]
|
|
[Address(RVA = "0x18D5210", Offset = "0x18D3C10", VA = "0x1818D5210")]
|
|
[CompilerGenerated]
|
|
private bool IIKPDLDGDML()
|
|
{
|
|
return this.MNGLPBHBBEN.Get() != null;
|
|
}
|
|
|
|
// Token: 0x06013EBA RID: 81594 RVA: 0x004C7810 File Offset: 0x004C5A10
|
|
[Token(Token = "0x6013EBA")]
|
|
[Address(RVA = "0x18D48A0", Offset = "0x18D32A0", VA = "0x1818D48A0")]
|
|
[CompilerGenerated]
|
|
private void DDLMDLKEKGB(bool MBJCIBHEOMM)
|
|
{
|
|
SynchronizedField<bool> mnglpbhbben = this.MNGLPBHBBEN;
|
|
}
|
|
|
|
// Token: 0x06013EBB RID: 81595 RVA: 0x004C782C File Offset: 0x004C5A2C
|
|
[Token(Token = "0x6013EBB")]
|
|
[Address(RVA = "0x18D4F90", Offset = "0x18D3990", VA = "0x1818D4F90")]
|
|
[CompilerGenerated]
|
|
private void GNHIJDICIPA(CreationObjectSettingFloatUIControl GCCLEJOGCCE)
|
|
{
|
|
GCCLEJOGCCE.PropertyDescription.text = "Pause Time";
|
|
Func<float> func = new Func(this.JBDEHDIPEKH);
|
|
Action<float> action = new Action(this.BIHPPGIJPLM);
|
|
}
|
|
|
|
// Token: 0x06013EBC RID: 81596 RVA: 0x004C786C File Offset: 0x004C5A6C
|
|
[Token(Token = "0x6013EBC")]
|
|
[Address(RVA = "0x18D5260", Offset = "0x18D3C60", VA = "0x1818D5260")]
|
|
[CompilerGenerated]
|
|
private float JBDEHDIPEKH()
|
|
{
|
|
return this.GLBEMIOGEME.Get();
|
|
}
|
|
|
|
// Token: 0x06013EBD RID: 81597 RVA: 0x004C788C File Offset: 0x004C5A8C
|
|
[Token(Token = "0x6013EBD")]
|
|
[Address(RVA = "0x18D4520", Offset = "0x18D2F20", VA = "0x1818D4520")]
|
|
[CompilerGenerated]
|
|
private void BIHPPGIJPLM(float MBJCIBHEOMM)
|
|
{
|
|
SynchronizedField<float> glbemiogeme = this.GLBEMIOGEME;
|
|
}
|
|
|
|
// Token: 0x0400D693 RID: 54931
|
|
[Token(Token = "0x400D693")]
|
|
private const float NLKPIOBBDIP = 2f;
|
|
|
|
// Token: 0x0400D694 RID: 54932
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400D694")]
|
|
private FPKNAGAJBMN<UGCAIPathPoint> IDJPGDMHIDD;
|
|
|
|
// Token: 0x0400D695 RID: 54933
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400D695")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.SelfAndParent, false, false)]
|
|
private ConnectionPoint mainConnectionPoint;
|
|
|
|
// Token: 0x0400D696 RID: 54934
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x400D696")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.SelfAndParent, false, false)]
|
|
private UGCAreaController areaController;
|
|
|
|
// Token: 0x0400D697 RID: 54935
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x400D697")]
|
|
private SynchronizedField<bool> MNGLPBHBBEN;
|
|
|
|
// Token: 0x0400D698 RID: 54936
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x400D698")]
|
|
private SynchronizedField<float> GLBEMIOGEME;
|
|
|
|
// Token: 0x0400D699 RID: 54937
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x400D699")]
|
|
[SerializeField]
|
|
private GameObject pointerMesh;
|
|
|
|
// Token: 0x0400D69A RID: 54938
|
|
[Token(Token = "0x400D69A")]
|
|
private static Dictionary<int, UGCAIPathPoint> FPJPCAKAINJ = new Dictionary();
|
|
|
|
// Token: 0x0400D69B RID: 54939
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x400D69B")]
|
|
private List<Guid> OBIEEKONIBM;
|
|
}
|
|
}
|