523 lines
22 KiB
C#
523 lines
22 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.CompilerServices;
|
|
using AGUI;
|
|
using CircuitsV2.Utilities;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.AGUI.ToolUIs;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020005A9 RID: 1449
|
|
[Token(Token = "0x20005A9")]
|
|
public class MakerPenPaletteNodeGroupConfigScreen : MakerPenPaletteUIFlowBase
|
|
{
|
|
// Token: 0x06002B33 RID: 11059 RVA: 0x000B0BC8 File Offset: 0x000AEDC8
|
|
[Token(Token = "0x6002B33")]
|
|
[Address(RVA = "0xC3DA20", Offset = "0xC3C820", VA = "0x180C3DA20", Slot = "6")]
|
|
protected override void Awake()
|
|
{
|
|
base..ctor();
|
|
AddPortEditable addPortEditable = this.addInputPortEditable;
|
|
Action action = new Action(this.AddInputPort);
|
|
addPortEditable.BCMKGCNKPOC += action;
|
|
AddPortEditable addPortEditable2 = this.addOutputPortEditable;
|
|
Action action2 = new Action(this.AddOutputPort);
|
|
addPortEditable2.BCMKGCNKPOC += action2;
|
|
}
|
|
|
|
// Token: 0x06002B34 RID: 11060 RVA: 0x000B0C18 File Offset: 0x000AEE18
|
|
[Token(Token = "0x6002B34")]
|
|
[Address(RVA = "0xC3EA50", Offset = "0xC3D850", VA = "0x180C3EA50", Slot = "7")]
|
|
protected override void OnDestroy()
|
|
{
|
|
this.FOBNECNNHCA();
|
|
AddPortEditable addPortEditable = this.addInputPortEditable;
|
|
Action action = new Action(this.AddInputPort);
|
|
addPortEditable.BCMKGCNKPOC -= action;
|
|
AddPortEditable addPortEditable2 = this.addOutputPortEditable;
|
|
Action action2 = new Action(this.AddOutputPort);
|
|
addPortEditable2.BCMKGCNKPOC -= action2;
|
|
base.OnDestroy();
|
|
}
|
|
|
|
// Token: 0x06002B35 RID: 11061 RVA: 0x000B0C70 File Offset: 0x000AEE70
|
|
[Token(Token = "0x6002B35")]
|
|
[Address(RVA = "0xC3EB30", Offset = "0xC3D930", VA = "0x180C3EB30")]
|
|
public void SetAdapters(KJDOCKDBNCK NJJHANJLFED, DBFIKIGBNOD GCFLCMPPKIN)
|
|
{
|
|
this.FOBNECNNHCA();
|
|
this.MFOAFGGKBCE = NJJHANJLFED;
|
|
this.HMMODIEEMHB = GCFLCMPPKIN;
|
|
if (NJJHANJLFED != 0)
|
|
{
|
|
Action action = new Action(this.FHHOBIPPGDH);
|
|
Action<int, DBFIKIGBNOD> action2 = new Action(this.NMDLCNKNFEA);
|
|
Action<int, DBFIKIGBNOD> action3 = new Action(this.NMDLCNKNFEA);
|
|
}
|
|
this.JEPDFDIHMPF(GCFLCMPPKIN);
|
|
DBFIKIGBNOD hmmodieemhb = this.HMMODIEEMHB;
|
|
this.NKPAFEOMODC(hmmodieemhb);
|
|
}
|
|
|
|
// Token: 0x06002B36 RID: 11062 RVA: 0x000B0CD4 File Offset: 0x000AEED4
|
|
[Token(Token = "0x6002B36")]
|
|
[Address(RVA = "0xC3DF70", Offset = "0xC3CD70", VA = "0x180C3DF70")]
|
|
private void ICOKFAEGDAJ(KJDOCKDBNCK EHHKGBAMIOP)
|
|
{
|
|
if (EHHKGBAMIOP != 0)
|
|
{
|
|
Action action = new Action(this.FHHOBIPPGDH);
|
|
Action<int, DBFIKIGBNOD> action2 = new Action(this.NMDLCNKNFEA);
|
|
Action<int, DBFIKIGBNOD> action3 = new Action(this.NMDLCNKNFEA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002B37 RID: 11063 RVA: 0x000B0D0C File Offset: 0x000AEF0C
|
|
[Token(Token = "0x6002B37")]
|
|
[Address(RVA = "0xC3E080", Offset = "0xC3CE80", VA = "0x180C3E080")]
|
|
private void JEPDFDIHMPF(DBFIKIGBNOD INHJPNEKIEK)
|
|
{
|
|
if (INHJPNEKIEK != 0)
|
|
{
|
|
Action<int, KPJGIJKKILH> action = new Action(this.KJCIOPEEMAP);
|
|
Action<int, KPJGIJKKILH> action2 = new Action(this.KJCIOPEEMAP);
|
|
Action<int, KPJGIJKKILH> action3 = new Action(this.KJCIOPEEMAP);
|
|
Action<int, KPJGIJKKILH> action4 = new Action(this.KJCIOPEEMAP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002B38 RID: 11064 RVA: 0x000B0D54 File Offset: 0x000AEF54
|
|
[Token(Token = "0x6002B38")]
|
|
[Address(RVA = "0xC3DAF0", Offset = "0xC3C8F0", VA = "0x180C3DAF0")]
|
|
private void CIPAKBIEKOL(KJDOCKDBNCK EHHKGBAMIOP)
|
|
{
|
|
if (EHHKGBAMIOP != 0)
|
|
{
|
|
Action action = new Action(this.FHHOBIPPGDH);
|
|
Action<int, DBFIKIGBNOD> action2 = new Action(this.NMDLCNKNFEA);
|
|
Action<int, DBFIKIGBNOD> action3 = new Action(this.NMDLCNKNFEA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002B39 RID: 11065 RVA: 0x000B0D8C File Offset: 0x000AEF8C
|
|
[Token(Token = "0x6002B39")]
|
|
[Address(RVA = "0xC3DE20", Offset = "0xC3CC20", VA = "0x180C3DE20")]
|
|
private void FPLGNEBOGAP(DBFIKIGBNOD INHJPNEKIEK)
|
|
{
|
|
if (INHJPNEKIEK != 0)
|
|
{
|
|
Action<int, KPJGIJKKILH> action = new Action(this.KJCIOPEEMAP);
|
|
Action<int, KPJGIJKKILH> action2 = new Action(this.KJCIOPEEMAP);
|
|
Action<int, KPJGIJKKILH> action3 = new Action(this.KJCIOPEEMAP);
|
|
Action<int, KPJGIJKKILH> action4 = new Action(this.KJCIOPEEMAP);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06002B3A RID: 11066 RVA: 0x000B0DD4 File Offset: 0x000AEFD4
|
|
[Token(Token = "0x6002B3A")]
|
|
[Address(RVA = "0xC3DD00", Offset = "0xC3CB00", VA = "0x180C3DD00")]
|
|
private void FOBNECNNHCA()
|
|
{
|
|
if (this.MFOAFGGKBCE != 0)
|
|
{
|
|
Action action = new Action(this.FHHOBIPPGDH);
|
|
Action<int, DBFIKIGBNOD> action2 = new Action(this.NMDLCNKNFEA);
|
|
Action<int, DBFIKIGBNOD> action3 = new Action(this.NMDLCNKNFEA);
|
|
}
|
|
DBFIKIGBNOD hmmodieemhb = this.HMMODIEEMHB;
|
|
this.FPLGNEBOGAP(hmmodieemhb);
|
|
}
|
|
|
|
// Token: 0x06002B3B RID: 11067 RVA: 0x000B0E20 File Offset: 0x000AF020
|
|
[Token(Token = "0x6002B3B")]
|
|
[Address(RVA = "0xC3E1D0", Offset = "0xC3CFD0", VA = "0x180C3E1D0")]
|
|
private void NMDLCNKNFEA(int EFBDCIJMFGD, DBFIKIGBNOD GCFLCMPPKIN)
|
|
{
|
|
this.FHHOBIPPGDH();
|
|
}
|
|
|
|
// Token: 0x06002B3C RID: 11068 RVA: 0x000B0E34 File Offset: 0x000AF034
|
|
[Token(Token = "0x6002B3C")]
|
|
[Address(RVA = "0xC3E1D0", Offset = "0xC3CFD0", VA = "0x180C3E1D0")]
|
|
private void KJCIOPEEMAP(int EFBDCIJMFGD, KPJGIJKKILH HHJDJHPGAIK)
|
|
{
|
|
this.FHHOBIPPGDH();
|
|
}
|
|
|
|
// Token: 0x06002B3D RID: 11069 RVA: 0x000B0E48 File Offset: 0x000AF048
|
|
[Token(Token = "0x6002B3D")]
|
|
[Address(RVA = "0xC3DC00", Offset = "0xC3CA00", VA = "0x180C3DC00")]
|
|
private void FHHOBIPPGDH()
|
|
{
|
|
DBFIKIGBNOD hmmodieemhb = this.HMMODIEEMHB;
|
|
this.FPLGNEBOGAP(hmmodieemhb);
|
|
if (this.MFOAFGGKBCE != 0)
|
|
{
|
|
Func<DBFIKIGBNOD, bool> func = new Func(this.LJAGKOENABA);
|
|
}
|
|
int num = 0;
|
|
this.HMMODIEEMHB = num;
|
|
this.JEPDFDIHMPF(num);
|
|
if (this.HMMODIEEMHB == (ulong)0L)
|
|
{
|
|
this.<KBKJKEOPIGB>k__BackingField.Button_PopFlow();
|
|
return;
|
|
}
|
|
DBFIKIGBNOD hmmodieemhb2 = this.HMMODIEEMHB;
|
|
this.NKPAFEOMODC(hmmodieemhb2);
|
|
}
|
|
|
|
// Token: 0x06002B3E RID: 11070 RVA: 0x000B0EB8 File Offset: 0x000AF0B8
|
|
[Token(Token = "0x6002B3E")]
|
|
[Address(RVA = "0xC3E2E0", Offset = "0xC3D0E0", VA = "0x180C3E2E0")]
|
|
private void NKPAFEOMODC(DBFIKIGBNOD JNILMKLJIOK)
|
|
{
|
|
RectTransform rectTransform2;
|
|
do
|
|
{
|
|
int num = 0;
|
|
List<PortEditable> dnehagbhbfn = this.DNEHAGBHBFN;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
GameObject gameObject;
|
|
OMCHJHPFBDN.KGFPNIMJHIC(gameObject);
|
|
}
|
|
int num2 = 0;
|
|
if (num != 0)
|
|
{
|
|
goto IL_198;
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
this.DNEHAGBHBFN.Clear();
|
|
if (JNILMKLJIOK == 0)
|
|
{
|
|
return;
|
|
}
|
|
TextMeshProUGUI textMeshProUGUI = this.portGroupNameText;
|
|
num2 += num2;
|
|
num2++;
|
|
string text = textMeshProUGUI.text;
|
|
if (num2 < text)
|
|
{
|
|
num2 += num2;
|
|
num2++;
|
|
}
|
|
RectTransform rectTransform;
|
|
if (text != 0)
|
|
{
|
|
PortEditable portEditable = this.portEditablePrefab;
|
|
rectTransform = this.propertyGrid;
|
|
PortEditable portEditable2 = global::UnityEngine.Object.Instantiate<PortEditable>(portEditable, rectTransform);
|
|
portEditable2.CurrentNodeGroup = JNILMKLJIOK;
|
|
portEditable2.CurrentPort = text;
|
|
this.DNEHAGBHBFN.Add(portEditable2);
|
|
portEditable2 += portEditable2;
|
|
portEditable2 += portEditable2;
|
|
}
|
|
num++;
|
|
if (text != 0)
|
|
{
|
|
}
|
|
if (rectTransform != 0)
|
|
{
|
|
goto IL_1AA;
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
if (num != 0)
|
|
{
|
|
PortEditable portEditable3 = this.portEditablePrefab;
|
|
rectTransform2 = this.propertyGrid;
|
|
PortEditable portEditable4 = global::UnityEngine.Object.Instantiate<PortEditable>(portEditable3, rectTransform2);
|
|
portEditable4.CurrentNodeGroup = JNILMKLJIOK;
|
|
portEditable4.CurrentPort = num;
|
|
this.DNEHAGBHBFN.Add(portEditable4);
|
|
}
|
|
if (num != 0)
|
|
{
|
|
}
|
|
}
|
|
while (rectTransform2 != 0);
|
|
List<Transform> list = new List();
|
|
Transform transform = this.addInputPortEditable.transform;
|
|
list.Add(transform);
|
|
Transform transform2 = this.addOutputPortEditable.transform;
|
|
list.Add(transform2);
|
|
List<PortEditable> dnehagbhbfn2 = this.DNEHAGBHBFN;
|
|
Func<PortEditable, Transform> func;
|
|
if (MakerPenPaletteNodeGroupConfigScreen.<>c.<>9__20_0 == 0)
|
|
{
|
|
func = (PortEditable pe) => pe.transform;
|
|
MakerPenPaletteNodeGroupConfigScreen.<>c.<>9__20_0 = func;
|
|
}
|
|
IEnumerable<PortEditable> enumerable = Enumerable.Select<PortEditable, Transform>(dnehagbhbfn2, func);
|
|
list.AddRange(enumerable);
|
|
this.pagedGrid.ResetChildren(list);
|
|
return;
|
|
IL_198:
|
|
throw new NullReferenceException();
|
|
IL_1AA:
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06002B3F RID: 11071 RVA: 0x000B1080 File Offset: 0x000AF280
|
|
[Token(Token = "0x6002B3F")]
|
|
[Address(RVA = "0xC3D910", Offset = "0xC3C710", VA = "0x180C3D910")]
|
|
public void AddInputPort()
|
|
{
|
|
int num = 0;
|
|
this.AddPort((IOKind)num);
|
|
}
|
|
|
|
// Token: 0x06002B40 RID: 11072 RVA: 0x000B1098 File Offset: 0x000AF298
|
|
[Token(Token = "0x6002B40")]
|
|
[Address(RVA = "0xC3D920", Offset = "0xC3C720", VA = "0x180C3D920")]
|
|
public void AddOutputPort()
|
|
{
|
|
this.AddPort(IOKind.Output);
|
|
}
|
|
|
|
// Token: 0x06002B41 RID: 11073 RVA: 0x000B10AC File Offset: 0x000AF2AC
|
|
[Token(Token = "0x6002B41")]
|
|
[Address(RVA = "0xC3D930", Offset = "0xC3C730", VA = "0x180C3D930")]
|
|
public void AddPort(IOKind HOAJPAEENAP)
|
|
{
|
|
DBFIKIGBNOD hmmodieemhb = this.HMMODIEEMHB;
|
|
DBFIKIGBNOD nodeGroup = hmmodieemhb;
|
|
PMGCJEPKFOF<NewCircuitV2PortUIDialog.EGAEOEEGLBC> pmgcjepkfof = this.<LJOGMLBAABG>k__BackingField.KNDLGPOKIOI.ShowNewPortDialog(true);
|
|
Action<NewCircuitV2PortUIDialog.EGAEOEEGLBC> action = delegate(NewCircuitV2PortUIDialog.EGAEOEEGLBC response)
|
|
{
|
|
DBFIKIGBNOD nodeGroup2 = nodeGroup;
|
|
if (HOAJPAEENAP != IOKind.Input)
|
|
{
|
|
}
|
|
MakerPenPaletteNodeGroupConfigScreen <>4__this = this;
|
|
DBFIKIGBNOD hmmodieemhb2 = <>4__this.HMMODIEEMHB;
|
|
<>4__this.NKPAFEOMODC(hmmodieemhb2);
|
|
MakerPenPaletteNodeGroupConfigScreen.DKIHHOLLAGD dkihhollagd = new MakerPenPaletteNodeGroupConfigScreen.DKIHHOLLAGD();
|
|
dkihhollagd.e = dkihhollagd;
|
|
Func<object> func = delegate
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002B4A)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object MakerPenPaletteNodeGroupConfigScreen/DKIHHOLLAGD::<AddPort>b__1()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:Exception(var_0_06, ldfld:Exception(DKIHHOLLAGD::e, ldloc:DKIHHOLLAGD(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.Transforms.DelegateConstruction.HandleAnonymousMethod(ObjectCreateExpression objectCreateExpression, Expression target, IMethod methodRef) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\Transforms\DelegateConstruction.cs:line 237
|
|
*/;
|
|
};
|
|
KEICHELBBEL edlikgjfhap = KEICHELBBEL.EDLIKGJFHAP;
|
|
NotificationManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
|
int num = 0;
|
|
IDisposable disposable = instance.Play(NotificationManager.IBIDFAOPIPC.Medium, "Error creating port", 3f, num, num);
|
|
};
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06002B42 RID: 11074 RVA: 0x000B1104 File Offset: 0x000AF304
|
|
[Token(Token = "0x6002B42")]
|
|
[Address(RVA = "0xC3EC80", Offset = "0xC3DA80", VA = "0x180C3EC80")]
|
|
public MakerPenPaletteNodeGroupConfigScreen()
|
|
{
|
|
List<PortEditable> list = new List();
|
|
this.DNEHAGBHBFN = list;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x06002B43 RID: 11075 RVA: 0x000B1124 File Offset: 0x000AF324
|
|
[Token(Token = "0x6002B43")]
|
|
[Address(RVA = "0xC3E1E0", Offset = "0xC3CFE0", VA = "0x180C3E1E0")]
|
|
[CompilerGenerated]
|
|
private bool LJAGKOENABA(DBFIKIGBNOD PINILGFALCC)
|
|
{
|
|
if (this.HMMODIEEMHB != 0)
|
|
{
|
|
}
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x040022DB RID: 8923
|
|
[FieldOffset(Offset = "0xA8")]
|
|
[Token(Token = "0x40022DB")]
|
|
[SerializeField]
|
|
private TextMeshProUGUI portGroupNameText;
|
|
|
|
// Token: 0x040022DC RID: 8924
|
|
[FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x40022DC")]
|
|
[SerializeField]
|
|
private PortEditable portEditablePrefab;
|
|
|
|
// Token: 0x040022DD RID: 8925
|
|
[FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x40022DD")]
|
|
private List<PortEditable> DNEHAGBHBFN;
|
|
|
|
// Token: 0x040022DE RID: 8926
|
|
[FieldOffset(Offset = "0xC0")]
|
|
[Token(Token = "0x40022DE")]
|
|
[SerializeField]
|
|
private RectTransform propertyGrid;
|
|
|
|
// Token: 0x040022DF RID: 8927
|
|
[FieldOffset(Offset = "0xC8")]
|
|
[Token(Token = "0x40022DF")]
|
|
[SerializeField]
|
|
private PagedGrid pagedGrid;
|
|
|
|
// Token: 0x040022E0 RID: 8928
|
|
[FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x40022E0")]
|
|
[SerializeField]
|
|
private AddPortEditable addInputPortEditable;
|
|
|
|
// Token: 0x040022E1 RID: 8929
|
|
[FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x40022E1")]
|
|
[SerializeField]
|
|
private AddPortEditable addOutputPortEditable;
|
|
|
|
// Token: 0x040022E2 RID: 8930
|
|
[FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x40022E2")]
|
|
private DBFIKIGBNOD HMMODIEEMHB;
|
|
|
|
// Token: 0x040022E3 RID: 8931
|
|
[FieldOffset(Offset = "0xE8")]
|
|
[Token(Token = "0x40022E3")]
|
|
private KJDOCKDBNCK MFOAFGGKBCE;
|
|
|
|
// Token: 0x020005AB RID: 1451
|
|
[Token(Token = "0x20005AB")]
|
|
[CompilerGenerated]
|
|
private sealed class GKJEAPBCPMF
|
|
{
|
|
// Token: 0x06002B47 RID: 11079 RVA: 0x000B1190 File Offset: 0x000AF390
|
|
[Token(Token = "0x6002B47")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public GKJEAPBCPMF()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002B48 RID: 11080 RVA: 0x000B11A4 File Offset: 0x000AF3A4
|
|
[Token(Token = "0x6002B48")]
|
|
[Address(RVA = "0xC3B2F0", Offset = "0xC3A0F0", VA = "0x180C3B2F0")]
|
|
internal void <AddPort>b__0(NewCircuitV2PortUIDialog.EGAEOEEGLBC response)
|
|
{
|
|
DBFIKIGBNOD dbfikigbnod = this.nodeGroup;
|
|
if (this.kind != IOKind.Input)
|
|
{
|
|
}
|
|
MakerPenPaletteNodeGroupConfigScreen makerPenPaletteNodeGroupConfigScreen = this.<>4__this;
|
|
DBFIKIGBNOD hmmodieemhb = makerPenPaletteNodeGroupConfigScreen.HMMODIEEMHB;
|
|
makerPenPaletteNodeGroupConfigScreen.NKPAFEOMODC(hmmodieemhb);
|
|
MakerPenPaletteNodeGroupConfigScreen.DKIHHOLLAGD dkihhollagd = new MakerPenPaletteNodeGroupConfigScreen.DKIHHOLLAGD();
|
|
dkihhollagd.e = dkihhollagd;
|
|
Func<object> func = delegate
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002B4A)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object MakerPenPaletteNodeGroupConfigScreen/DKIHHOLLAGD::<AddPort>b__1()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:Exception(var_0_06, ldfld:Exception(DKIHHOLLAGD::e, ldloc:DKIHHOLLAGD(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.Transforms.DelegateConstruction.HandleAnonymousMethod(ObjectCreateExpression objectCreateExpression, Expression target, IMethod methodRef) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\Transforms\DelegateConstruction.cs:line 237
|
|
*/;
|
|
};
|
|
KEICHELBBEL edlikgjfhap = KEICHELBBEL.EDLIKGJFHAP;
|
|
NotificationManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
|
int num = 0;
|
|
IDisposable disposable = instance.Play(NotificationManager.IBIDFAOPIPC.Medium, "Error creating port", 3f, num, num);
|
|
}
|
|
|
|
// Token: 0x040022E6 RID: 8934
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40022E6")]
|
|
public IOKind kind;
|
|
|
|
// Token: 0x040022E7 RID: 8935
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40022E7")]
|
|
public DBFIKIGBNOD nodeGroup;
|
|
|
|
// Token: 0x040022E8 RID: 8936
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40022E8")]
|
|
public MakerPenPaletteNodeGroupConfigScreen <>4__this;
|
|
}
|
|
|
|
// Token: 0x020005AC RID: 1452
|
|
[Token(Token = "0x20005AC")]
|
|
[CompilerGenerated]
|
|
private sealed class DKIHHOLLAGD
|
|
{
|
|
// Token: 0x06002B49 RID: 11081 RVA: 0x000B1238 File Offset: 0x000AF438
|
|
[Token(Token = "0x6002B49")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public DKIHHOLLAGD()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002B4A RID: 11082 RVA: 0x000B124C File Offset: 0x000AF44C
|
|
[Token(Token = "0x6002B4A")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
|
internal object <AddPort>b__1()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002B4A)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object MakerPenPaletteNodeGroupConfigScreen/DKIHHOLLAGD::<AddPort>b__1()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:Exception(var_0_06, ldfld:Exception(DKIHHOLLAGD::e, ldloc:DKIHHOLLAGD(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 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x040022E9 RID: 8937
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40022E9")]
|
|
public Exception e;
|
|
}
|
|
}
|