Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
smokegrenadebase.c File Reference

Go to the source code of this file.

Enumerations

enum  ESmokeGrenadeState { NO_SMOKE, LOOP = 2, END = 3, COUNT = 4 }
 

Functions

void SetParticleSmokeCurrent (int particle)
 
void SetParticleSmokeStart (int particle)
 
void SetParticleSmokeLoop (int particle)
 
void SetParticleSmokeEnd (int particle)
 
void SetSoundSmokeStart (string sound)
 
void SetSoundSmokeLoop (string sound)
 
void SetSoundSmokeEnd (string sound)
 
protected void PlaySmokeParticle ()
 
protected void SoundSmokeStart ()
 
protected void SoundSmokeLoop ()
 
protected void SoundSmokeEnd ()
 
protected void SoundSmokeStop ()
 
protected void DestroySmokeGrenade ()
 
protected void RefreshParticlesAndSounds ()
 
override void Unpin ()
 
override void OnActivateFinished ()
 
override void OnWorkStart ()
 
override void OnWork (float consumed_energy)
 
override void OnWorkStop ()
 
override bool CanPutInCargo (EntityAI parent)
 
override void OnActivatedByItem (notnull ItemBase item)
 Called when this item is activated by other. More...
 
override void SetActions ()
 
override void OnVariablesSynchronized ()
 
override void OnExplosionEffects (Object source, Object directHit, int componentIndex, string surface, vector pos, vector surfNormal, float energyFactor, float explosionFactor, bool isWater, string ammoType)
 
ESmokeGrenadeState GetSmokeGrenadeState ()
 
override void EEDelete (EntityAI parent)
 
void SetSmokeGrenadeState (ESmokeGrenadeState state)
 
void SmokeGrenadeBase ()
 
void ~SmokeGrenadeBase ()
 

Variables

enum ESmokeGrenadeState m_TimerSmokeStart
 
protected ref Timer m_TimerSmokeLoop
 
protected ref Timer m_TimerSmokeEnd
 
protected ref Timer m_TimerDefer
 
protected ESmokeGrenadeState m_SmokeGrenadeState
 
protected ESmokeGrenadeState m_LastSmokeGrenadeState
 
protected Particle m_ParticleSmoke
 particle More...
 
protected int m_ParticleSmokeCurrentId
 
protected int m_ParticleSmokeStartId
 
protected int m_ParticleSmokeLoopId
 
protected int m_ParticleSmokeEndId
 
protected vector m_ParticleSmokePosition
 
protected EffectSound m_SoundSmoke
 sounds More...
 
protected string m_SoundSmokeStartId
 
protected string m_SoundSmokeLoopId
 
protected string m_SoundSmokeEndId
 
ref NoiseParams m_NoisePar
 Noise. More...
 

Enumeration Type Documentation

◆ ESmokeGrenadeState

Enumerator
NO_SMOKE 
LOOP 
END 
COUNT 

Definition at line 1 of file smokegrenadebase.c.

Function Documentation

◆ CanPutInCargo()

override bool CanPutInCargo ( EntityAI  parent)

Definition at line 216 of file smokegrenadebase.c.

◆ DestroySmokeGrenade()

protected void DestroySmokeGrenade ( )

Definition at line 100 of file smokegrenadebase.c.

◆ EEDelete()

override void EEDelete ( EntityAI  parent)

Definition at line 247 of file smokegrenadebase.c.

◆ GetSmokeGrenadeState()

ESmokeGrenadeState GetSmokeGrenadeState ( )

Definition at line 242 of file smokegrenadebase.c.

◆ OnActivatedByItem()

override void OnActivatedByItem ( notnull ItemBase  item)

Called when this item is activated by other.

Definition at line 221 of file smokegrenadebase.c.

◆ OnActivateFinished()

override void OnActivateFinished ( )

Definition at line 166 of file smokegrenadebase.c.

◆ OnExplosionEffects()

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

Definition at line 240 of file smokegrenadebase.c.

◆ OnVariablesSynchronized()

override void OnVariablesSynchronized ( )

Definition at line 233 of file smokegrenadebase.c.

◆ OnWork()

override void OnWork ( float  consumed_energy)

Definition at line 195 of file smokegrenadebase.c.

◆ OnWorkStart()

override void OnWorkStart ( )

Definition at line 175 of file smokegrenadebase.c.

◆ OnWorkStop()

override void OnWorkStop ( )

defer timer

Definition at line 208 of file smokegrenadebase.c.

◆ PlaySmokeParticle()

protected void PlaySmokeParticle ( )

Definition at line 74 of file smokegrenadebase.c.

◆ RefreshParticlesAndSounds()

protected void RefreshParticlesAndSounds ( )

