using System; using Cpp2IlInjected; using RecRoom.Core.Creation.Shapes; using RecRoom.Core.Rendering; using UnityEngine; namespace RecRoom.Core.Creation.Costumes { // Token: 0x02003306 RID: 13062 [Token(Token = "0x2003306")] public class CostumeShapeContainer : DecorationShapeContainer { // Token: 0x17003E45 RID: 15941 // (get) Token: 0x0601689C RID: 92316 RVA: 0x005421D8 File Offset: 0x005403D8 [Token(Token = "0x17003E45")] public override string KENGPMDDCML { [Token(Token = "0x601689C")] [Address(RVA = "0xC75790", Offset = "0xC74590", VA = "0x180C75790", Slot = "19")] get { return this.costumePiece.friendlyName; } } // Token: 0x0601689D RID: 92317 RVA: 0x005421F8 File Offset: 0x005403F8 [Token(Token = "0x601689D")] [Address(RVA = "0xC75440", Offset = "0xC74240", VA = "0x180C75440", Slot = "13")] protected override void Awake() { base.Awake(); Tool tool = this.tool; Tool.DNDBJKJIFNL dndbjkjifnl = new Tool.DNDBJKJIFNL(this.MMHPMMACKEF); tool.CustomSelectionForwarding = dndbjkjifnl; this.tool.DisableCollision(this); } // Token: 0x17003E46 RID: 15942 // (get) Token: 0x0601689E RID: 92318 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x17003E46")] private bool FEPMCENMHAA { [Token(Token = "0x601689E")] [Address(RVA = "0xC75540", Offset = "0xC74340", VA = "0x180C75540")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x0601689F RID: 92319 RVA: 0x00542238 File Offset: 0x00540438 [Token(Token = "0x601689F")] [Address(RVA = "0xC756E0", Offset = "0xC744E0", VA = "0x180C756E0", Slot = "36")] public override void OnSelectedByShapeCreationContext() { base.OnSelectedByShapeCreationContext(); this.tool.EnableCollision(this); if (this.LBJBOMCFMHF == (ulong)0L) { Action action = new Action(this.MLLHFNJHEHP); IDisposable disposable = this.OPEMIFENIJM(action); this.LBJBOMCFMHF = disposable; } } // Token: 0x060168A0 RID: 92320 RVA: 0x00542284 File Offset: 0x00540484 [Token(Token = "0x60168A0")] [Address(RVA = "0xC75660", Offset = "0xC74460", VA = "0x180C75660", Slot = "37")] public override void OnDeselectedByShapeCreationContext() { base.OnDeselectedByShapeCreationContext(); this.tool.DisableCollision(this); if (this.LBJBOMCFMHF != 0) { this.LBJBOMCFMHF = (ulong)0L; } } // Token: 0x060168A1 RID: 92321 RVA: 0x005422BC File Offset: 0x005404BC [Token(Token = "0x60168A1")] [Address(RVA = "0xC754E0", Offset = "0xC742E0", VA = "0x180C754E0", Slot = "31")] public override bool CanMergeShapeContainer(ShapeContainer LCDLIINJMGH) { if (!this.costumePiece.parentCostume.POIIEDMCEOO) { return base.CanMergeShapeContainer(LCDLIINJMGH); } throw new NullReferenceException(); } // Token: 0x060168A2 RID: 92322 RVA: 0x005422EC File Offset: 0x005404EC [Token(Token = "0x60168A2")] [Address(RVA = "0xC753A0", Offset = "0xC741A0", VA = "0x180C753A0", Slot = "43")] protected override void APCFKDNBLAI() { base..ctor(); NotificationManager instance = SingletonMonoBehaviour.ONCPNMDGGKG; } // Token: 0x060168A3 RID: 92323 RVA: 0x00542310 File Offset: 0x00540510 [Token(Token = "0x60168A3")] [Address(RVA = "0xC75610", Offset = "0xC74410", VA = "0x180C75610")] private Tool MMHPMMACKEF(Player IEKDDPPNFPF, bool GEJJBENPHJG, Collider DMMDDFILJMK) { CostumePiece costumePiece = this.costumePiece; costumePiece.parentCostume.HKDKNIHHBJM = costumePiece; return this.costumePiece.parentCostume._tool; } // Token: 0x060168A4 RID: 92324 RVA: 0x00542348 File Offset: 0x00540548 [Token(Token = "0x60168A4")] [Address(RVA = "0xC755B0", Offset = "0xC743B0", VA = "0x180C755B0")] private void MLLHFNJHEHP() { if (!this.costumePiece.parentCostume.POIIEDMCEOO) { Tool tool = this.tool; CostumePiece costumePiece = this.costumePiece; OutlineRendererEffect.HLEDHCIGMPJ outlineType = tool.OutlineType; costumePiece.RenderSelectionOutline(outlineType); return; } } // Token: 0x060168A5 RID: 92325 RVA: 0x0054238C File Offset: 0x0054058C [Token(Token = "0x60168A5")] [Address(RVA = "0xC75550", Offset = "0xC74350", VA = "0x180C75550", Slot = "42")] protected override void FHILMEJDFEL() { if (this.LBJBOMCFMHF > (ulong)0L) { base.FHILMEJDFEL(); return; } this.tool.EnableCollision(this); base.FHILMEJDFEL(); this.tool.DisableCollision(this); } // Token: 0x060168A6 RID: 92326 RVA: 0x005423D0 File Offset: 0x005405D0 [Token(Token = "0x60168A6")] [Address(RVA = "0xC75780", Offset = "0xC74580", VA = "0x180C75780")] public CostumeShapeContainer() { } // Token: 0x0400EB78 RID: 60280 [FieldOffset(Offset = "0xE0")] [Token(Token = "0x400EB78")] [SerializeField] [DDPIINEJFMD(JIBDPHMGEGO.SelfAndParent, false, false, false)] private CostumePiece costumePiece; // Token: 0x0400EB79 RID: 60281 [FieldOffset(Offset = "0xE8")] [Token(Token = "0x400EB79")] private IDisposable LBJBOMCFMHF; } }