oh dear
This commit is contained in:
@@ -0,0 +1,361 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using AGUI.StackedUI;
|
||||
using Cpp2IlInjected;
|
||||
using Photon.Pun;
|
||||
using RecRoom.AGUI.ToolUIs;
|
||||
using RecRoom.Circuits;
|
||||
|
||||
namespace RecRoom.Core.Creation.Circuits
|
||||
{
|
||||
// Token: 0x02003245 RID: 12869
|
||||
[Token(Token = "0x2003245")]
|
||||
public class ComparerCircuitNodeDisplay : ModedCircuitNodeDisplay<ComparerNode>
|
||||
{
|
||||
// Token: 0x17003D11 RID: 15633
|
||||
// (get) Token: 0x060161DF RID: 90591 RVA: 0x00529270 File Offset: 0x00527470
|
||||
[Token(Token = "0x17003D11")]
|
||||
protected override Dictionary<string, FLCFOLDCOJJ> COHNLMCLBPI
|
||||
{
|
||||
[Token(Token = "0x60161DF")]
|
||||
[Address(RVA = "0x11ABBB0", Offset = "0x11AA9B0", VA = "0x1811ABBB0", Slot = "33")]
|
||||
get
|
||||
{
|
||||
Dictionary<string, FLCFOLDCOJJ> dictionary;
|
||||
Array values;
|
||||
do
|
||||
{
|
||||
dictionary = new Dictionary();
|
||||
values = Enum.GetValues(typeof(SignalComparisonHelper.ComparerModes));
|
||||
}
|
||||
while (values == 0);
|
||||
int num = 0;
|
||||
if (num < values)
|
||||
{
|
||||
num++;
|
||||
}
|
||||
return dictionary;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17003D12 RID: 15634
|
||||
// (get) Token: 0x060161E0 RID: 90592 RVA: 0x005292AC File Offset: 0x005274AC
|
||||
[Token(Token = "0x17003D12")]
|
||||
protected override object KCNNJNGLIEO
|
||||
{
|
||||
[Token(Token = "0x60161E0")]
|
||||
[Address(RVA = "0x11ABAF0", Offset = "0x11AA8F0", VA = "0x1811ABAF0", Slot = "34")]
|
||||
get
|
||||
{
|
||||
return "mode";
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060161E1 RID: 90593 RVA: 0x005292C0 File Offset: 0x005274C0
|
||||
[Token(Token = "0x60161E1")]
|
||||
[Address(RVA = "0x11AB820", Offset = "0x11AA620", VA = "0x1811AB820", Slot = "35")]
|
||||
protected override int BJKDPHHLCII()
|
||||
{
|
||||
CircuitNode mbbjmcdgdmn = this.MBBJMCDGDMN;
|
||||
if (mbbjmcdgdmn == 0 || mbbjmcdgdmn != 0)
|
||||
{
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060161E2 RID: 90594 RVA: 0x005292E0 File Offset: 0x005274E0
|
||||
[Token(Token = "0x60161E2")]
|
||||
[Address(RVA = "0x11ABF40", Offset = "0x11AAD40", VA = "0x1811ABF40", Slot = "20")]
|
||||
public override void PopulateDynamicEditables()
|
||||
{
|
||||
base.PopulateDynamicEditables();
|
||||
List<DOPNALIMPNA> oppmklpogfb = this.OPPMKLPOGFB;
|
||||
Func<bool> func = new Func(this.EFJKAPLKEAK);
|
||||
Action<bool> action = new Action(this.PGMPNLKFEIC);
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
string text;
|
||||
string text2;
|
||||
DHCINNFLBBA dhcinnflbba = ONOKJPIMIIP.LBJPOFMMGGP(func, action, num2, num, text, text2);
|
||||
oppmklpogfb.Add(dhcinnflbba);
|
||||
}
|
||||
|
||||
// Token: 0x060161E3 RID: 90595 RVA: 0x00529338 File Offset: 0x00527538
|
||||
[Token(Token = "0x60161E3")]
|
||||
[Address(RVA = "0x11AB8A0", Offset = "0x11AA6A0", VA = "0x1811AB8A0", Slot = "19")]
|
||||
public override IEnumerable<ILINODKFHEO> GetEditables()
|
||||
{
|
||||
List<ILINODKFHEO> list = new List(base.GetEditables());
|
||||
ComparerCircuitNodeDisplay thisObj = this;
|
||||
OMKPHDBNLKH<CreationObjectSettingBooleanUIControl, bool>.DEDABHKCIBG <>9__8_ = ComparerCircuitNodeDisplay.<>c.<>9__8_0;
|
||||
if (<>9__8_ == 0)
|
||||
{
|
||||
ComparerCircuitNodeDisplay.<>c.<>9__8_0 = (MakerPenPaletteConfigScreen uiControl) => uiControl.DefaultBoolUIControlPrefab;
|
||||
}
|
||||
OMKPHDBNLKH<CreationObjectSettingBooleanUIControl, bool>.OHINDOLFNMP ohindolfnmp = delegate(CreationObjectSettingBooleanUIControl instance)
|
||||
{
|
||||
ComparerCircuitNodeDisplay thisObj4;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
Func<bool> func = new Func(this.EFJKAPLKEAK);
|
||||
CreationObjectSettingBooleanUIControl instance2 = instance;
|
||||
Action<bool> action = new Action(this.PGMPNLKFEIC);
|
||||
PLDMAFINLJO.FANDNIHFMNM(instance.PropertyDescription, "Advanced Mode");
|
||||
thisObj4 = thisObj;
|
||||
Action feklandbaep = thisObj4.FEKLANDBAEP;
|
||||
CreationObjectSettingBooleanUIControl instance3 = instance;
|
||||
Action action2;
|
||||
@delegate = Delegate.Combine(feklandbaep, action2);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
thisObj4.FEKLANDBAEP = @delegate;
|
||||
CreationObjectSettingBooleanUIControl instance4 = ejdiijagcjb.instance;
|
||||
Action action3 = delegate
|
||||
{
|
||||
ComparerCircuitNodeDisplay thisObj3;
|
||||
Delegate delegate2;
|
||||
do
|
||||
{
|
||||
ComparerCircuitNodeDisplay thisObj2 = ejdiijagcjb.CS$<>8__locals1.thisObj;
|
||||
int num2 = 0;
|
||||
if (!(thisObj2 != num2))
|
||||
{
|
||||
return;
|
||||
}
|
||||
thisObj3 = ejdiijagcjb.CS$<>8__locals1.thisObj;
|
||||
Action feklandbaep2 = thisObj3.FEKLANDBAEP;
|
||||
CreationObjectSettingBooleanUIControl instance5 = ejdiijagcjb.instance;
|
||||
Action action4;
|
||||
delegate2 = Delegate.Remove(feklandbaep2, action4);
|
||||
}
|
||||
while (delegate2 != 0 && delegate2 == 0);
|
||||
thisObj3.FEKLANDBAEP = delegate2;
|
||||
};
|
||||
instance4.IABDCLILPMF += action3;
|
||||
};
|
||||
int num;
|
||||
CPNMFOKDBKM cpnmfokdbkm = new CPNMFOKDBKM(<>9__8_, ohindolfnmp, num);
|
||||
num = 0;
|
||||
list.Add(cpnmfokdbkm);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x060161E4 RID: 90596 RVA: 0x005293AC File Offset: 0x005275AC
|
||||
[Token(Token = "0x60161E4")]
|
||||
[Address(RVA = "0x11ABE50", Offset = "0x11AAC50", VA = "0x1811ABE50")]
|
||||
private void PGMPNLKFEIC(bool EAMPDCBBIGK)
|
||||
{
|
||||
this.NOKJGALJPKC = EAMPDCBBIGK;
|
||||
Dictionary<object, object> dictionary = new Dictionary();
|
||||
bool nokjgaljpkc = this.NOKJGALJPKC;
|
||||
dictionary["adv"] = dictionary;
|
||||
CircuitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
int <NodeId>k__BackingField = this.MBBJMCDGDMN.<NodeId>k__BackingField;
|
||||
instance.RequestMasterModifyNode(<NodeId>k__BackingField, dictionary);
|
||||
}
|
||||
|
||||
// Token: 0x060161E5 RID: 90597 RVA: 0x005293FC File Offset: 0x005275FC
|
||||
[Token(Token = "0x60161E5")]
|
||||
[Address(RVA = "0xD52970", Offset = "0xD51770", VA = "0x180D52970")]
|
||||
private bool EFJKAPLKEAK()
|
||||
{
|
||||
return this.NOKJGALJPKC;
|
||||
}
|
||||
|
||||
// Token: 0x060161E6 RID: 90598 RVA: 0x00529410 File Offset: 0x00527610
|
||||
[Token(Token = "0x60161E6")]
|
||||
[Address(RVA = "0x11ABD40", Offset = "0x11AAB40", VA = "0x1811ABD40", Slot = "26")]
|
||||
public override void OnCircuitNodeInitialized(CircuitNode IKFLAODDALD)
|
||||
{
|
||||
base.OnCircuitNodeInitialized(IKFLAODDALD);
|
||||
CircuitNode mbbjmcdgdmn = this.MBBJMCDGDMN;
|
||||
if (mbbjmcdgdmn != 0)
|
||||
{
|
||||
Action action = new Action(this.KGFOKCDLGCI);
|
||||
mbbjmcdgdmn.NodeModifiedEvent += action;
|
||||
}
|
||||
CircuitNode mbbjmcdgdmn2 = this.MBBJMCDGDMN;
|
||||
if (mbbjmcdgdmn2 != 0 && mbbjmcdgdmn2 != 0)
|
||||
{
|
||||
Action feklandbaep = this.FEKLANDBAEP;
|
||||
this.NOKJGALJPKC = mbbjmcdgdmn2 != null;
|
||||
if (feklandbaep != 0)
|
||||
{
|
||||
feklandbaep();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060161E7 RID: 90599 RVA: 0x00529470 File Offset: 0x00527670
|
||||
[Token(Token = "0x60161E7")]
|
||||
[Address(RVA = "0x11ABA50", Offset = "0x11AA850", VA = "0x1811ABA50")]
|
||||
private void KGFOKCDLGCI()
|
||||
{
|
||||
CircuitNode mbbjmcdgdmn = this.MBBJMCDGDMN;
|
||||
if (mbbjmcdgdmn != 0 && mbbjmcdgdmn != 0)
|
||||
{
|
||||
Action feklandbaep = this.FEKLANDBAEP;
|
||||
this.NOKJGALJPKC = mbbjmcdgdmn != null;
|
||||
if (feklandbaep != 0)
|
||||
{
|
||||
feklandbaep();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060161E8 RID: 90600 RVA: 0x005294A8 File Offset: 0x005276A8
|
||||
[Token(Token = "0x60161E8")]
|
||||
[Address(RVA = "0x11ABB20", Offset = "0x11AA920", VA = "0x1811ABB20", Slot = "25")]
|
||||
protected override void NDMHFAFLLOH(PhotonView KFONGPOFCDH)
|
||||
{
|
||||
base.NDMHFAFLLOH(KFONGPOFCDH);
|
||||
CircuitNode mbbjmcdgdmn = this.MBBJMCDGDMN;
|
||||
if (mbbjmcdgdmn != 0)
|
||||
{
|
||||
Action action = new Action(this.KGFOKCDLGCI);
|
||||
mbbjmcdgdmn.NodeModifiedEvent -= action;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060161E9 RID: 90601 RVA: 0x005294DC File Offset: 0x005276DC
|
||||
[Token(Token = "0x60161E9")]
|
||||
[Address(RVA = "0x11AC040", Offset = "0x11AAE40", VA = "0x1811AC040")]
|
||||
public ComparerCircuitNodeDisplay()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400E80A RID: 59402
|
||||
[FieldOffset(Offset = "0xE0")]
|
||||
[Token(Token = "0x400E80A")]
|
||||
private Action FEKLANDBAEP;
|
||||
|
||||
// Token: 0x0400E80B RID: 59403
|
||||
[FieldOffset(Offset = "0xE8")]
|
||||
[Token(Token = "0x400E80B")]
|
||||
private bool NOKJGALJPKC;
|
||||
|
||||
// Token: 0x02003246 RID: 12870
|
||||
[Token(Token = "0x2003246")]
|
||||
[CompilerGenerated]
|
||||
private sealed class HONMFNEJDLM
|
||||
{
|
||||
// Token: 0x060161EA RID: 90602 RVA: 0x005294F0 File Offset: 0x005276F0
|
||||
[Token(Token = "0x60161EA")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public HONMFNEJDLM()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060161EB RID: 90603 RVA: 0x00529504 File Offset: 0x00527704
|
||||
[Token(Token = "0x60161EB")]
|
||||
[Address(RVA = "0x11B0F10", Offset = "0x11AFD10", VA = "0x1811B0F10")]
|
||||
internal void <GetEditables>b__1(CreationObjectSettingBooleanUIControl instance)
|
||||
{
|
||||
ComparerCircuitNodeDisplay.EJDIIJAGCJB ejdiijagcjb;
|
||||
ComparerCircuitNodeDisplay comparerCircuitNodeDisplay;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
ejdiijagcjb = new ComparerCircuitNodeDisplay.EJDIIJAGCJB();
|
||||
ejdiijagcjb.CS$<>8__locals1 = this;
|
||||
ejdiijagcjb.instance = instance;
|
||||
Func<bool> func = new Func(this.<>4__this.EFJKAPLKEAK);
|
||||
CreationObjectSettingBooleanUIControl instance2 = ejdiijagcjb.instance;
|
||||
Action<bool> action = new Action(this.<>4__this.PGMPNLKFEIC);
|
||||
PLDMAFINLJO.FANDNIHFMNM(ejdiijagcjb.instance.PropertyDescription, "Advanced Mode");
|
||||
comparerCircuitNodeDisplay = this.thisObj;
|
||||
Action feklandbaep = comparerCircuitNodeDisplay.FEKLANDBAEP;
|
||||
CreationObjectSettingBooleanUIControl instance3 = ejdiijagcjb.instance;
|
||||
Action action2;
|
||||
@delegate = Delegate.Combine(feklandbaep, action2);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
comparerCircuitNodeDisplay.FEKLANDBAEP = @delegate;
|
||||
CreationObjectSettingBooleanUIControl instance4 = ejdiijagcjb.instance;
|
||||
Action action3 = delegate
|
||||
{
|
||||
ComparerCircuitNodeDisplay comparerCircuitNodeDisplay3;
|
||||
Delegate delegate2;
|
||||
do
|
||||
{
|
||||
ComparerCircuitNodeDisplay comparerCircuitNodeDisplay2 = ejdiijagcjb.CS$<>8__locals1.thisObj;
|
||||
int num = 0;
|
||||
if (!(comparerCircuitNodeDisplay2 != num))
|
||||
{
|
||||
return;
|
||||
}
|
||||
comparerCircuitNodeDisplay3 = ejdiijagcjb.CS$<>8__locals1.thisObj;
|
||||
Action feklandbaep2 = comparerCircuitNodeDisplay3.FEKLANDBAEP;
|
||||
CreationObjectSettingBooleanUIControl instance5 = ejdiijagcjb.instance;
|
||||
Action action4;
|
||||
delegate2 = Delegate.Remove(feklandbaep2, action4);
|
||||
}
|
||||
while (delegate2 != 0 && delegate2 == 0);
|
||||
comparerCircuitNodeDisplay3.FEKLANDBAEP = delegate2;
|
||||
};
|
||||
instance4.IABDCLILPMF += action3;
|
||||
}
|
||||
|
||||
// Token: 0x0400E80C RID: 59404
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400E80C")]
|
||||
public ComparerCircuitNodeDisplay <>4__this;
|
||||
|
||||
// Token: 0x0400E80D RID: 59405
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400E80D")]
|
||||
public ComparerCircuitNodeDisplay thisObj;
|
||||
}
|
||||
|
||||
// Token: 0x02003247 RID: 12871
|
||||
[Token(Token = "0x2003247")]
|
||||
[CompilerGenerated]
|
||||
private sealed class EJDIIJAGCJB
|
||||
{
|
||||
// Token: 0x060161EC RID: 90604 RVA: 0x005295C4 File Offset: 0x005277C4
|
||||
[Token(Token = "0x60161EC")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public EJDIIJAGCJB()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060161ED RID: 90605 RVA: 0x005295D8 File Offset: 0x005277D8
|
||||
[Token(Token = "0x60161ED")]
|
||||
[Address(RVA = "0x11AD630", Offset = "0x11AC430", VA = "0x1811AD630")]
|
||||
internal void <GetEditables>b__2()
|
||||
{
|
||||
ComparerCircuitNodeDisplay thisObj2;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
ComparerCircuitNodeDisplay thisObj = this.CS$<>8__locals1.thisObj;
|
||||
int num = 0;
|
||||
if (!(thisObj != num))
|
||||
{
|
||||
return;
|
||||
}
|
||||
thisObj2 = this.CS$<>8__locals1.thisObj;
|
||||
Action feklandbaep = thisObj2.FEKLANDBAEP;
|
||||
CreationObjectSettingBooleanUIControl creationObjectSettingBooleanUIControl = this.instance;
|
||||
Action action;
|
||||
@delegate = Delegate.Remove(feklandbaep, action);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
thisObj2.FEKLANDBAEP = @delegate;
|
||||
}
|
||||
|
||||
// Token: 0x0400E80E RID: 59406
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400E80E")]
|
||||
public CreationObjectSettingBooleanUIControl instance;
|
||||
|
||||
// Token: 0x0400E80F RID: 59407
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400E80F")]
|
||||
public ComparerCircuitNodeDisplay.HONMFNEJDLM CS$<>8__locals1;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user