Definition at line 110 of file smokegrenadebase.c.

◆ SetActions()

override void SetActions ( )

Definition at line 226 of file smokegrenadebase.c.

◆ SetParticleSmokeCurrent()

void SetParticleSmokeCurrent ( int  particle)

Definition at line 39 of file smokegrenadebase.c.

◆ SetParticleSmokeEnd()

void SetParticleSmokeEnd ( int  particle)

Definition at line 54 of file smokegrenadebase.c.

◆ SetParticleSmokeLoop()

void SetParticleSmokeLoop ( int  particle)

Definition at line 49 of file smokegrenadebase.c.

◆ SetParticleSmokeStart()

void SetParticleSmokeStart ( int  particle)

Definition at line 44 of file smokegrenadebase.c.

◆ SetSmokeGrenadeState()

void SetSmokeGrenadeState ( ESmokeGrenadeState  state)

Definition at line 255 of file smokegrenadebase.c.

◆ SetSoundSmokeEnd()

void SetSoundSmokeEnd ( string  sound)

Definition at line 69 of file smokegrenadebase.c.

◆ SetSoundSmokeLoop()

void SetSoundSmokeLoop ( string  sound)

Definition at line 64 of file smokegrenadebase.c.

◆ SetSoundSmokeStart()

void SetSoundSmokeStart ( string  sound)

Definition at line 59 of file smokegrenadebase.c.

◆ SmokeGrenadeBase()

void SmokeGrenadeBase ( )

no effect on base

no effect on base

no effect on base

Definition at line 271 of file smokegrenadebase.c.

◆ SoundSmokeEnd()

protected void SoundSmokeEnd ( )

Definition at line 89 of file smokegrenadebase.c.

◆ SoundSmokeLoop()

protected void SoundSmokeLoop ( )

Definition at line 84 of file smokegrenadebase.c.

◆ SoundSmokeStart()

protected void SoundSmokeStart ( )

Definition at line 79 of file smokegrenadebase.c.

◆ SoundSmokeStop()

protected void SoundSmokeStop ( )

Definition at line 95 of file smokegrenadebase.c.

◆ Unpin()

override void Unpin ( )

Definition at line 158 of file smokegrenadebase.c.

◆ ~SmokeGrenadeBase()

void ~SmokeGrenadeBase ( )

Variable Documentation

◆ m_LastSmokeGrenadeState

protected ESmokeGrenadeState m_LastSmokeGrenadeState

Definition at line 20 of file smokegrenadebase.c.

◆ m_NoisePar

ref NoiseParams m_NoisePar

Noise.

Definition at line 37 of file smokegrenadebase.c.

◆ m_ParticleSmoke

protected Particle m_ParticleSmoke

particle

Definition at line 23 of file smokegrenadebase.c.

◆ m_ParticleSmokeCurrentId

protected int m_ParticleSmokeCurrentId

Definition at line 24 of file smokegrenadebase.c.

◆ m_ParticleSmokeEndId

protected int m_ParticleSmokeEndId

Definition at line 27 of file smokegrenadebase.c.

◆ m_ParticleSmokeLoopId

protected int m_ParticleSmokeLoopId

Definition at line 26 of file smokegrenadebase.c.

◆ m_ParticleSmokePosition

protected vector m_ParticleSmokePosition

Definition at line 28 of file smokegrenadebase.c.

◆ m_ParticleSmokeStartId

protected int m_ParticleSmokeStartId

Definition at line 25 of file smokegrenadebase.c.

◆ m_SmokeGrenadeState

protected ESmokeGrenadeState m_SmokeGrenadeState

Definition at line 19 of file smokegrenadebase.c.

◆ m_SoundSmoke

protected EffectSound m_SoundSmoke

sounds

Definition at line 31 of file smokegrenadebase.c.

◆ m_SoundSmokeEndId

protected string m_SoundSmokeEndId

Definition at line 34 of file smokegrenadebase.c.

◆ m_SoundSmokeLoopId

protected string m_SoundSmokeLoopId

Definition at line 33 of file smokegrenadebase.c.

◆ m_SoundSmokeStartId

protected string m_SoundSmokeStartId

Definition at line 32 of file smokegrenadebase.c.

◆ m_TimerDefer

protected ref Timer m_TimerDefer

Definition at line 17 of file smokegrenadebase.c.

◆ m_TimerSmokeEnd

protected ref Timer m_TimerSmokeEnd

Definition at line 15 of file smokegrenadebase.c.

◆ m_TimerSmokeLoop

protected ref Timer m_TimerSmokeLoop

Definition at line 14 of file smokegrenadebase.c.

◆ m_TimerSmokeStart

enum ESmokeGrenadeState m_TimerSmokeStart