using System; using System.Runtime.InteropServices; using Cpp2IlInjected; using RecRoom.Core.Pools; using UnityEngine; namespace RecRoom.Core.AI { // Token: 0x02002E44 RID: 11844 [Token(Token = "0x2002E44")] [StructLayout(3)] public class EnemyParticles : MonoBehaviour { // Token: 0x060153BE RID: 86974 RVA: 0x0051BC7C File Offset: 0x00519E7C [Token(Token = "0x60153BE")] [Address(RVA = "0x1B72180", Offset = "0x1B70B80", VA = "0x181B72180")] private void OnDestroy() { this.StopCharge(); } // Token: 0x060153BF RID: 86975 RVA: 0x0051BC90 File Offset: 0x00519E90 [Token(Token = "0x60153BF")] [Address(RVA = "0x1B72680", Offset = "0x1B71080", VA = "0x181B72680")] public void OnTakeDamage(ANBBFGKPJFD PAKELHPNJDI, Vector3 BEOPNIAIJOM, Vector3 OKDCENHKDIP) { bool flag; if (!flag) { } PooledParticle pooledParticle = this.onShieldedDamageParticles; int num = 0; PooledParticle pooledParticle2; if (pooledParticle == num) { pooledParticle2 = this.defaultDamageParticles; } int num2 = 0; if (pooledParticle2 != num2) { PooledParticle pooledParticle3 = GlobalPool.ONCPNMDGGKG.Acquire(pooledParticle2); int num3 = 0; if (pooledParticle3 != num3) { Vector3 up = Vector3.up; } } } // Token: 0x060153C0 RID: 86976 RVA: 0x0051BCFC File Offset: 0x00519EFC [Token(Token = "0x60153C0")] [Address(RVA = "0x1B723D0", Offset = "0x1B70DD0", VA = "0x181B723D0")] public void OnKill(ANBBFGKPJFD PAKELHPNJDI, Vector3 BEOPNIAIJOM, Vector3 OKDCENHKDIP) { bool flag; if (!flag) { } PooledParticle pooledParticle = this.onCriticalHitKillParticles; int num = 0; PooledParticle pooledParticle2; if (pooledParticle == num) { pooledParticle2 = this.defaultKillParticles; } int num2 = 0; if (pooledParticle2 != num2) { PooledParticle pooledParticle3 = GlobalPool.ONCPNMDGGKG.Acquire(pooledParticle2); int num3 = 0; if (pooledParticle3 != num3) { Vector3 up = Vector3.up; } } } // Token: 0x060153C1 RID: 86977 RVA: 0x0051BD68 File Offset: 0x00519F68 [Token(Token = "0x60153C1")] [Address(RVA = "0x1B72960", Offset = "0x1B71360", VA = "0x181B72960")] public void StartCharge(Transform OIFLDNBGJOH) { this.StopCharge(); PooledParticle pooledParticle = this.onChargeParticles; int num = 0; if (pooledParticle != num) { GlobalPool instance = GlobalPool.ONCPNMDGGKG; PooledParticle pooledParticle2 = this.onChargeParticles; PooledParticle pooledParticle3 = instance.Acquire(pooledParticle2); this.CAMHEHNIEAM = pooledParticle3; int num2 = 0; if (pooledParticle3 != num2) { this.CAMHEHNIEAM.Play(OIFLDNBGJOH, true, -1f); } } } // Token: 0x060153C2 RID: 86978 RVA: 0x0051BDD8 File Offset: 0x00519FD8 [Token(Token = "0x60153C2")] [Address(RVA = "0x1B72A80", Offset = "0x1B71480", VA = "0x181B72A80")] public void StopCharge() { PooledParticle camhehnieam = this.CAMHEHNIEAM; int num = 0; if (camhehnieam != num) { this.CAMHEHNIEAM.Stop(); this.CAMHEHNIEAM = (ulong)0L; } } // Token: 0x060153C3 RID: 86979 RVA: 0x0051BE14 File Offset: 0x0051A014 [Token(Token = "0x60153C3")] [Address(RVA = "0x1B72190", Offset = "0x1B70B90", VA = "0x181B72190")] public void OnExplode() { PooledParticle pooledParticle = this.onExplodeParticles; int num = 0; if (pooledParticle != num) { GlobalPool instance = GlobalPool.ONCPNMDGGKG; PooledParticle pooledParticle2 = this.onExplodeParticles; PooledParticle pooledParticle3 = instance.Acquire(pooledParticle2); int num2 = 0; if (pooledParticle3 != num2) { Transform transform = base.transform; Vector3 vector; float z = vector.z; float z2 = Vector3.up.z; float z3 = Vector3.up.z; } } } // Token: 0x060153C4 RID: 86980 RVA: 0x0051BE8C File Offset: 0x0051A08C [Token(Token = "0x60153C4")] [Address(RVA = "0x1B72000", Offset = "0x1B70A00", VA = "0x181B72000")] public void OnAggro(Transform OIFLDNBGJOH, Vector3 GPDGCLIOACB) { PooledParticle pooledParticle = this.onAlertParticles; int num = 0; if (pooledParticle != num) { GlobalPool instance = GlobalPool.ONCPNMDGGKG; PooledParticle pooledParticle2 = this.onAlertParticles; PooledParticle pooledParticle3 = instance.Acquire(pooledParticle2); int num2 = 0; if (pooledParticle3 != num2) { Quaternion identity = Quaternion.identity; float z = GPDGCLIOACB.z; } } } // Token: 0x060153C5 RID: 86981 RVA: 0x0051BEEC File Offset: 0x0051A0EC [Token(Token = "0x60153C5")] [Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")] public EnemyParticles() { } // Token: 0x0400E2A7 RID: 58023 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x400E2A7")] [SerializeField] [Header("Damage Particles")] private PooledParticle defaultDamageParticles; // Token: 0x0400E2A8 RID: 58024 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x400E2A8")] [SerializeField] private PooledParticle onDamageParticles; // Token: 0x0400E2A9 RID: 58025 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x400E2A9")] [SerializeField] private PooledParticle onShieldedDamageParticles; // Token: 0x0400E2AA RID: 58026 [global::Cpp2IlInjected.FieldOffset(Offset = "0x30")] [Token(Token = "0x400E2AA")] [SerializeField] private PooledParticle onCriticalHitDamageParticles; // Token: 0x0400E2AB RID: 58027 [global::Cpp2IlInjected.FieldOffset(Offset = "0x38")] [Token(Token = "0x400E2AB")] [SerializeField] private float damageParticleZBias; // Token: 0x0400E2AC RID: 58028 [global::Cpp2IlInjected.FieldOffset(Offset = "0x40")] [Token(Token = "0x400E2AC")] [SerializeField] [Header("Kill Particles")] private PooledParticle defaultKillParticles; // Token: 0x0400E2AD RID: 58029 [global::Cpp2IlInjected.FieldOffset(Offset = "0x48")] [Token(Token = "0x400E2AD")] [SerializeField] private PooledParticle onKillParticles; // Token: 0x0400E2AE RID: 58030 [global::Cpp2IlInjected.FieldOffset(Offset = "0x50")] [Token(Token = "0x400E2AE")] [SerializeField] private PooledParticle onCriticalHitKillParticles; // Token: 0x0400E2AF RID: 58031 [global::Cpp2IlInjected.FieldOffset(Offset = "0x58")] [Token(Token = "0x400E2AF")] [SerializeField] private float killParticleZBias; // Token: 0x0400E2B0 RID: 58032 [global::Cpp2IlInjected.FieldOffset(Offset = "0x60")] [Token(Token = "0x400E2B0")] [SerializeField] [Header("Alert")] private PooledParticle onAlertParticles; // Token: 0x0400E2B1 RID: 58033 [global::Cpp2IlInjected.FieldOffset(Offset = "0x68")] [Token(Token = "0x400E2B1")] [SerializeField] [Header("Charge")] private PooledParticle onChargeParticles; // Token: 0x0400E2B2 RID: 58034 [global::Cpp2IlInjected.FieldOffset(Offset = "0x70")] [Token(Token = "0x400E2B2")] [SerializeField] [Header("Explosion")] private PooledParticle onExplodeParticles; // Token: 0x0400E2B3 RID: 58035 [global::Cpp2IlInjected.FieldOffset(Offset = "0x78")] [Token(Token = "0x400E2B3")] private PooledParticle CAMHEHNIEAM; } }