using System; using System.Collections.Generic; using System.Runtime.InteropServices; using Cpp2IlInjected; using RecRoom.Core.Combat; using RecRoom.Core.Pools; using UnityEngine; namespace RecRoom.Tools.Weapons { // Token: 0x02002673 RID: 9843 [Token(Token = "0x2002673")] [StructLayout(3)] public class FollowBulletParticle : MonoBehaviour { // Token: 0x06011125 RID: 69925 RVA: 0x00406424 File Offset: 0x00404624 [Token(Token = "0x6011125")] [Address(RVA = "0x1944010", Offset = "0x1942A10", VA = "0x181944010")] private void LateUpdate() { List hheelekdhep = this.HHEELEKDHEP; this.pooledParticle.Stop(); } // Token: 0x06011126 RID: 69926 RVA: 0x00406480 File Offset: 0x00404680 [Token(Token = "0x6011126")] [Address(RVA = "0x1944300", Offset = "0x1942D00", VA = "0x181944300")] public void SetTargets(IEnumerable LOHMONHNJIA) { int num; do { num = 0; this.HHEELEKDHEP.Clear(); this.HHEELEKDHEP.AddRange(LOHMONHNJIA); num += num; num++; Action action = new Action(this.LPEPECEFNCK); action += action; if (num != -1) { } } while (num != 0); ulong num2; this.pooledParticle.Play(num2 != 0UL, -1f); } // Token: 0x06011127 RID: 69927 RVA: 0x004064EC File Offset: 0x004046EC [Token(Token = "0x6011127")] [Address(RVA = "0x1943F70", Offset = "0x1942970", VA = "0x181943F70")] private void LPEPECEFNCK(Bullet NLLMMPLAPBK) { bool flag = this.HHEELEKDHEP.Remove(NLLMMPLAPBK); Action action = new Action(this.LPEPECEFNCK); NLLMMPLAPBK.DestroyEvent -= action; } // Token: 0x06011128 RID: 69928 RVA: 0x00406520 File Offset: 0x00404720 [Token(Token = "0x6011128")] [Address(RVA = "0x1944550", Offset = "0x1942F50", VA = "0x181944550")] public FollowBulletParticle() { List list = new List(); this.HHEELEKDHEP = list; base..ctor(); } // Token: 0x0400B584 RID: 46468 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x400B584")] [SerializeField] [DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)] private PooledParticle pooledParticle; // Token: 0x0400B585 RID: 46469 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x400B585")] private readonly List HHEELEKDHEP; } }