using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Text; using System.Text.RegularExpressions; using AGUI.StackedUI; using Cpp2IlInjected; using Google.Protobuf.Collections; using RecRoom.AGUI.ToolUIs; using RecRoom.Circuits; using RecRoom.Core.Creation; using RecRoom.Networking.SynchronizedFields; using TMPro; using UnityEngine; // Token: 0x0200026B RID: 619 [Token(Token = "0x200026B")] [DisallowMultipleComponent] [StructLayout(3)] public class PlayerEditableText : PlayerEditableTextBase { // Token: 0x170002AA RID: 682 // (get) Token: 0x0600124C RID: 4684 RVA: 0x0004DCA0 File Offset: 0x0004BEA0 // (set) Token: 0x0600124D RID: 4685 RVA: 0x0004DCC0 File Offset: 0x0004BEC0 [Token(Token = "0x170002AA")] private string LKMAOHJJOOP { [Token(Token = "0x600124C")] [Address(RVA = "0xFDE520", Offset = "0xFDCF20", VA = "0x180FDE520")] get { return this.AFJHJMMHPJF.Get(); } [Token(Token = "0x600124D")] [Address(RVA = "0xFDE4A0", Offset = "0xFDCEA0", VA = "0x180FDE4A0")] set { SynchronizedField afjhjmmhpjf = this.AFJHJMMHPJF; string text = this.IJEMLKJAEDJ(value); } } // Token: 0x0600124E RID: 4686 RVA: 0x0004DCE4 File Offset: 0x0004BEE4 [Token(Token = "0x600124E")] [Address(RVA = "0xFDE330", Offset = "0xFDCD30", VA = "0x180FDE330", Slot = "13")] protected override void Awake() { base.Awake(); Action action = new Action(base.LDEGMHLJLGJ); SynchronizedField synchronizedField; this.AFJHJMMHPJF = synchronizedField; } // Token: 0x0600124F RID: 4687 RVA: 0x0004DD0C File Offset: 0x0004BF0C [Token(Token = "0x600124F")] [Address(RVA = "0xFDE740", Offset = "0xFDD140", VA = "0x180FDE740", Slot = "18")] protected override void LMFHDPCGCGP() { if (EIMGAFPPJFD.IKDFDELJBII()) { CreationObject component = base.GetComponent(); int num = 0; if (!(component == num)) { OMKPHDBNLKH.DEDABHKCIBG <>9__8_ = PlayerEditableText.<>c.<>9__8_0; if (<>9__8_ == 0) { PlayerEditableText.<>c.<>9__8_0 = (MakerPenPaletteConfigScreen editableUIFlow) => editableUIFlow.DefaultStringUIControlPrefab; } OMKPHDBNLKH.OHINDOLFNMP ohindolfnmp = new OMKPHDBNLKH.OHINDOLFNMP(this.MONIMACGAPF); int num2 = this.editablePriority; PGIHLFOHNML pgihlfohnml = new PGIHLFOHNML(<>9__8_, ohindolfnmp, num2); ILINODKFHEO ilinodkfheo = component.AddConfigurableSetting(pgihlfohnml); return; } GameObject gameObject = base.gameObject; Debug.LogWarning("Missing CreationObject", gameObject); } } // Token: 0x06001250 RID: 4688 RVA: 0x0004DD9C File Offset: 0x0004BF9C [Token(Token = "0x6001250")] [Address(RVA = "0xFDE520", Offset = "0xFDCF20", VA = "0x180FDE520")] public string SynchronizedMessageGet() { return this.AFJHJMMHPJF.Get(); } // Token: 0x06001251 RID: 4689 RVA: 0x0004DDBC File Offset: 0x0004BFBC [Token(Token = "0x6001251")] [Address(RVA = "0xFDEC50", Offset = "0xFDD650", VA = "0x180FDEC50")] public void SynchronizedMessageSet(string KAJBNMCAFBB) { int maxMessageLength = this.maxMessageLength; if (KAJBNMCAFBB.m_stringLength > maxMessageLength) { int num = 0; string text = KAJBNMCAFBB.Substring(num, maxMessageLength); } this.LKMAOHJJOOP = KAJBNMCAFBB; } // Token: 0x06001252 RID: 4690 RVA: 0x0004DE00 File Offset: 0x0004C000 [Token(Token = "0x6001252")] [Address(RVA = "0xFDE520", Offset = "0xFDCF20", VA = "0x180FDE520", Slot = "19")] protected override string NCOBPFBEHPD() { return this.AFJHJMMHPJF.Get(); } // Token: 0x06001253 RID: 4691 RVA: 0x0004DE20 File Offset: 0x0004C020 [Token(Token = "0x6001253")] [Address(RVA = "0xFDE400", Offset = "0xFDCE00", VA = "0x180FDE400", Slot = "20")] public override void DeserializeFrom(KPNDFONGDGF HFBJGCHOANH) { if (HFBJGCHOANH != 0 && HFBJGCHOANH != 0) { Dictionary lnfkfahmaci = HFBJGCHOANH.LNFKFAHMACI; } string defaultMessage = this.defaultMessage; this.LKMAOHJJOOP = defaultMessage; } // Token: 0x06001254 RID: 4692 RVA: 0x0004DE54 File Offset: 0x0004C054 [Token(Token = "0x6001254")] [Address(RVA = "0xFDEB30", Offset = "0xFDD530", VA = "0x180FDEB30", Slot = "21")] public override void SerializeTo(ref PDEKIHFJKHJ IABNDBNHMKF, ref MKNCHKCCIHK NHFINJNIPGK, StringBuilder BIPOIFGEMGB) { RepeatedField gmemjhhkhgf = new CAEHJIIMFMB().GMEMJHHKHGF; string text = this.AFJHJMMHPJF.Get(); gmemjhhkhgf.Add(text); } // Token: 0x06001255 RID: 4693 RVA: 0x0004DE88 File Offset: 0x0004C088 [Token(Token = "0x6001255")] [Address(RVA = "0xFDE570", Offset = "0xFDCF70", VA = "0x180FDE570")] private string IJEMLKJAEDJ(string OAHGODMGDNB) { string[] eifiloapnbo = PlayerEditableText.EIFILOAPNBO; string text = string.Join("|", eifiloapnbo); Regex regex = new Regex("<(" + text + ")(=.*?)?>"); Regex regex2 = new Regex(""); string text2 = regex.Replace(OAHGODMGDNB, ""); if (!text2.Equals(OAHGODMGDNB)) { string text3 = regex.Replace(text2, ""); } string text4 = regex2.Replace(text2, ""); string text5; if (!text4.Equals(OAHGODMGDNB)) { text5 = regex2.Replace(text4, ""); while (text5 != 0) { } } return text5; } // Token: 0x06001256 RID: 4694 RVA: 0x0004DF34 File Offset: 0x0004C134 [Token(Token = "0x6001256")] [Address(RVA = "0xFE0340", Offset = "0xFDED40", VA = "0x180FE0340")] public PlayerEditableText() { List list = new List(); this.PGDICHHPLBI = list; this.defaultMessage = "Rec Room"; this.maxMessageLength = (int)((ulong)100L); this.dialogMessage = "Enter a message to display"; StringBuilder stringBuilder = new StringBuilder(); this.OEHELEIBKEB = stringBuilder; Dictionary dictionary = new Dictionary(); this.NOGGJIOKBOF = dictionary; base..ctor(); } // Token: 0x06001257 RID: 4695 RVA: 0x0004DF9C File Offset: 0x0004C19C // Note: this type is marked as 'beforefieldinit'. [Token(Token = "0x6001257")] [Address(RVA = "0xFDED10", Offset = "0xFDD710", VA = "0x180FDED10")] static PlayerEditableText() { string[] array = new string[61]; if ("a" != 0) { } array[0] = "a"; if ("align" != 0) { } array[1] = "align"; if ("alpha" != 0) { } array[2] = "alpha"; if ("author" != 0) { } array[3] = "author"; if ("b" != 0) { } array[4] = "b"; if ("big" != 0) { } array[5] = "big"; if ("blockquote" != 0) { } array[6] = "blockquote"; if ("br" != 0) { } array[7] = "br"; if ("color" != 0) { } array[8] = "color"; if ("center" != 0) { } array[9] = "center"; if ("code" != 0) { } array[10] = "code"; if ("cspace" != 0) { } array[11] = "cspace"; if ("dd" != 0) { } array[12] = "dd"; if ("dl" != 0) { } array[13] = "dl"; if ("dt" != 0) { } array[14] = "dt"; if ("em" != 0) { } array[15] = "em"; if ("font" != 0) { } array[16] = "font"; if ("h1" != 0) { } array[17] = "h1"; if ("h2" != 0) { } array[18] = "h2"; if ("h3" != 0) { } array[19] = "h3"; if ("hr" != 0) { } array[20] = "hr"; if ("i" != 0) { } array[21] = "i"; if ("img" != 0) { } array[22] = "img"; if ("indent" != 0) { } array[23] = "indent"; if ("li" != 0) { } array[24] = "li"; if ("line-height" != 0) { } array[25] = "line-height"; if ("line-indent" != 0) { } array[26] = "line-indent"; if ("link" != 0) { } array[27] = "link"; if ("lowercase" != 0) { } array[28] = "lowercase"; if ("margin" != 0) { } array[29] = "margin"; if ("mark" != 0) { } array[30] = "mark"; if ("material" != 0) { } array[31] = "material"; if ("mspace" != 0) { } array[32] = "mspace"; if ("nobr" != 0) { } array[33] = "nobr"; if ("noparse" != 0) { } array[34] = "noparse"; if ("ol" != 0) { } array[35] = "ol"; if ("p" != 0) { } array[36] = "p"; if ("page" != 0) { } array[37] = "page"; if ("pos" != 0) { } array[38] = "pos"; if ("pre" != 0) { } array[39] = "pre"; if ("qt" != 0) { } array[40] = "qt"; if ("quad" != 0) { } array[41] = "quad"; if ("s" != 0) { } array[42] = "s"; if ("small" != 0) { } array[43] = "small"; if ("smallcaps" != 0) { } array[44] = "smallcaps"; if ("space" != 0) { } array[45] = "space"; if ("sprite" != 0) { } array[46] = "sprite"; if ("strong" != 0) { } array[47] = "strong"; if ("style" != 0) { } array[48] = "style"; if ("sub" != 0) { } array[49] = "sub"; if ("sup" != 0) { } array[50] = "sup"; if ("table" != 0) { } array[51] = "table"; if ("td" != 0) { } array[52] = "td"; if ("th" != 0) { } array[53] = "th"; if ("tr" != 0) { } array[54] = "tr"; if ("tt" != 0) { } array[55] = "tt"; if ("u" != 0) { } array[56] = "u"; if ("ul" != 0) { } array[57] = "ul"; if ("uppercase" != 0) { } array[58] = "uppercase"; if ("voffset" != 0) { } array[59] = "voffset"; if ("width" != 0) { } array[60] = "width"; PlayerEditableText.EIFILOAPNBO = array; } // Token: 0x06001258 RID: 4696 RVA: 0x0004E4B8 File Offset: 0x0004C6B8 [Token(Token = "0x6001258")] [Address(RVA = "0xFDE9D0", Offset = "0xFDD3D0", VA = "0x180FDE9D0")] [CompilerGenerated] private void MONIMACGAPF(CreationObjectSettingStringUIControl GCCLEJOGCCE) { int num = 0; TextMeshProUGUI propertyDescription = GCCLEJOGCCE.PropertyDescription; string text = this.textLabel; propertyDescription.text = text; Func func = new Func(this.SynchronizedMessageGet); Action action = new Action(this.SynchronizedMessageSet); string text2 = this.textLabel; string text3 = "Enter " + text2; int maxMessageLength = this.maxMessageLength; GCCLEJOGCCE.JJAPBNJPPAK = num; GCCLEJOGCCE.JJAPBNJPPAK.HLOLBMKJFOM = (EBPEIAPPJJK)num; Action action2 = new Action(this.MOGMMKNHHPE); } // Token: 0x06001259 RID: 4697 RVA: 0x0004E540 File Offset: 0x0004C740 [Token(Token = "0x6001259")] [Address(RVA = "0xFDE960", Offset = "0xFDD360", VA = "0x180FDE960")] [CompilerGenerated] private void MOGMMKNHHPE(CreationObjectSettingStringUIControl JBFIMIEMPII) { TextMeshProUGUI propertyValueText = JBFIMIEMPII.PropertyValueText; string text = this.AFJHJMMHPJF.Get(); propertyValueText.text = text; } // Token: 0x04000E49 RID: 3657 [Token(Token = "0x4000E49")] private static readonly string[] EIFILOAPNBO; // Token: 0x04000E4A RID: 3658 [global::Cpp2IlInjected.FieldOffset(Offset = "0xA8")] [Token(Token = "0x4000E4A")] [SerializeField] private string textLabel = "Message"; // Token: 0x04000E4B RID: 3659 [global::Cpp2IlInjected.FieldOffset(Offset = "0xB0")] [Token(Token = "0x4000E4B")] [SerializeField] private int editablePriority; // Token: 0x04000E4C RID: 3660 [global::Cpp2IlInjected.FieldOffset(Offset = "0xB8")] [Token(Token = "0x4000E4C")] private SynchronizedField AFJHJMMHPJF; }