using System; using Cpp2IlInjected; using RecRoom.Tools; using UnityEngine; namespace RecRoom.Core.Combat { // Token: 0x020034D0 RID: 13520 [Token(Token = "0x20034D0")] public class WeaponAccessory : ToolAccessory { // Token: 0x060177C2 RID: 96194 RVA: 0x00578DB4 File Offset: 0x00576FB4 [Token(Token = "0x60177C2")] [Address(RVA = "0x17FAB50", Offset = "0x17F9B50", VA = "0x1817FAB50", 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: 0x060177C3 RID: 96195 RVA: 0x00578EB8 File Offset: 0x005770B8 [Token(Token = "0x60177C3")] [Address(RVA = "0x17FAF90", Offset = "0x17F9F90", VA = "0x1817FAF90", 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: 0x060177C4 RID: 96196 RVA: 0x00578F98 File Offset: 0x00577198 [Token(Token = "0x60177C4")] [Address(RVA = "0x17FAE40", Offset = "0x17F9E40", VA = "0x1817FAE40")] 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: 0x060177C5 RID: 96197 RVA: 0x00578FDC File Offset: 0x005771DC [Token(Token = "0x60177C5")] [Address(RVA = "0x17FB230", Offset = "0x17FA230", VA = "0x1817FB230")] 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: 0x060177C6 RID: 96198 RVA: 0x00579020 File Offset: 0x00577220 [Token(Token = "0x60177C6")] [Address(RVA = "0x17FAEF0", Offset = "0x17F9EF0", VA = "0x1817FAEF0")] private void IBLFICLMGKM(int ENJEOLBEALP) { Animator animator = this.animator; int num = 0; if (animator != num && this.animator.isActiveAndEnabled) { this.animator.SetTrigger(ENJEOLBEALP); } } // Token: 0x060177C7 RID: 96199 RVA: 0x00579060 File Offset: 0x00577260 [Token(Token = "0x60177C7")] [Address(RVA = "0x1346DB0", Offset = "0x1345DB0", VA = "0x181346DB0")] public WeaponAccessory() { } // Token: 0x0400F3E1 RID: 62433 [FieldOffset(Offset = "0x60")] [Token(Token = "0x400F3E1")] [SerializeField] [NKNLDEIPALE(FHBJCBPFODN.Parent, false, false, false)] protected Weapon parentWeapon; } }