Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

245 lines
6.9 KiB
C#

using System;
using Cpp2IlInjected;
using RecRoom.Core.Pools;
using UnityEngine;
namespace RecRoom.Core.AI
{
// Token: 0x0200340D RID: 13325
[Token(Token = "0x200340D")]
public class EnemyParticles : MonoBehaviour
{
// Token: 0x0601752D RID: 95533 RVA: 0x005770B0 File Offset: 0x005752B0
[Token(Token = "0x601752D")]
[Address(RVA = "0x1387DA0", Offset = "0x1386BA0", VA = "0x181387DA0")]
private void OnDestroy()
{
this.StopCharge();
}
// Token: 0x0601752E RID: 95534 RVA: 0x005770C4 File Offset: 0x005752C4
[Token(Token = "0x601752E")]
[Address(RVA = "0x1388290", Offset = "0x1387090", VA = "0x181388290")]
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: 0x0601752F RID: 95535 RVA: 0x00577130 File Offset: 0x00575330
[Token(Token = "0x601752F")]
[Address(RVA = "0x1387FF0", Offset = "0x1386DF0", VA = "0x181387FF0")]
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: 0x06017530 RID: 95536 RVA: 0x00577194 File Offset: 0x00575394
[Token(Token = "0x6017530")]
[Address(RVA = "0x1388560", Offset = "0x1387360", VA = "0x181388560")]
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: 0x06017531 RID: 95537 RVA: 0x00577204 File Offset: 0x00575404
[Token(Token = "0x6017531")]
[Address(RVA = "0x1388680", Offset = "0x1387480", VA = "0x181388680")]
public void StopCharge()
{
PooledParticle camhehnieam = this.CAMHEHNIEAM;
int num = 0;
if (camhehnieam != num)
{
this.CAMHEHNIEAM.Stop();
this.CAMHEHNIEAM = (ulong)0L;
}
}
// Token: 0x06017532 RID: 95538 RVA: 0x00577240 File Offset: 0x00575440
[Token(Token = "0x6017532")]
[Address(RVA = "0x1387DB0", Offset = "0x1386BB0", VA = "0x181387DB0")]
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: 0x06017533 RID: 95539 RVA: 0x005772B8 File Offset: 0x005754B8
[Token(Token = "0x6017533")]
[Address(RVA = "0x1387C20", Offset = "0x1386A20", VA = "0x181387C20")]
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: 0x06017534 RID: 95540 RVA: 0x00577318 File Offset: 0x00575518
[Token(Token = "0x6017534")]
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
public EnemyParticles()
{
}
// Token: 0x0400F33F RID: 62271
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400F33F")]
[SerializeField]
[Header("Damage Particles")]
private PooledParticle defaultDamageParticles;
// Token: 0x0400F340 RID: 62272
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x400F340")]
[SerializeField]
private PooledParticle onDamageParticles;
// Token: 0x0400F341 RID: 62273
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x400F341")]
[SerializeField]
private PooledParticle onShieldedDamageParticles;
// Token: 0x0400F342 RID: 62274
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x400F342")]
[SerializeField]
private PooledParticle onCriticalHitDamageParticles;
// Token: 0x0400F343 RID: 62275
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x400F343")]
[SerializeField]
private float damageParticleZBias;
// Token: 0x0400F344 RID: 62276
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x400F344")]
[SerializeField]
[Header("Kill Particles")]
private PooledParticle defaultKillParticles;
// Token: 0x0400F345 RID: 62277
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x400F345")]
[SerializeField]
private PooledParticle onKillParticles;
// Token: 0x0400F346 RID: 62278
[FieldOffset(Offset = "0x50")]
[Token(Token = "0x400F346")]
[SerializeField]
private PooledParticle onCriticalHitKillParticles;
// Token: 0x0400F347 RID: 62279
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x400F347")]
[SerializeField]
private float killParticleZBias;
// Token: 0x0400F348 RID: 62280
[FieldOffset(Offset = "0x60")]
[Token(Token = "0x400F348")]
[SerializeField]
[Header("Alert")]
private PooledParticle onAlertParticles;
// Token: 0x0400F349 RID: 62281
[FieldOffset(Offset = "0x68")]
[Token(Token = "0x400F349")]
[SerializeField]
[Header("Charge")]
private PooledParticle onChargeParticles;
// Token: 0x0400F34A RID: 62282
[FieldOffset(Offset = "0x70")]
[Token(Token = "0x400F34A")]
[SerializeField]
[Header("Explosion")]
private PooledParticle onExplodeParticles;
// Token: 0x0400F34B RID: 62283
[FieldOffset(Offset = "0x78")]
[Token(Token = "0x400F34B")]
private PooledParticle CAMHEHNIEAM;
}
}