m
This commit is contained in:
@@ -0,0 +1,363 @@
|
||||
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: 0x02003332 RID: 13106
|
||||
[Token(Token = "0x2003332")]
|
||||
public class ComparerCircuitNodeDisplay : ModedCircuitNodeDisplay<ComparerNode>
|
||||
{
|
||||
// Token: 0x17003DD5 RID: 15829
|
||||
// (get) Token: 0x0601666C RID: 91756 RVA: 0x0053401C File Offset: 0x0053221C
|
||||
[Token(Token = "0x17003DD5")]
|
||||
protected override Dictionary<string, FLCFOLDCOJJ> COHNLMCLBPI
|
||||
{
|
||||
[Token(Token = "0x601666C")]
|
||||
[Address(RVA = "0x1CE1BD0", Offset = "0x1CE0BD0", VA = "0x181CE1BD0", 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: 0x17003DD6 RID: 15830
|
||||
// (get) Token: 0x0601666D RID: 91757 RVA: 0x00534058 File Offset: 0x00532258
|
||||
[Token(Token = "0x17003DD6")]
|
||||
protected override object KCNNJNGLIEO
|
||||
{
|
||||
[Token(Token = "0x601666D")]
|
||||
[Address(RVA = "0x1CE1B10", Offset = "0x1CE0B10", VA = "0x181CE1B10", Slot = "34")]
|
||||
get
|
||||
{
|
||||
return "mode";
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0601666E RID: 91758 RVA: 0x0053406C File Offset: 0x0053226C
|
||||
[Token(Token = "0x601666E")]
|
||||
[Address(RVA = "0x1CE1840", Offset = "0x1CE0840", VA = "0x181CE1840", Slot = "35")]
|
||||
protected override int BJKDPHHLCII()
|
||||
{
|
||||
CircuitNode mbbjmcdgdmn = this.MBBJMCDGDMN;
|
||||
if (mbbjmcdgdmn == 0 || mbbjmcdgdmn != 0)
|
||||
{
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x0601666F RID: 91759 RVA: 0x0053408C File Offset: 0x0053228C
|
||||
[Token(Token = "0x601666F")]
|
||||
[Address(RVA = "0x1CE1F60", Offset = "0x1CE0F60", VA = "0x181CE1F60", 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;
|
||||
int num3 = 0;
|
||||
string text;
|
||||
string text2;
|
||||
ulong num4;
|
||||
DHCINNFLBBA dhcinnflbba = ONOKJPIMIIP.LBJPOFMMGGP(func, action, num3, num2, text, text2, (int)num4, num);
|
||||
oppmklpogfb.Add(dhcinnflbba);
|
||||
}
|
||||
|
||||
// Token: 0x06016670 RID: 91760 RVA: 0x005340EC File Offset: 0x005322EC
|
||||
[Token(Token = "0x6016670")]
|
||||
[Address(RVA = "0x1CE18C0", Offset = "0x1CE08C0", VA = "0x181CE18C0", 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: 0x06016671 RID: 91761 RVA: 0x00534160 File Offset: 0x00532360
|
||||
[Token(Token = "0x6016671")]
|
||||
[Address(RVA = "0x1CE1E70", Offset = "0x1CE0E70", VA = "0x181CE1E70")]
|
||||
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: 0x06016672 RID: 91762 RVA: 0x005341B0 File Offset: 0x005323B0
|
||||
[Token(Token = "0x6016672")]
|
||||
[Address(RVA = "0x1A5AEB0", Offset = "0x1A59EB0", VA = "0x181A5AEB0")]
|
||||
private bool EFJKAPLKEAK()
|
||||
{
|
||||
return this.NOKJGALJPKC;
|
||||
}
|
||||
|
||||
// Token: 0x06016673 RID: 91763 RVA: 0x005341C4 File Offset: 0x005323C4
|
||||
[Token(Token = "0x6016673")]
|
||||
[Address(RVA = "0x1CE1D60", Offset = "0x1CE0D60", VA = "0x181CE1D60", 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: 0x06016674 RID: 91764 RVA: 0x00534224 File Offset: 0x00532424
|
||||
[Token(Token = "0x6016674")]
|
||||
[Address(RVA = "0x1CE1A70", Offset = "0x1CE0A70", VA = "0x181CE1A70")]
|
||||
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: 0x06016675 RID: 91765 RVA: 0x0053425C File Offset: 0x0053245C
|
||||
[Token(Token = "0x6016675")]
|
||||
[Address(RVA = "0x1CE1B40", Offset = "0x1CE0B40", VA = "0x181CE1B40", 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: 0x06016676 RID: 91766 RVA: 0x00534290 File Offset: 0x00532490
|
||||
[Token(Token = "0x6016676")]
|
||||
[Address(RVA = "0x1CE2070", Offset = "0x1CE1070", VA = "0x181CE2070")]
|
||||
public ComparerCircuitNodeDisplay()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400EA4F RID: 59983
|
||||
[FieldOffset(Offset = "0xE8")]
|
||||
[Token(Token = "0x400EA4F")]
|
||||
private Action FEKLANDBAEP;
|
||||
|
||||
// Token: 0x0400EA50 RID: 59984
|
||||
[FieldOffset(Offset = "0xF0")]
|
||||
[Token(Token = "0x400EA50")]
|
||||
private bool NOKJGALJPKC;
|
||||
|
||||
// Token: 0x02003333 RID: 13107
|
||||
[Token(Token = "0x2003333")]
|
||||
[CompilerGenerated]
|
||||
private sealed class HONMFNEJDLM
|
||||
{
|
||||
// Token: 0x06016677 RID: 91767 RVA: 0x005342A4 File Offset: 0x005324A4
|
||||
[Token(Token = "0x6016677")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
public HONMFNEJDLM()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06016678 RID: 91768 RVA: 0x005342B8 File Offset: 0x005324B8
|
||||
[Token(Token = "0x6016678")]
|
||||
[Address(RVA = "0x1CE7000", Offset = "0x1CE6000", VA = "0x181CE7000")]
|
||||
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: 0x0400EA51 RID: 59985
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400EA51")]
|
||||
public ComparerCircuitNodeDisplay <>4__this;
|
||||
|
||||
// Token: 0x0400EA52 RID: 59986
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400EA52")]
|
||||
public ComparerCircuitNodeDisplay thisObj;
|
||||
}
|
||||
|
||||
// Token: 0x02003334 RID: 13108
|
||||
[Token(Token = "0x2003334")]
|
||||
[CompilerGenerated]
|
||||
private sealed class EJDIIJAGCJB
|
||||
{
|
||||
// Token: 0x06016679 RID: 91769 RVA: 0x00534378 File Offset: 0x00532578
|
||||
[Token(Token = "0x6016679")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
public EJDIIJAGCJB()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0601667A RID: 91770 RVA: 0x0053438C File Offset: 0x0053258C
|
||||
[Token(Token = "0x601667A")]
|
||||
[Address(RVA = "0x1CE3720", Offset = "0x1CE2720", VA = "0x181CE3720")]
|
||||
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: 0x0400EA53 RID: 59987
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400EA53")]
|
||||
public CreationObjectSettingBooleanUIControl instance;
|
||||
|
||||
// Token: 0x0400EA54 RID: 59988
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400EA54")]
|
||||
public ComparerCircuitNodeDisplay.HONMFNEJDLM CS$<>8__locals1;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user