using System; using Cpp2IlInjected; using RecRoom.Core.Creation.Shapes; using RecRoom.Core.Rendering; using UnityEngine; namespace RecRoom.Core.Creation.Costumes { // Token: 0x020033F3 RID: 13299 [Token(Token = "0x20033F3")] public class CostumeShapeContainer : DecorationShapeContainer { // Token: 0x17003F08 RID: 16136 // (get) Token: 0x06016D28 RID: 93480 RVA: 0x0054CFC4 File Offset: 0x0054B1C4 [Token(Token = "0x17003F08")] public override string KENGPMDDCML { [Token(Token = "0x6016D28")] [Address(RVA = "0x1770130", Offset = "0x176F130", VA = "0x181770130", Slot = "19")] get { return this.costumePiece.friendlyName; } } // Token: 0x06016D29 RID: 93481 RVA: 0x0054CFE4 File Offset: 0x0054B1E4 [Token(Token = "0x6016D29")] [Address(RVA = "0x176FDE0", Offset = "0x176EDE0", VA = "0x18176FDE0", 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: 0x17003F09 RID: 16137 // (get) Token: 0x06016D2A RID: 93482 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x17003F09")] private bool FEPMCENMHAA { [Token(Token = "0x6016D2A")] [Address(RVA = "0x176FEE0", Offset = "0x176EEE0", VA = "0x18176FEE0")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x06016D2B RID: 93483 RVA: 0x0054D024 File Offset: 0x0054B224 [Token(Token = "0x6016D2B")] [Address(RVA = "0x1770080", Offset = "0x176F080", VA = "0x181770080", 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: 0x06016D2C RID: 93484 RVA: 0x0054D070 File Offset: 0x0054B270 [Token(Token = "0x6016D2C")] [Address(RVA = "0x1770000", Offset = "0x176F000", VA = "0x181770000", Slot = "37")] public override void OnDeselectedByShapeCreationContext() { base.OnDeselectedByShapeCreationContext(); this.tool.DisableCollision(this); if (this.LBJBOMCFMHF != 0) { this.LBJBOMCFMHF = (ulong)0L; } } // Token: 0x06016D2D RID: 93485 RVA: 0x0054D0A8 File Offset: 0x0054B2A8 [Token(Token = "0x6016D2D")] [Address(RVA = "0x176FE80", Offset = "0x176EE80", VA = "0x18176FE80", Slot = "31")] public override bool CanMergeShapeContainer(ShapeContainer LCDLIINJMGH) { if (!this.costumePiece.parentCostume.POIIEDMCEOO) { return base.CanMergeShapeContainer(LCDLIINJMGH); } throw new NullReferenceException(); } // Token: 0x06016D2E RID: 93486 RVA: 0x0054D0D8 File Offset: 0x0054B2D8 [Token(Token = "0x6016D2E")] [Address(RVA = "0x176FD40", Offset = "0x176ED40", VA = "0x18176FD40", Slot = "43")] protected override void APCFKDNBLAI() { base..ctor(); NotificationManager instance = SingletonMonoBehaviour.ONCPNMDGGKG; } // Token: 0x06016D2F RID: 93487 RVA: 0x0054D0FC File Offset: 0x0054B2FC [Token(Token = "0x6016D2F")] [Address(RVA = "0x176FFB0", Offset = "0x176EFB0", VA = "0x18176FFB0")] private Tool MMHPMMACKEF(Player IEKDDPPNFPF, bool GEJJBENPHJG, Collider DMMDDFILJMK) { CostumePiece costumePiece = this.costumePiece; costumePiece.parentCostume.HKDKNIHHBJM = costumePiece; return this.costumePiece.parentCostume._tool; } // Token: 0x06016D30 RID: 93488 RVA: 0x0054D134 File Offset: 0x0054B334 [Token(Token = "0x6016D30")] [Address(RVA = "0x176FF50", Offset = "0x176EF50", VA = "0x18176FF50")] 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: 0x06016D31 RID: 93489 RVA: 0x0054D178 File Offset: 0x0054B378 [Token(Token = "0x6016D31")] [Address(RVA = "0x176FEF0", Offset = "0x176EEF0", VA = "0x18176FEF0", 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: 0x06016D32 RID: 93490 RVA: 0x0054D1BC File Offset: 0x0054B3BC [Token(Token = "0x6016D32")] [Address(RVA = "0x1770120", Offset = "0x176F120", VA = "0x181770120")] public CostumeShapeContainer() { } // Token: 0x0400EDBE RID: 60862 [FieldOffset(Offset = "0xE0")] [Token(Token = "0x400EDBE")] [SerializeField] [NKNLDEIPALE(FHBJCBPFODN.SelfAndParent, false, false, false)] private CostumePiece costumePiece; // Token: 0x0400EDBF RID: 60863 [FieldOffset(Offset = "0xE8")] [Token(Token = "0x400EDBF")] private IDisposable LBJBOMCFMHF; } }