Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

245 lines
6.9 KiB
C#

using System;
using Cpp2IlInjected;
using RecRoom.Core.Pools;
using UnityEngine;
namespace RecRoom.Core.AI
{
// Token: 0x020034FA RID: 13562
[Token(Token = "0x20034FA")]
public class EnemyParticles : MonoBehaviour
{
// Token: 0x060179BC RID: 96700 RVA: 0x0058221C File Offset: 0x0058041C
[Token(Token = "0x60179BC")]
[Address(RVA = "0x1EB6A90", Offset = "0x1EB5A90", VA = "0x181EB6A90")]
private void OnDestroy()
{
this.StopCharge();
}
// Token: 0x060179BD RID: 96701 RVA: 0x00582230 File Offset: 0x00580430
[Token(Token = "0x60179BD")]
[Address(RVA = "0x1EB6F80", Offset = "0x1EB5F80", VA = "0x181EB6F80")]
public void OnTakeDamage(ANBBFGKPJFD PAKELHPNJDI, Vector3 BEOPNIAIJOM, Vector3 OKDCENHKDIP)
{
if (PAKELHPNJDI == ANBBFGKPJFD.SHIELD || PAKELHPNJDI != ANBBFGKPJFD.CRITICAL_HIT)
{
}
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<PooledParticle>(pooledParticle2);
int num3 = 0;
if (pooledParticle3 != num3)
{
Vector3 up = Vector3.up;
}
}
}
// Token: 0x060179BE RID: 96702 RVA: 0x0058229C File Offset: 0x0058049C
[Token(Token = "0x60179BE")]
[Address(RVA = "0x1EB6CE0", Offset = "0x1EB5CE0", VA = "0x181EB6CE0")]
public void OnKill(ANBBFGKPJFD PAKELHPNJDI, Vector3 BEOPNIAIJOM, Vector3 OKDCENHKDIP)
{
if (PAKELHPNJDI != ANBBFGKPJFD.CRITICAL_HIT)
{
}
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<PooledParticle>(pooledParticle2);
int num3 = 0;
if (pooledParticle3 != num3)
{
Vector3 up = Vector3.up;
}
}
}
// Token: 0x060179BF RID: 96703 RVA: 0x00582300 File Offset: 0x00580500
[Token(Token = "0x60179BF")]
[Address(RVA = "0x1EB7250", Offset = "0x1EB6250", VA = "0x181EB7250")]
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<PooledParticle>(pooledParticle2);
this.CAMHEHNIEAM = pooledParticle3;
int num2 = 0;
if (pooledParticle3 != num2)
{
this.CAMHEHNIEAM.Play(OIFLDNBGJOH, true, -1f);
}
}
}
// Token: 0x060179C0 RID: 96704 RVA: 0x00582370 File Offset: 0x00580570
[Token(Token = "0x60179C0")]
[Address(RVA = "0x1EB7370", Offset = "0x1EB6370", VA = "0x181EB7370")]
public void StopCharge()
{
PooledParticle camhehnieam = this.CAMHEHNIEAM;
int num = 0;
if (camhehnieam != num)
{
this.CAMHEHNIEAM.Stop();
this.CAMHEHNIEAM = (ulong)0L;
}
}
// Token: 0x060179C1 RID: 96705 RVA: 0x005823AC File Offset: 0x005805AC
[Token(Token = "0x60179C1")]
[Address(RVA = "0x1EB6AA0", Offset = "0x1EB5AA0", VA = "0x181EB6AA0")]
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<PooledParticle>(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: 0x060179C2 RID: 96706 RVA: 0x00582424 File Offset: 0x00580624
[Token(Token = "0x60179C2")]
[Address(RVA = "0x1EB6910", Offset = "0x1EB5910", VA = "0x181EB6910")]
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<PooledParticle>(pooledParticle2);
int num2 = 0;
if (pooledParticle3 != num2)
{
Quaternion identity = Quaternion.identity;
float z = GPDGCLIOACB.z;
}
}
}
// Token: 0x060179C3 RID: 96707 RVA: 0x00582484 File Offset: 0x00580684
[Token(Token = "0x60179C3")]
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
public EnemyParticles()
{
}
// Token: 0x0400F587 RID: 62855
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400F587")]
[SerializeField]
[Header("Damage Particles")]
private PooledParticle defaultDamageParticles;
// Token: 0x0400F588 RID: 62856
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x400F588")]
[SerializeField]
private PooledParticle onDamageParticles;
// Token: 0x0400F589 RID: 62857
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x400F589")]
[SerializeField]
private PooledParticle onShieldedDamageParticles;
// Token: 0x0400F58A RID: 62858
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x400F58A")]
[SerializeField]
private PooledParticle onCriticalHitDamageParticles;
// Token: 0x0400F58B RID: 62859
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x400F58B")]
[SerializeField]
private float damageParticleZBias;
// Token: 0x0400F58C RID: 62860
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x400F58C")]
[SerializeField]
[Header("Kill Particles")]
private PooledParticle defaultKillParticles;
// Token: 0x0400F58D RID: 62861
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x400F58D")]
[SerializeField]
private PooledParticle onKillParticles;
// Token: 0x0400F58E RID: 62862
[FieldOffset(Offset = "0x50")]
[Token(Token = "0x400F58E")]
[SerializeField]
private PooledParticle onCriticalHitKillParticles;
// Token: 0x0400F58F RID: 62863
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x400F58F")]
[SerializeField]
private float killParticleZBias;
// Token: 0x0400F590 RID: 62864
[FieldOffset(Offset = "0x60")]
[Token(Token = "0x400F590")]
[SerializeField]
[Header("Alert")]
private PooledParticle onAlertParticles;
// Token: 0x0400F591 RID: 62865
[FieldOffset(Offset = "0x68")]
[Token(Token = "0x400F591")]
[SerializeField]
[Header("Charge")]
private PooledParticle onChargeParticles;
// Token: 0x0400F592 RID: 62866
[FieldOffset(Offset = "0x70")]
[Token(Token = "0x400F592")]
[SerializeField]
[Header("Explosion")]
private PooledParticle onExplodeParticles;
// Token: 0x0400F593 RID: 62867
[FieldOffset(Offset = "0x78")]
[Token(Token = "0x400F593")]
private PooledParticle CAMHEHNIEAM;
}
}