using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; using AGUI.StackedUI; using Cpp2IlInjected; using RecRoom.AGUI.ToolUIs; using RecRoom.Circuits; using RecRoom.CircuitsV2.ContextNodes; using RecRoom.Core.Creation; using TMPro; using UnityEngine; // Token: 0x02000259 RID: 601 [Token(Token = "0x2000259")] [DisallowMultipleComponent] public class MultiPlayerEditableText : PlayerEditableTextBase { // Token: 0x170002A3 RID: 675 // (get) Token: 0x060011E4 RID: 4580 RVA: 0x0004C244 File Offset: 0x0004A444 [Token(Token = "0x170002A3")] private bool JDAKDEIANGH { [Token(Token = "0x60011E4")] [Address(RVA = "0xC49F20", Offset = "0xC48D20", VA = "0x180C49F20")] get { ControlPanelCircuitObject controlPanelCircuitObject = this.controlPanelCircuitObject; int num = 0; return controlPanelCircuitObject != num; } } // Token: 0x060011E5 RID: 4581 RVA: 0x0004C264 File Offset: 0x0004A464 [Token(Token = "0x60011E5")] [Address(RVA = "0xC49310", Offset = "0xC48110", VA = "0x180C49310", Slot = "13")] protected override void Awake() { base.Awake(); int num = 0; if (this.numberOfSerializedMessages > num) { List> oajfmkdkhof = this.OAJFMKDKHOF; int num2; string text = "pet_msg_" + num2; Action action = new Action(this.LCNNGOCDJOG); JNCLECIDJMA jnclecidjma; oajfmkdkhof.Add(jnclecidjma); num++; } } // Token: 0x060011E6 RID: 4582 RVA: 0x0004C2B8 File Offset: 0x0004A4B8 [Token(Token = "0x60011E6")] [Address(RVA = "0xC49700", Offset = "0xC48500", VA = "0x180C49700", Slot = "18")] protected override void LMFHDPCGCGP() { if (EIMGAFPPJFD.IKDFDELJBII()) { CreationObject component = base.GetComponent(); int num = 0; if (component == num) { GameObject gameObject = base.gameObject; Debug.LogWarning("Missing CreationObject", gameObject); throw new NullReferenceException(); } ControlPanelCircuitObject controlPanelCircuitObject = this.controlPanelCircuitObject; int num2 = 0; if (controlPanelCircuitObject != num2) { } int size = this.OAJFMKDKHOF._size; List list = new List(); int num3 = 0; if (size > 0) { int index = num3; OMKPHDBNLKH.DEDABHKCIBG dedabhkcibg; if (MultiPlayerEditableText.<>c.<>9__8_0 == 0) { dedabhkcibg = (MakerPenPaletteConfigScreen editableUIFlow) => editableUIFlow.DefaultStringUIControlPrefab; MultiPlayerEditableText.<>c.<>9__8_0 = dedabhkcibg; } Func <>9__2; Action <>9__3; Action <>9__4; OMKPHDBNLKH.OHINDOLFNMP ohindolfnmp = delegate(CreationObjectSettingStringUIControl instance) { int num9 = 0; int index2 = index; TextMeshProUGUI propertyDescription = instance.PropertyDescription; string text3 = "Message " + index2; string text4 = propertyDescription.text; if (<>9__2 == 0) { Func func2 = delegate { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); }; <>9__2 = func2; } if (<>9__3 == 0) { Action action3 = delegate(string val) { MultiPlayerEditableText <>4__this2 = this; int index3 = index; <>4__this2.NGCEMOGHDOD(index3, val, true); }; <>9__3 = action3; } MultiPlayerEditableText <>4__this = this; EBPEIAPPJJK textInputMode = <>4__this.textInputMode; string dialogMessage = <>4__this.dialogMessage; int maxMessageLength2 = this.maxMessageLength; instance.JJAPBNJPPAK = num9; instance.JJAPBNJPPAK.HLOLBMKJFOM = (EBPEIAPPJJK)num9; instance.JJAPBNJPPAK.GOLGMHKKGEA = num9; instance.JJAPBNJPPAK.LNEHNHPOOKK = num9; if (<>9__4 == 0) { Action action4 = delegate(CreationObjectSettingStringUIControl ui) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); }; <>9__4 = action4; } }; int num4 = this.settingsPriority; PGIHLFOHNML pgihlfohnml = new PGIHLFOHNML(dedabhkcibg, ohindolfnmp, num4); ILINODKFHEO ilinodkfheo = component.AddConfigurableSetting(pgihlfohnml); Func func = delegate { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); }; Action action = delegate(string val) { MultiPlayerEditableText <>4__this3 = this; int index4 = index; <>4__this3.NGCEMOGHDOD(index4, val, true); }; int index6 = index; string text = "Message " + action; int maxMessageLength = this.maxMessageLength; int num5 = 0; int num6 = 0; int num7 = 0; EIHJCCEGFLF eihjccegflf = ONOKJPIMIIP.DGNHPOINBPP(func, action, num7, num6, num5, num5 != 0, text); list.Add(eihjccegflf); Action action2 = delegate(string val) { MultiPlayerEditableText <>4__this4 = num5.<>4__this; int index5 = num5.index; <>4__this4.NGCEMOGHDOD(index5, val, true); }; string text2 = "Message " + action2; INAOBEINBGO inaobeinbgo; list.Add(inaobeinbgo); num3++; } int num8 = this.settingsPriority; JJOBLNLCNND[] array = list.ToArray(); ECJBHJOCKHL ecjbhjockhl = component.AddFoldoutMenu("Text", num8, array); } } // Token: 0x060011E7 RID: 4583 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x60011E7")] [Address(RVA = "0xC49C80", Offset = "0xC48A80", VA = "0x180C49C80", Slot = "19")] protected override string NCOBPFBEHPD() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x060011E8 RID: 4584 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x60011E8")] [Address(RVA = "0xC49690", Offset = "0xC48490", VA = "0x180C49690")] private string KMDALCDDGFE(int OJGHMDKEBEK) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x060011E9 RID: 4585 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x60011E9")] [Address(RVA = "0xC49D40", Offset = "0xC48B40", VA = "0x180C49D40")] private void NGCEMOGHDOD(int OJGHMDKEBEK, string KAJBNMCAFBB, bool GFENNHHGKEH = true) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x060011EA RID: 4586 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x60011EA")] [Address(RVA = "0xC49460", Offset = "0xC48260", VA = "0x180C49460")] public void CV2SynchronizedMessageSet(IBNOALNMLHC CHKKEHOKPJP, int OJGHMDKEBEK, string KAJBNMCAFBB) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x060011EB RID: 4587 RVA: 0x0004C454 File Offset: 0x0004A654 [Token(Token = "0x60011EB")] [Address(RVA = "0xAE7470", Offset = "0xAE6270", VA = "0x180AE7470")] private void LCNNGOCDJOG() { base.LDEGMHLJLGJ(); } // Token: 0x060011EC RID: 4588 RVA: 0x0004C468 File Offset: 0x0004A668 [Token(Token = "0x60011EC")] [Address(RVA = "0xC49580", Offset = "0xC48380", VA = "0x180C49580", Slot = "20")] public override void DeserializeFrom(KPNDFONGDGF HFBJGCHOANH) { } // Token: 0x060011ED RID: 4589 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x60011ED")] [Address(RVA = "0xC49F80", Offset = "0xC48D80", VA = "0x180C49F80", Slot = "21")] public override void SerializeTo(ref PDEKIHFJKHJ IABNDBNHMKF, ref MKNCHKCCIHK NHFINJNIPGK, StringBuilder BIPOIFGEMGB) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x060011EE RID: 4590 RVA: 0x0004C484 File Offset: 0x0004A684 [Token(Token = "0x60011EE")] [Address(RVA = "0xC4A110", Offset = "0xC48F10", VA = "0x180C4A110")] public MultiPlayerEditableText() { List> list = new List(); this.OAJFMKDKHOF = list; base..ctor(); } // Token: 0x04000DEE RID: 3566 [FieldOffset(Offset = "0xA8")] [Token(Token = "0x4000DEE")] [SerializeField] private InputSlot baseMessagePin = (InputSlot)((ulong)3L); // Token: 0x04000DEF RID: 3567 [FieldOffset(Offset = "0xAC")] [Token(Token = "0x4000DEF")] [SerializeField] private int numberOfSerializedMessages = (int)((ulong)5L); // Token: 0x04000DF0 RID: 3568 [FieldOffset(Offset = "0xB0")] [Token(Token = "0x4000DF0")] private List> OAJFMKDKHOF; // Token: 0x04000DF1 RID: 3569 [FieldOffset(Offset = "0xB8")] [Token(Token = "0x4000DF1")] [SerializeField] private ControlPanelCircuitObject controlPanelCircuitObject; // Token: 0x04000DF2 RID: 3570 [FieldOffset(Offset = "0xC0")] [Token(Token = "0x4000DF2")] [SerializeField] private int settingsPriority; // Token: 0x0200025A RID: 602 [Token(Token = "0x200025A")] [CompilerGenerated] private sealed class JFAMIGMPJLH { // Token: 0x060011EF RID: 4591 RVA: 0x0004C4B8 File Offset: 0x0004A6B8 [Token(Token = "0x60011EF")] [Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")] public JFAMIGMPJLH() { } // Token: 0x060011F0 RID: 4592 RVA: 0x0004C4CC File Offset: 0x0004A6CC [Token(Token = "0x60011F0")] [Address(RVA = "0xC3C280", Offset = "0xC3B080", VA = "0x180C3C280")] internal void b__1(CreationObjectSettingStringUIControl instance) { int num = 0; int num2 = this.index; TextMeshProUGUI propertyDescription = instance.PropertyDescription; string text = "Message " + num2; string text2 = propertyDescription.text; if (this.<>9__2 == 0) { Func func = delegate { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); }; this.<>9__2 = func; } if (this.<>9__3 == 0) { Action action = delegate(string val) { MultiPlayerEditableText multiPlayerEditableText2 = this.<>4__this; int num3 = this.index; multiPlayerEditableText2.NGCEMOGHDOD(num3, val, true); }; this.<>9__3 = action; } MultiPlayerEditableText multiPlayerEditableText = this.<>4__this; EBPEIAPPJJK textInputMode = multiPlayerEditableText.textInputMode; string dialogMessage = multiPlayerEditableText.dialogMessage; int maxMessageLength = this.<>4__this.maxMessageLength; instance.JJAPBNJPPAK = num; instance.JJAPBNJPPAK.HLOLBMKJFOM = (EBPEIAPPJJK)num; instance.JJAPBNJPPAK.GOLGMHKKGEA = num; instance.JJAPBNJPPAK.LNEHNHPOOKK = num; if (this.<>9__4 == 0) { Action action2 = delegate(CreationObjectSettingStringUIControl ui) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); }; this.<>9__4 = action2; } } // Token: 0x060011F1 RID: 4593 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x60011F1")] [Address(RVA = "0xC3C490", Offset = "0xC3B290", VA = "0x180C3C490")] internal string b__2() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x060011F2 RID: 4594 RVA: 0x0004C5B8 File Offset: 0x0004A7B8 [Token(Token = "0x60011F2")] [Address(RVA = "0xC3C510", Offset = "0xC3B310", VA = "0x180C3C510")] internal void b__3(string val) { MultiPlayerEditableText multiPlayerEditableText = this.<>4__this; int num = this.index; multiPlayerEditableText.NGCEMOGHDOD(num, val, true); } // Token: 0x060011F3 RID: 4595 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x60011F3")] [Address(RVA = "0xC3C550", Offset = "0xC3B350", VA = "0x180C3C550")] internal void b__4(CreationObjectSettingStringUIControl ui) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x060011F4 RID: 4596 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x60011F4")] [Address(RVA = "0xC3C490", Offset = "0xC3B290", VA = "0x180C3C490")] internal string b__5() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x060011F5 RID: 4597 RVA: 0x0004C5E4 File Offset: 0x0004A7E4 [Token(Token = "0x60011F5")] [Address(RVA = "0xC3C510", Offset = "0xC3B310", VA = "0x180C3C510")] internal void b__6(string val) { MultiPlayerEditableText multiPlayerEditableText = this.<>4__this; int num = this.index; multiPlayerEditableText.NGCEMOGHDOD(num, val, true); } // Token: 0x060011F6 RID: 4598 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x60011F6")] [Address(RVA = "0xC3C490", Offset = "0xC3B290", VA = "0x180C3C490")] internal string b__7() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x060011F7 RID: 4599 RVA: 0x0004C610 File Offset: 0x0004A810 [Token(Token = "0x60011F7")] [Address(RVA = "0xC3C510", Offset = "0xC3B310", VA = "0x180C3C510")] internal void b__8(string val) { MultiPlayerEditableText multiPlayerEditableText = this.<>4__this; int num = this.index; multiPlayerEditableText.NGCEMOGHDOD(num, val, true); } // Token: 0x04000DF3 RID: 3571 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4000DF3")] public int index; // Token: 0x04000DF4 RID: 3572 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4000DF4")] public MultiPlayerEditableText <>4__this; // Token: 0x04000DF5 RID: 3573 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4000DF5")] public Func <>9__2; // Token: 0x04000DF6 RID: 3574 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4000DF6")] public Action <>9__3; // Token: 0x04000DF7 RID: 3575 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4000DF7")] public Action <>9__4; } // Token: 0x0200025C RID: 604 [Token(Token = "0x200025C")] [CompilerGenerated] private sealed class KNADEMFMFIO { // Token: 0x060011FB RID: 4603 RVA: 0x0004C684 File Offset: 0x0004A884 [Token(Token = "0x60011FB")] [Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")] public KNADEMFMFIO() { } // Token: 0x060011FC RID: 4604 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x60011FC")] [Address(RVA = "0xC3C8D0", Offset = "0xC3B6D0", VA = "0x180C3C8D0")] internal void b__0(NKHBKKGOIHL.PEHMCMIFBJO response) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x04000DFA RID: 3578 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4000DFA")] public MultiPlayerEditableText <>4__this; // Token: 0x04000DFB RID: 3579 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4000DFB")] public int i; // Token: 0x04000DFC RID: 3580 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4000DFC")] public string newMessage; } }