scripts
This commit is contained in:
@@ -0,0 +1,178 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using AGUI.StackedUI;
|
||||
using AGUI.StackedUI.Dialog;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom.AGUI.ToolUIs;
|
||||
using RecRoom.Async;
|
||||
using RecRoom.Circuits;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace RecRoom
|
||||
{
|
||||
// Token: 0x02001DA5 RID: 7589
|
||||
[Token(Token = "0x2001DA5")]
|
||||
[StructLayout(3)]
|
||||
public class SelectorNodeConfigEditableUIControl : CreationObjectSettingPropertyUIControl<SelectorNode.SelectorConfig, SelectorNodeConfigEditableUIControl>
|
||||
{
|
||||
// Token: 0x0600CCA6 RID: 52390 RVA: 0x00309C80 File Offset: 0x00307E80
|
||||
[Token(Token = "0x600CCA6")]
|
||||
[Address(RVA = "0x13E1E50", Offset = "0x13E0850", VA = "0x1813E1E50")]
|
||||
internal void BGECGADCBKJ(int EFBDCIJMFGD, SelectorNode.SelectorConfig PBGBNMCPEAJ)
|
||||
{
|
||||
this.EFBDCIJMFGD = EFBDCIJMFGD;
|
||||
this.GANOMFLBKNI = PBGBNMCPEAJ;
|
||||
bool isCompleted = ((IAsyncResult)this).IsCompleted;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCA7 RID: 52391 RVA: 0x00309CA4 File Offset: 0x00307EA4
|
||||
[Token(Token = "0x600CCA7")]
|
||||
[Address(RVA = "0x13E2270", Offset = "0x13E0C70", VA = "0x1813E2270")]
|
||||
public void OnNodeModified()
|
||||
{
|
||||
SelectorNode.SelectorConfig selectorConfig;
|
||||
this.GANOMFLBKNI = selectorConfig;
|
||||
bool isCompleted = ((IAsyncResult)this).IsCompleted;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCA8 RID: 52392 RVA: 0x00309CC8 File Offset: 0x00307EC8
|
||||
[Token(Token = "0x600CCA8")]
|
||||
[Address(RVA = "0x13E2100", Offset = "0x13E0B00", VA = "0x1813E2100", Slot = "6")]
|
||||
protected override void HNFFKJABKNO()
|
||||
{
|
||||
base.HNFFKJABKNO();
|
||||
int num = this.EFBDCIJMFGD;
|
||||
Color[] array = this.colors;
|
||||
num += 2;
|
||||
num += num;
|
||||
Image image = this.backgroundImage;
|
||||
TextMeshProUGUI textMeshProUGUI = this.compareModeButtonText;
|
||||
string modeSymbol = SignalComparisonHelper.GetModeSymbol(this.GANOMFLBKNI.CompareMode);
|
||||
PLDMAFINLJO.FANDNIHFMNM(textMeshProUGUI, modeSymbol);
|
||||
PLDMAFINLJO.FANDNIHFMNM(this.compareValueText, modeSymbol);
|
||||
}
|
||||
|
||||
// Token: 0x0600CCA9 RID: 52393 RVA: 0x00309D2C File Offset: 0x00307F2C
|
||||
[Token(Token = "0x600CCA9")]
|
||||
[Address(RVA = "0x13E2060", Offset = "0x13E0A60", VA = "0x1813E2060")]
|
||||
public void Button_OnModeButtonPressed()
|
||||
{
|
||||
SelectorNode.SelectorConfig ganomflbkni = this.GANOMFLBKNI;
|
||||
SignalComparisonHelper.ComparerModes[] mjdcapodhig = this.MJDCAPODHIG;
|
||||
SignalComparisonHelper.ComparerModes[] mjdcapodhig2 = this.MJDCAPODHIG;
|
||||
int num;
|
||||
num++;
|
||||
SignalComparisonHelper.ComparerModes compareMode = ganomflbkni.CompareMode;
|
||||
SignalComparisonHelper.ComparerModes comparerModes = mjdcapodhig2[(int)compareMode];
|
||||
this.GANOMFLBKNI = comparerModes;
|
||||
bool isCompleted = ((IAsyncResult)this).IsCompleted;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCAA RID: 52394 RVA: 0x00309D7C File Offset: 0x00307F7C
|
||||
[Token(Token = "0x600CCAA")]
|
||||
[Address(RVA = "0x13E1E70", Offset = "0x13E0870", VA = "0x1813E1E70")]
|
||||
public void Button_Increment(int increment)
|
||||
{
|
||||
bool isCompleted = ((IAsyncResult)this).IsCompleted;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCAB RID: 52395 RVA: 0x00309D90 File Offset: 0x00307F90
|
||||
[Token(Token = "0x600CCAB")]
|
||||
[Address(RVA = "0x13E1E90", Offset = "0x13E0890", VA = "0x1813E1E90")]
|
||||
public void Button_Input()
|
||||
{
|
||||
MakerPenPaletteUI paletteMenuToolUI = this.<LJOGMLBAABG>k__BackingField.KNDLGPOKIOI;
|
||||
if (SelectorNodeConfigEditableUIControl.<>c.<>9__12_0 == 0)
|
||||
{
|
||||
SelectorNodeConfigEditableUIControl.<>c.<>9__12_0 = (TextInputUIDialog dialog) => dialog.ShowDialog();
|
||||
}
|
||||
Action<TextInputUIDialog.KDJGEIICAJL> action = new Action(this.LNDPKPGGHIJ);
|
||||
int num = 0;
|
||||
num += num;
|
||||
num++;
|
||||
IPromise<TextInputUIDialog> promise2;
|
||||
IPromise<TextInputUIDialog> promise = promise2.Then(action);
|
||||
}
|
||||
|
||||
// Token: 0x0600CCAC RID: 52396 RVA: 0x00309DF0 File Offset: 0x00307FF0
|
||||
[Token(Token = "0x600CCAC")]
|
||||
[Address(RVA = "0x13E22D0", Offset = "0x13E0CD0", VA = "0x1813E22D0")]
|
||||
public SelectorNodeConfigEditableUIControl()
|
||||
{
|
||||
Array values;
|
||||
do
|
||||
{
|
||||
this.EFBDCIJMFGD = (int)((ulong)4294967295L);
|
||||
Color[] array = new Color[7];
|
||||
this.colors = array;
|
||||
values = Enum.GetValues(typeof(SignalComparisonHelper.ComparerModes));
|
||||
}
|
||||
while (values != 0 && values == 0);
|
||||
this.MJDCAPODHIG = values;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x0600CCAD RID: 52397 RVA: 0x00309E40 File Offset: 0x00308040
|
||||
[Token(Token = "0x600CCAD")]
|
||||
[Address(RVA = "0x13E2210", Offset = "0x13E0C10", VA = "0x1813E2210")]
|
||||
[CompilerGenerated]
|
||||
private void LNDPKPGGHIJ(TextInputUIDialog.KDJGEIICAJL PBAOMKNFBFL)
|
||||
{
|
||||
bool flag;
|
||||
if (flag)
|
||||
{
|
||||
ulong num;
|
||||
this.GANOMFLBKNI.CompareValue = (int)num;
|
||||
this.UpdateControl();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x040089F7 RID: 35319
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x40089F7")]
|
||||
private SelectorNode.SelectorConfig GANOMFLBKNI;
|
||||
|
||||
// Token: 0x040089F8 RID: 35320
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x40089F8")]
|
||||
private int EFBDCIJMFGD;
|
||||
|
||||
// Token: 0x040089F9 RID: 35321
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x40089F9")]
|
||||
[SerializeField]
|
||||
private Color[] colors;
|
||||
|
||||
// Token: 0x040089FA RID: 35322
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
||||
[Token(Token = "0x40089FA")]
|
||||
[SerializeField]
|
||||
private Image backgroundImage;
|
||||
|
||||
// Token: 0x040089FB RID: 35323
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
||||
[Token(Token = "0x40089FB")]
|
||||
[SerializeField]
|
||||
private TextMeshProUGUI compareModeButtonText;
|
||||
|
||||
// Token: 0x040089FC RID: 35324
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
|
||||
[Token(Token = "0x40089FC")]
|
||||
[SerializeField]
|
||||
private TextMeshProUGUI compareValueText;
|
||||
|
||||
// Token: 0x040089FD RID: 35325
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA0")]
|
||||
[Token(Token = "0x40089FD")]
|
||||
private SignalComparisonHelper.ComparerModes[] MJDCAPODHIG;
|
||||
|
||||
// Token: 0x040089FE RID: 35326
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA8")]
|
||||
[Token(Token = "0x40089FE")]
|
||||
[SerializeField]
|
||||
private TextInputUIDialog textInputDialogPrefab;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user