DIFF

class SmokeGrenadeBaseSource

SmokeGrenadeBase Grenade_Base ExplosivesBase ItemBase InventoryItem EntityAI Entity ObjectTyped Object IEntity Managed

All members, including inherited

Constructors 2

void ~SmokeGrenadeBase()

no effect on base no effect on base no effect on base

Members 17

protected ref Timer m_TimerSmokeStart
protected ref Timer m_TimerSmokeLoop
protected ref Timer m_TimerSmokeEnd
protected ref Timer m_TimerDefer
Referenced by OnWorkStop(), and SmokeGrenadeBase()
protected ESmokeGrenadeState m_SmokeGrenadeState
protected ESmokeGrenadeState m_LastSmokeGrenadeState
protected Particle m_ParticleSmoke

particle

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

protected string m_SoundSmokeStartId
protected string m_SoundSmokeLoopId
protected string m_SoundSmokeEndId
ref NoiseParams m_NoisePar

Noise

Referenced by OnWork(), and OnWorkStart()

Methods 27

void SetParticleSmokeCurrent(int particle)
protected void SoundSmokeStart()
protected void SoundSmokeLoop()
protected void SoundSmokeEnd()
protected void SoundSmokeStop()
protected void DestroySmokeGrenade()
override void Unpin()
override void OnWorkStop()
override bool CanPutInCargo(EntityAI parent)

defer timer

override void OnActivatedByItem(notnull ItemBase item)
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)