using System; using System.Runtime.InteropServices; using Cpp2IlInjected; using RecRoom; using RecRoom.Avatar.Outfit; using UnityEngine; // Token: 0x02000349 RID: 841 [Token(Token = "0x2000349")] [StructLayout(3)] public class GiftBoxItemContainer : SpawnedItemContainer { // Token: 0x0600195C RID: 6492 RVA: 0x00068BF0 File Offset: 0x00066DF0 [Token(Token = "0x600195C")] [Address(RVA = "0x10186C0", Offset = "0x10170C0", VA = "0x1810186C0", Slot = "4")] public override void AttachTool(Tool EGFEJGHDNAI) { Transform transform = EGFEJGHDNAI.transform; base.AttachTool(EGFEJGHDNAI); Tool k__BackingField = this.k__BackingField; int num = 0; if (k__BackingField != num) { PlayerSpawnedEquipment k__BackingField = this.k__BackingField.k__BackingField; int num2 = 0; if (k__BackingField != num2) { Tool k__BackingField2 = this.k__BackingField; ActionEvent postPickupEvent = k__BackingField2.PostPickupEvent; Action action = new Action(this.MNCLFHBBPHB); ActionEvent actionEvent = postPickupEvent + action; k__BackingField2.PostPickupEvent = actionEvent; } } } // Token: 0x0600195D RID: 6493 RVA: 0x00068C74 File Offset: 0x00066E74 [Token(Token = "0x600195D")] [Address(RVA = "0x1018A10", Offset = "0x1017410", VA = "0x181018A10", Slot = "6")] public override void OnReleased(Tool EGFEJGHDNAI) { base.OnPickup(EGFEJGHDNAI); PlayerSpawnedEquipment k__BackingField = EGFEJGHDNAI.k__BackingField; int num = 0; if (k__BackingField != num && EGFEJGHDNAI.k__BackingField.k__BackingField) { OutfitTool component = EGFEJGHDNAI.GetComponent(); int num2 = 0; if (component != num2) { int num3 = 0; EGFEJGHDNAI.AuthorityResetToLastSpawnPosition(num3 != 0); } } } // Token: 0x0600195E RID: 6494 RVA: 0x00068CD0 File Offset: 0x00066ED0 [Token(Token = "0x600195E")] [Address(RVA = "0x1018830", Offset = "0x1017230", VA = "0x181018830")] private void MNCLFHBBPHB(Tool NBHJPDBHDHB) { int num = 0; if (NBHJPDBHDHB != num) { PlayerSpawnedEquipment k__BackingField = NBHJPDBHDHB.k__BackingField; int num2 = 0; if (k__BackingField != num2) { ActionEvent postPickupEvent = NBHJPDBHDHB.PostPickupEvent; Action action = new Action(this.MNCLFHBBPHB); ActionEvent actionEvent = postPickupEvent - action; NBHJPDBHDHB.PostPickupEvent = actionEvent; Player k__BackingField = NBHJPDBHDHB.k__BackingField.k__BackingField; int num3 = 0; if (k__BackingField != num3) { Transform transform = k__BackingField.k__BackingField.transform; NBHJPDBHDHB.SetParentTransform(transform, true); Transform transform2 = NBHJPDBHDHB.transform; float hcgmbmleimn = this.HCGMBMLEIMN; transform2.SetLossyUniformScale(hcgmbmleimn); } NBHJPDBHDHB.SetUsingGravityRigidBody(true); } } } // Token: 0x0600195F RID: 6495 RVA: 0x00068D80 File Offset: 0x00066F80 [Token(Token = "0x600195F")] [Address(RVA = "0x1018B00", Offset = "0x1017500", VA = "0x181018B00")] public GiftBoxItemContainer() { } // Token: 0x040013A7 RID: 5031 [global::Cpp2IlInjected.FieldOffset(Offset = "0x30")] [Token(Token = "0x40013A7")] private float HCGMBMLEIMN = 1f; }