using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Cpp2IlInjected; using Photon.Pun; using RecRoom.Core; using RecRoom.Networking.SynchronizedFields; using UnityEngine; using UnityEngine.UI; namespace RecRoom.AGUI.ToolUIs { // Token: 0x020024BA RID: 9402 [Token(Token = "0x20024BA")] [StructLayout(3)] public class MoveableToolMenu : MonoBehaviourPun { // Token: 0x17002C18 RID: 11288 // (get) Token: 0x060103C8 RID: 66504 RVA: 0x003CDDB0 File Offset: 0x003CBFB0 [Token(Token = "0x17002C18")] public Tool PBBJCLJPFMI { [Token(Token = "0x60103C8")] [Address(RVA = "0x462740", Offset = "0x461140", VA = "0x180462740")] get { return this._tool; } } // Token: 0x17002C19 RID: 11289 // (get) Token: 0x060103C9 RID: 66505 RVA: 0x003CDDC4 File Offset: 0x003CBFC4 [Token(Token = "0x17002C19")] public bool PKNFAECAHBF { [Token(Token = "0x60103C9")] [Address(RVA = "0x1721B50", Offset = "0x1720550", VA = "0x181721B50")] get { return this.PMODPJAFCKM.Get() != null; } } // Token: 0x17002C1A RID: 11290 // (get) Token: 0x060103CA RID: 66506 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x17002C1A")] protected virtual Vector3 KCENFAOCEKE { [Token(Token = "0x60103CA")] [Address(RVA = "0x8869A0", Offset = "0x8853A0", VA = "0x1808869A0", Slot = "15")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x14000158 RID: 344 // (add) Token: 0x060103CB RID: 66507 RVA: 0x003CDDE4 File Offset: 0x003CBFE4 // (remove) Token: 0x060103CC RID: 66508 RVA: 0x003CDE0C File Offset: 0x003CC00C [Token(Token = "0x14000158")] public event Action HHMGCEPALEN { [Token(Token = "0x60103CB")] [Address(RVA = "0x1727A40", Offset = "0x1726440", VA = "0x181727A40")] [CompilerGenerated] add { Action hhmgcepalen; Delegate @delegate; do { hhmgcepalen = this.HHMGCEPALEN; @delegate = Delegate.Combine(hhmgcepalen, value); } while (@delegate != 0 && @delegate == 0); while (@delegate != hhmgcepalen) { } } [Token(Token = "0x60103CC")] [Address(RVA = "0x1727B80", Offset = "0x1726580", VA = "0x181727B80")] [CompilerGenerated] remove { Action hhmgcepalen; Delegate @delegate; do { hhmgcepalen = this.HHMGCEPALEN; @delegate = Delegate.Remove(hhmgcepalen, value); } while (@delegate != 0 && @delegate == 0); while (@delegate != hhmgcepalen) { } } } // Token: 0x060103CD RID: 66509 RVA: 0x003CDE34 File Offset: 0x003CC034 [Token(Token = "0x60103CD")] [Address(RVA = "0x1726B50", Offset = "0x1725550", VA = "0x181726B50", Slot = "13")] protected override void Awake() { base..ctor(); this._tool.rigidbodyEx.AddKinematic(this); this._tool.ReleaseWithVelocity = false; this._tool.AlwaysPhysicalPickupOffCenter = true; this._tool.IgnorePickupDirection = true; this._tool.GravityPickupMode = (Tool.LMJNHJCGDOF)((ulong)4294967295L); this._tool.DefaultCollisionLayer = (DAJFOCGPHGP)((ulong)27L); this._tool.AttachedCollisionLayer = (DAJFOCGPHGP)((ulong)27L); this._tool.EquippedCollisionLayer = (DAJFOCGPHGP)((ulong)27L); this._tool.HeldCollisionLayer = (DAJFOCGPHGP)((ulong)27L); Tool tool = this._tool; ActionEvent postReleaseEvent = tool.PostReleaseEvent; Action action = new Action(this.PDEEFICICFG); ActionEvent actionEvent = postReleaseEvent + action; tool.PostReleaseEvent = actionEvent; Action action2 = new Action(this.EJKGLPPGDPM); int num; int num2; SynchronizedField synchronizedField = new SynchronizedField(this, "MvTlMn", num, (SetterPermissionMode)num2, action2, num2); num2 = 0; num = 0; this.PMODPJAFCKM = synchronizedField; } // Token: 0x060103CE RID: 66510 RVA: 0x003CDF30 File Offset: 0x003CC130 [Token(Token = "0x60103CE")] [Address(RVA = "0x1727040", Offset = "0x1725A40", VA = "0x181727040", Slot = "14")] protected override void OnDestroy() { base.OnDestroy(); Tool tool = this._tool; int num = 0; if (tool != num) { Tool tool2 = this._tool; ActionEvent postReleaseEvent = tool2.PostReleaseEvent; Action action = new Action(this.PDEEFICICFG); ActionEvent actionEvent = postReleaseEvent - action; tool2.PostReleaseEvent = actionEvent; } } // Token: 0x14000159 RID: 345 // (add) Token: 0x060103CF RID: 66511 RVA: 0x003CDF8C File Offset: 0x003CC18C // (remove) Token: 0x060103D0 RID: 66512 RVA: 0x003CDFB4 File Offset: 0x003CC1B4 [Token(Token = "0x14000159")] public event Action JCECHLHOHIG { [Token(Token = "0x60103CF")] [Address(RVA = "0x17279A0", Offset = "0x17263A0", VA = "0x1817279A0")] [CompilerGenerated] add { Action jcechlhohig; Delegate @delegate; do { jcechlhohig = this.JCECHLHOHIG; @delegate = Delegate.Combine(jcechlhohig, value); } while (@delegate != 0 && @delegate == 0); while (@delegate != jcechlhohig) { } } [Token(Token = "0x60103D0")] [Address(RVA = "0x1727AE0", Offset = "0x17264E0", VA = "0x181727AE0")] [CompilerGenerated] remove { Action jcechlhohig; Delegate @delegate; do { jcechlhohig = this.JCECHLHOHIG; @delegate = Delegate.Remove(jcechlhohig, value); } while (@delegate != 0 && @delegate == 0); while (@delegate != jcechlhohig) { } } } // Token: 0x060103D1 RID: 66513 RVA: 0x003CDFDC File Offset: 0x003CC1DC [Token(Token = "0x60103D1")] [Address(RVA = "0x1721A40", Offset = "0x1720440", VA = "0x181721A40")] protected void HJHBGMFDKPF(MoveableToolMenu.FLDDGHDOPPE DJBBMJBBNHB) { if (this.JCECHLHOHIG != 0) { } } // Token: 0x060103D2 RID: 66514 RVA: 0x003CDFF4 File Offset: 0x003CC1F4 [Token(Token = "0x60103D2")] [Address(RVA = "0x3F8880", Offset = "0x3F7280", VA = "0x1803F8880", Slot = "16")] public virtual Selectable TryGetMoveRequestUI(MoveableToolMenu.FLDDGHDOPPE DJBBMJBBNHB) { } // Token: 0x060103D3 RID: 66515 RVA: 0x003CE004 File Offset: 0x003CC204 [Token(Token = "0x60103D3")] [Address(RVA = "0x1727830", Offset = "0x1726230", VA = "0x181727830")] private void PDEEFICICFG(Tool NBHJPDBHDHB) { if (this._tool.hasAuthority) { PhotonView kjoiaplbjea = this.KJOIAPLBJEA; int num = 0; if (kjoiaplbjea != num) { Action action = new Action(this.KPOHPOPECII); ISchedulerPromise schedulerPromise = this.InvokeNextEndOfFrame(action); } } } // Token: 0x060103D4 RID: 66516 RVA: 0x003CE050 File Offset: 0x003CC250 [Token(Token = "0x60103D4")] [Address(RVA = "0x1726D40", Offset = "0x1725740", VA = "0x181726D40")] private void EJKGLPPGDPM() { bool flag = this.PMODPJAFCKM.Get() != null; Tool tool = this._tool; if (!flag) { ToolMenuProjector menuProjector = tool.EACPPCDMMOF; int num = 0; menuProjector.PKNFAECAHBF = num != 0; return; } tool.EACPPCDMMOF.PKNFAECAHBF = true; } // Token: 0x060103D5 RID: 66517 RVA: 0x003CE098 File Offset: 0x003CC298 [Token(Token = "0x60103D5")] [Address(RVA = "0x1727930", Offset = "0x1726330", VA = "0x181727930")] public void ShowMenu() { this.MNJNLEPGFCB(true); } // Token: 0x060103D6 RID: 66518 RVA: 0x003CE0AC File Offset: 0x003CC2AC [Token(Token = "0x60103D6")] [Address(RVA = "0x17278F0", Offset = "0x17262F0", VA = "0x1817278F0")] public void ShowMenuMainScreen() { this._tool.ELABBFJBNII.PopAllFlows(); this.MNJNLEPGFCB(true); } // Token: 0x060103D7 RID: 66519 RVA: 0x003CE0D8 File Offset: 0x003CC2D8 [Token(Token = "0x60103D7")] [Address(RVA = "0x1727120", Offset = "0x1725B20", VA = "0x181727120")] public void OpenAndAttachMenu(PhotonView BNOFLBFPCLI) { Transform transform = Player.k__BackingField.head.transform; Vector3 vector; float z = vector.z; Vector3 vector2; float z2 = vector2.z; Vector3 vector3; float z3 = vector3.z; Vector3 vector4; float z4 = vector4.z; int num = 0; if (BNOFLBFPCLI != num) { float lossyUniformScale = BNOFLBFPCLI.transform.GetLossyUniformScale(); } float z5 = Vector3.up.z; Vector3 up = Vector3.up; int num2 = 0; base.transform.position = num2; int num3 = 0; base.transform.rotation = num3; if (this._tool.hasAuthority) { int num4 = 0; if (BNOFLBFPCLI != num4 && (!this._tool.FNFNLDBILFE || this._tool.BHAAHKEILOG != BNOFLBFPCLI)) { this.KJOIAPLBJEA = BNOFLBFPCLI; Transform transform2 = BNOFLBFPCLI.transform; Transform transform3 = base.transform; Transform transform4 = BNOFLBFPCLI.transform; Transform transform5 = base.transform; int num5 = 0; Transform transform6 = BNOFLBFPCLI.transform; float lossyUniformScale2 = base.transform.GetLossyUniformScale(); int num6 = 0; float num7 = transform6.InverseTransformLossyUniformScale(lossyUniformScale2); this._tool.AuthorityAttachToObject(BNOFLBFPCLI, num6, num5, num7); } } this.MNJNLEPGFCB(true); } // Token: 0x060103D8 RID: 66520 RVA: 0x003CE21C File Offset: 0x003CC41C [Token(Token = "0x60103D8")] [Address(RVA = "0x1726DD0", Offset = "0x17257D0", VA = "0x181726DD0")] public void HideMenu() { int num = 0; this.MNJNLEPGFCB(num != 0); } // Token: 0x060103D9 RID: 66521 RVA: 0x003CE234 File Offset: 0x003CC434 [Token(Token = "0x60103D9")] [Address(RVA = "0x1726FB0", Offset = "0x17259B0", VA = "0x181726FB0")] private void MNJNLEPGFCB(bool AEBFKFLKADG) { SynchronizedField pmodpjafckm = this.PMODPJAFCKM; if (pmodpjafckm == 0 || pmodpjafckm.Get() != AEBFKFLKADG) { if (this.PMODPJAFCKM != 0) { } Action hhmgcepalen = this.HHMGCEPALEN; if (hhmgcepalen != 0) { hhmgcepalen(AEBFKFLKADG); } } } // Token: 0x060103DA RID: 66522 RVA: 0x003CE278 File Offset: 0x003CC478 [Token(Token = "0x60103DA")] [Address(RVA = "0x1727940", Offset = "0x1726340", VA = "0x181727940")] public MoveableToolMenu() { int num = 0; this.defaultOffsetFromHead.z = (float)num; base..ctor(); } // Token: 0x060103DB RID: 66523 RVA: 0x003CE29C File Offset: 0x003CC49C [Token(Token = "0x60103DB")] [Address(RVA = "0x1726DE0", Offset = "0x17257E0", VA = "0x181726DE0")] [CompilerGenerated] private void KPOHPOPECII() { Transform transform = this.KJOIAPLBJEA.transform; Transform transform2 = base.transform; Vector3 vector; float z = vector.z; PhotonView kjoiaplbjea = this.KJOIAPLBJEA; Vector3 vector2; float z2 = vector2.z; Transform transform3 = kjoiaplbjea.transform; Transform transform4 = base.transform; Transform transform5 = this.KJOIAPLBJEA.transform; Transform transform6 = base.transform; int num = 0; float num2 = transform5.InverseTransformLossyUniformScale((float)num); Tool tool = this._tool; } // Token: 0x0400AC7D RID: 44157 [global::Cpp2IlInjected.FieldOffset(Offset = "0x40")] [Token(Token = "0x400AC7D")] [SerializeField] protected Vector3 defaultOffsetFromHead; // Token: 0x0400AC7E RID: 44158 [global::Cpp2IlInjected.FieldOffset(Offset = "0x50")] [Token(Token = "0x400AC7E")] [SerializeField] [DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)] private Tool _tool; // Token: 0x0400AC7F RID: 44159 [global::Cpp2IlInjected.FieldOffset(Offset = "0x58")] [Token(Token = "0x400AC7F")] private SynchronizedField PMODPJAFCKM; // Token: 0x0400AC80 RID: 44160 [global::Cpp2IlInjected.FieldOffset(Offset = "0x60")] [Token(Token = "0x400AC80")] private PhotonView KJOIAPLBJEA; // Token: 0x020024BB RID: 9403 [Token(Token = "0x20024BB")] public enum FLDDGHDOPPE { // Token: 0x0400AC84 RID: 44164 [Token(Token = "0x400AC84")] Up, // Token: 0x0400AC85 RID: 44165 [Token(Token = "0x400AC85")] Down, // Token: 0x0400AC86 RID: 44166 [Token(Token = "0x400AC86")] Left, // Token: 0x0400AC87 RID: 44167 [Token(Token = "0x400AC87")] Right } } }