Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
DestructionEffectBase Class Reference
Inheritance diagram for DestructionEffectBase:
DestructionEffectGasCanister DestructionEffectSpookyGoat

Private Member Functions

void ~DestructionEffectBase ()
void DealExplosionDamage ()
bool HasExplosionDamage ()
void Init ()
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)
void OnHealthLevelChanged (notnull EntityAI entity, int oldLevel, int newLevel, string zone)
ParticleSource PlayParticle (int particleType, bool attach=false)
void ReplaceEntityServer ()

Private Attributes

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

Detailed Description

Definition at line 1 of file destructioneffectbase.c.

Constructor & Destructor Documentation

◆ ~DestructionEffectBase()

Member Function Documentation

◆ DealExplosionDamage()

void DealExplosionDamage ( )
inlineprivate

Definition at line 50 of file destructioneffectbase.c.

References m_AmmoType, m_DamageType, and m_Entity.

Referenced by OnHealthLevelChanged().

◆ HasExplosionDamage()

bool HasExplosionDamage ( )
inlineprivate

Definition at line 45 of file destructioneffectbase.c.

References m_AmmoType, and m_HasExplosionDamage.

Referenced by OnHealthLevelChanged().

◆ Init()

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()

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

◆ ReplaceEntityServer()

void ReplaceEntityServer ( )
inlineprivate

Field Documentation

◆ m_AmmoType

◆ m_DamageType

◆ m_Entity

EntityAI m_Entity
private

◆ m_EntityIsTakeable

bool m_EntityIsTakeable
private

◆ m_HasExplosionDamage

bool m_HasExplosionDamage
private

◆ m_KeepHealthOnReplace

bool m_KeepHealthOnReplace
private

◆ m_ParticleOneTime

int m_ParticleOneTime
private

◆ m_ParticlePersistent

int m_ParticlePersistent
private

◆ m_POneTime

ParticleSource m_POneTime
private

Definition at line 7 of file destructioneffectbase.c.

Referenced by ~DestructionEffectBase(), and OnHealthLevelChanged().

◆ m_PPersistent

ParticleSource m_PPersistent
private

Definition at line 8 of file destructioneffectbase.c.

Referenced by ~DestructionEffectBase(), and OnHealthLevelChanged().

◆ m_ReplaceDelay

◆ m_ReplaceWithEntity

◆ m_SOneTime

EffectSound m_SOneTime
private

Definition at line 13 of file destructioneffectbase.c.

Referenced by ~DestructionEffectBase(), and OnHealthLevelChanged().

◆ m_SoundSetOneTime

◆ m_SoundSetPersistent

string m_SoundSetPersistent
private

◆ m_SPersistent

EffectSound m_SPersistent
private

Definition at line 14 of file destructioneffectbase.c.

Referenced by ~DestructionEffectBase(), and OnHealthLevelChanged().


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