Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
effectmanager.c File Reference

Go to the source code of this file.

Data Structures

class  ParticleEffecter
class  ParticleEffecterParameters
class  SEffectManager
 Manager class for managing Effect (EffectParticle, EffectSound). More...

Functions

void DecreaseLifespan (float timeSlice)
void EffecterBase ()
void EffecterParameters (string type, float lifespan)
void EffectParticleGeneral ()
override int GetHideIconMask ()
void Init (int id, EffecterParameters parameters)
void Process ()
void Reactivate ()
void SetLifespan (float lifespan)
void SetParticle (int particleID)
override void SetParticleID (int id)
void Start ()
void Stop ()
 Stops all elements this effect consists of.

Variables

int m_Command = EffecterCommands.NONE
int m_CommandSync = EffecterCommands.NONE
class SEffectManager m_EffecterType = -1
int m_ID
ParticleEffecter m_LastParticleID
float m_Lifespan
class SEffectManager NONE = -1
ParticleEffecterParameters NOT_DEFINED_LIFESPAN = -1
class SEffectManager REACTIVATE0 = -1
class SEffectManager START = -1
class SEffectManager STOP = -1

Function Documentation

◆ DecreaseLifespan()

void DecreaseLifespan ( float timeSlice)
protected

◆ EffecterBase()

◆ EffecterParameters()

void EffecterParameters ( string type,
float lifespan )

◆ EffectParticleGeneral()

void EffectParticleGeneral ( )
protected

◆ GetHideIconMask()

override int GetHideIconMask ( )
protected

Definition at line 755 of file effectmanager.c.

◆ Init()

void Init ( int id,
EffecterParameters parameters )
protected

Definition at line 695 of file effectmanager.c.

References EffecterParameters(), m_ID, and SetLifespan().

◆ Process()

◆ Reactivate()

void Reactivate ( )
protected

Definition at line 730 of file effectmanager.c.

References m_CommandSync, and Process().

◆ SetLifespan()

void SetLifespan ( float lifespan)
protected

Definition at line 713 of file effectmanager.c.

References m_Lifespan.

Referenced by Init().

◆ SetParticle()

void SetParticle ( int particleID)
protected

◆ SetParticleID()

override void SetParticleID ( int id)
protected

Definition at line 870 of file effectmanager.c.

References m_LastParticleID.

◆ Start()

void Start ( )
protected

Definition at line 718 of file effectmanager.c.

References m_CommandSync, and Process().

Variable Documentation

◆ m_Command

int m_Command = EffecterCommands.NONE
protected

◆ m_CommandSync

◆ m_EffecterType

class SEffectManager m_EffecterType = -1

Referenced by EffecterParameters().

◆ m_ID

int m_ID
protected

Definition at line 686 of file effectmanager.c.

◆ m_LastParticleID

ParticleEffecter m_LastParticleID
protected

Referenced by SetParticleID().

◆ m_Lifespan

float m_Lifespan

Definition at line 664 of file effectmanager.c.

Referenced by DecreaseLifespan(), EffecterParameters(), and SetLifespan().

◆ NONE

class SEffectManager NONE = -1

◆ NOT_DEFINED_LIFESPAN

ParticleEffecterParameters NOT_DEFINED_LIFESPAN = -1

Referenced by DecreaseLifespan().

◆ REACTIVATE0

class SEffectManager REACTIVATE0 = -1

◆ START

class SEffectManager START = -1

◆ STOP

class SEffectManager STOP = -1