using System; using Cpp2IlInjected; using RecRoom.Tools; using UnityEngine; namespace RecRoom.Core.Combat { // Token: 0x020033E3 RID: 13283 [Token(Token = "0x20033E3")] public class WeaponAccessory : ToolAccessory { // Token: 0x06017333 RID: 95027 RVA: 0x0056DC80 File Offset: 0x0056BE80 [Token(Token = "0x6017333")] [Address(RVA = "0xCAB9A0", Offset = "0xCAA7A0", VA = "0x180CAB9A0", Slot = "5")] protected override void Awake() { Weapon.NMOHAINKAIK lcabdlbichm; Delegate delegate3; for (;;) { base.Awake(); Weapon weapon = this.parentWeapon; int num = 0; if (weapon == num) { goto IL_E0; } Weapon weapon2 = this.parentWeapon; Weapon.NAHHHABPHFB nahhhabphfb; nahhhabphfb.method_ptr = ldftn(PEMKLPOKPCF); nahhhabphfb.method = ldftn(PEMKLPOKPCF); nahhhabphfb.m_target = this; Delegate @delegate; if (@delegate == 0 || @delegate != 0) { while (@delegate != weapon2) { } Weapon weapon3 = this.parentWeapon; Weapon.FIOIKOOLMKP fioikoolmkp; fioikoolmkp.method_ptr = ldftn(GAAPJNODOAH); fioikoolmkp.method = ldftn(GAAPJNODOAH); fioikoolmkp.m_target = this; Delegate delegate2; if (delegate2 == 0 || delegate2 != 0) { while (delegate2 != weapon3) { } Weapon weapon4 = this.parentWeapon; Weapon.NMOHAINKAIK nmohainkaik; nmohainkaik.method_ptr = ldftn(IBLFICLMGKM); nmohainkaik.method = ldftn(IBLFICLMGKM); nmohainkaik.m_target = this; lcabdlbichm = weapon4.LCABDLBICHM; delegate3 = Delegate.Combine(lcabdlbichm, nmohainkaik); if (delegate3 == 0 || delegate3 != 0) { break; } } } } while (delegate3 != lcabdlbichm) { } return; IL_E0: Debug.LogError(base.name + " is not parented to a weapon."); } // Token: 0x06017334 RID: 95028 RVA: 0x0056DD84 File Offset: 0x0056BF84 [Token(Token = "0x6017334")] [Address(RVA = "0xCABDE0", Offset = "0xCAABE0", VA = "0x180CABDE0", Slot = "7")] protected override void OnDestroy() { Weapon weapon4; Delegate delegate3; for (;;) { Weapon weapon = this.parentWeapon; int num = 0; if (!(weapon != num)) { goto IL_C5; } Weapon weapon2 = this.parentWeapon; Weapon.NAHHHABPHFB nahhhabphfb; nahhhabphfb.method_ptr = ldftn(PEMKLPOKPCF); nahhhabphfb.method = ldftn(PEMKLPOKPCF); nahhhabphfb.m_target = this; Delegate @delegate; if (@delegate == 0 || @delegate != 0) { while (@delegate != weapon2) { } Weapon weapon3 = this.parentWeapon; Weapon.FIOIKOOLMKP fioikoolmkp; fioikoolmkp.method_ptr = ldftn(GAAPJNODOAH); fioikoolmkp.method = ldftn(GAAPJNODOAH); fioikoolmkp.m_target = this; Delegate delegate2; if (delegate2 == 0 || delegate2 != 0) { while (delegate2 != weapon3) { } weapon4 = this.parentWeapon; Weapon.NMOHAINKAIK nmohainkaik; nmohainkaik.method_ptr = ldftn(IBLFICLMGKM); nmohainkaik.method = ldftn(IBLFICLMGKM); nmohainkaik.m_target = this; if (delegate3 == 0 || delegate3 != 0) { break; } } } } while (delegate3 != weapon4) { } IL_C5: base.OnDestroy(); } // Token: 0x06017335 RID: 95029 RVA: 0x0056DE64 File Offset: 0x0056C064 [Token(Token = "0x6017335")] [Address(RVA = "0xCABC90", Offset = "0xCAAA90", VA = "0x180CABC90")] private void GAAPJNODOAH(int ENJEOLBEALP, float ONGBFDACHHG) { Animator animator = this.animator; int num = 0; if (animator != num && this.animator.isActiveAndEnabled) { this.animator.SetFloat(ENJEOLBEALP, ONGBFDACHHG); } } // Token: 0x06017336 RID: 95030 RVA: 0x0056DEA8 File Offset: 0x0056C0A8 [Token(Token = "0x6017336")] [Address(RVA = "0xCAC080", Offset = "0xCAAE80", VA = "0x180CAC080")] private void PEMKLPOKPCF(int ENJEOLBEALP, bool ONGBFDACHHG) { Animator animator = this.animator; int num = 0; if (animator != num && this.animator.isActiveAndEnabled) { this.animator.SetBool(ENJEOLBEALP, ONGBFDACHHG); } } // Token: 0x06017337 RID: 95031 RVA: 0x0056DEEC File Offset: 0x0056C0EC [Token(Token = "0x6017337")] [Address(RVA = "0xCABD40", Offset = "0xCAAB40", VA = "0x180CABD40")] private void IBLFICLMGKM(int ENJEOLBEALP) { Animator animator = this.animator; int num = 0; if (animator != num && this.animator.isActiveAndEnabled) { this.animator.SetTrigger(ENJEOLBEALP); } } // Token: 0x06017338 RID: 95032 RVA: 0x0056DF2C File Offset: 0x0056C12C [Token(Token = "0x6017338")] [Address(RVA = "0x7C9350", Offset = "0x7C8150", VA = "0x1807C9350")] public WeaponAccessory() { } // Token: 0x0400F199 RID: 61849 [FieldOffset(Offset = "0x60")] [Token(Token = "0x400F199")] [SerializeField] [DDPIINEJFMD(JIBDPHMGEGO.Parent, false, false, false)] protected Weapon parentWeapon; } }