PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
DestructionEffectBase Class Reference

Private Member Functions

void ~DestructionEffectBase ()
 
private void Init ()
 
bool HasExplosionDamage ()
 
private void DealExplosionDamage ()
 
void OnHealthLevelChanged (notnull EntityAI entity, int oldLevel, int newLevel, string zone)
 
private void ReplaceEntityServer ()
 
private ParticleSource PlayParticle (int particleType, bool attach=false)
 
void OnEntityDestroyedOneTimeClient (EntityAI entity, int oldLevel, string zone)
 
void OnEntityDestroyedOneTimeServer (EntityAI entity, int oldLevel, string zone)
 
void OnEntityDestroyedPersistentClient (EntityAI entity, string zone)
 
void OnEntityDestroyedPersistentServer (EntityAI entity, string zone)
 
void OnExplosionEffects (Object source, Object directHit, int componentIndex, string surface, vector pos, vector surfNormal, float energyFactor, float explosionFactor, bool isWater, string ammoType)
 

Private Attributes

EntityAI m_Entity
 
bool m_EntityIsTakeable
 
ParticleSource m_POneTime
 
ParticleSource m_PPersistent
 
int m_ParticleOneTime
 
int m_ParticlePersistent
 
EffectSound m_SOneTime
 
EffectSound m_SPersistent
 
string m_SoundSetOneTime
 
string m_SoundSetPersistent
 
bool m_KeepHealthOnReplace
 
string m_ReplaceWithEntity
 
int m_ReplaceDelay
 
bool m_HasExplosionDamage
 
DamageType m_DamageType
 
string m_AmmoType
 

Constructor & Destructor Documentation

◆ ~DestructionEffectBase()

Member Function Documentation

◆ DealExplosionDamage()

private void DealExplosionDamage ( )
inlineprivate

References m_AmmoType, m_DamageType, and m_Entity.

Referenced by OnHealthLevelChanged().

◆ HasExplosionDamage()

bool HasExplosionDamage ( )
inlineprivate

References m_AmmoType, and m_HasExplosionDamage.

Referenced by OnHealthLevelChanged().

◆ Init()

private void Init ( )
private

Referenced by OnHealthLevelChanged().

◆ OnEntityDestroyedOneTimeClient()

void OnEntityDestroyedOneTimeClient ( EntityAI  entity,
int  oldLevel,
string  zone 
)
private

Referenced by OnHealthLevelChanged().

◆ OnEntityDestroyedOneTimeServer()

void OnEntityDestroyedOneTimeServer ( EntityAI  entity,
int  oldLevel,
string  zone 
)
private

Referenced by OnHealthLevelChanged().

◆ OnEntityDestroyedPersistentClient()

void OnEntityDestroyedPersistentClient ( EntityAI  entity,
string  zone 
)
private

Referenced by OnHealthLevelChanged().

◆ OnEntityDestroyedPersistentServer()

void OnEntityDestroyedPersistentServer ( EntityAI  entity,
string  zone 
)
private

Referenced by OnHealthLevelChanged().

◆ OnExplosionEffects()

void OnExplosionEffects ( Object  source,
Object  directHit,
int  componentIndex,
string  surface,
vector  pos,
vector  surfNormal,
float  energyFactor,
float  explosionFactor,
bool  isWater,
string  ammoType 
)
private

◆ OnHealthLevelChanged()

◆ PlayParticle()

private ParticleSource PlayParticle ( int  particleType,
bool  attach = false 
)
inlineprivate

◆ ReplaceEntityServer()

private void ReplaceEntityServer ( )
inlineprivate

Field Documentation

◆ m_AmmoType

◆ m_DamageType

◆ m_Entity

◆ m_EntityIsTakeable

◆ m_HasExplosionDamage

◆ m_KeepHealthOnReplace

◆ m_ParticleOneTime

◆ m_ParticlePersistent

◆ m_POneTime

ParticleSource m_POneTime
private

◆ m_PPersistent

ParticleSource m_PPersistent
private

◆ m_ReplaceDelay

◆ m_ReplaceWithEntity

◆ m_SOneTime

EffectSound m_SOneTime
private

◆ m_SoundSetOneTime

◆ m_SoundSetPersistent

◆ m_SPersistent

EffectSound m_SPersistent
private

The documentation for this class was generated from the following file: