DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | ParticleEvents |
Invokers for ParticleBase events, called from events. More... | |
Functions | |
void | ParticleBase () |
ctor | |
override bool | IsParticle () |
Have script recognize this as a Particle without casting. | |
Playback | |
Methods regarding playing/stopping of particle | |
void | PlayParticle (int particle_id=-1) |
Method to tell the particle to start playing. | |
bool | PlayParticleEx (int particle_id=-1, int flags=0) |
Method to tell the particle to start playing. | |
bool | StopParticle (int flags=0) |
Method to tell the particle to stop playing. | |
bool | ResetParticle () |
Method to tell the particle to reset. | |
bool | RestartParticle () |
Method to tell the particle to restart (reset + play) | |
bool | IsParticlePlaying () |
Ask if the particle is still playing. | |
ParticleEvents | GetEvents () |
Get the events. | |
Events | |
ParticleBase events For ParticleSource, these are handed on C++ side For more information, read ParticleEvents | |
void | OnParticleStart () |
Event when the particle starts. | |
void | OnParticleStop () |
Event when the particle stops. | |
void | OnParticleReset () |
Event when the particle is restarted. | |
void | OnParticleEnd () |
Event when the particle ends. | |
void | OnParticleParented (IEntity parent) |
Event when the particle receives a parent. | |
void | OnParticleUnParented (IEntity parent) |
Event when the particle is orphaned. | |
Variables | |
class ParticleEvents | m_IsPlaying |
Engine base class with internal functionality. | |
ref ParticleEvents | m_EventInvokers |
Event invokers. | |
|
protected |
Get the events.
ParticleEvents
If there is any events set, this will return them so that additional functionality can be bound to them Definition at line 158 of file ParticleBase.c.
References m_EventInvokers.
Referenced by OnAllocation(), OnAllocationEnd(), OnParticleEnd(), OnParticleParented(), OnParticleReset(), OnParticleStart(), OnParticleStop(), and OnParticleUnParented().
Have script recognize this as a Particle without casting.
Definition at line 77 of file ParticleBase.c.
|
protected |
Ask if the particle is still playing.
bool
Whether the particle is playing Definition at line 145 of file ParticleBase.c.
References ErrorEx.
|
protected |
Event when the particle ends.
Definition at line 201 of file ParticleBase.c.
References ParticleEvents::Event_OnParticleEnd, and GetEvents().
Referenced by Particle::OnCheckAutoDelete().
Event when the particle receives a parent.
Definition at line 209 of file ParticleBase.c.
References ParticleEvents::Event_OnParticleParented, and GetEvents().
|
protected |
Event when the particle is restarted.
Definition at line 192 of file ParticleBase.c.
References ParticleEvents::Event_OnParticleReset, and GetEvents().
|
protected |
Event when the particle starts.
Definition at line 174 of file ParticleBase.c.
References ParticleEvents::Event_OnParticleStart, GetEvents(), and m_IsPlaying.
Referenced by Particle::PlayParticleEx().
|
protected |
Event when the particle stops.
Definition at line 183 of file ParticleBase.c.
References ParticleEvents::Event_OnParticleStop, GetEvents(), and m_IsPlaying.
Referenced by Particle::OnCheckAutoDelete(), and Particle::StopParticle().
Event when the particle is orphaned.
Definition at line 217 of file ParticleBase.c.
References ParticleEvents::Event_OnParticleUnParented, and GetEvents().
|
protected |
Method to tell the particle to start playing.
particle_id | int Particle ID registered in ParticleList to start playing |
bool
Whether the particle successfully started Definition at line 93 of file ParticleBase.c.
References ErrorEx.
Referenced by ParticleFireEndStart(), ParticleFireStartStart(), ParticleFireWindyNoIgniteStart(), ParticleNormalFireStart(), ParticleNormalSmokeStart(), FireplaceBase::ParticleNormalSmokeStart(), ParticleSmallFireStart(), ParticleSmallSmokeStart(), FireplaceBase::ParticleSmallSmokeStart(), ParticleSteamEndStart(), ParticleSteamExtinguishingStart(), and ParticleWetNoIgniteStart().
Method to tell the particle to start playing.
particle_id | int Particle ID registered in ParticleList to start playing |
flags | int Flags to pass to the playing |
bool
Whether the particle successfully started Definition at line 104 of file ParticleBase.c.
References ErrorEx.
|
protected |
Method to tell the particle to reset.
bool
Whether the particle successfully reset Definition at line 125 of file ParticleBase.c.
References ErrorEx.
|
protected |
Method to tell the particle to restart (reset + play)
bool
Whether the particle successfully restarted Definition at line 135 of file ParticleBase.c.
References ErrorEx.
Method to tell the particle to stop playing.
flags | int Flags to pass to the stopping |
bool
Whether the particle successfully stopped Definition at line 115 of file ParticleBase.c.
References ErrorEx.
Referenced by ParticleFireEndStop(), ParticleFireStartStop(), ParticleNormalFireStop(), ParticleNormalSmokeStop(), ParticleSmallFireStop(), ParticleSmallSmokeStop(), ParticleSteamEndStop(), ParticleSteamExtinguishingStop(), ParticleWetNoIgniteStop(), and StopAllParticlesAndSounds().
|
protected |
Event invokers.
Definition at line 66 of file ParticleBase.c.
Referenced by GetEvents(), and ParticleBase().
class ParticleEvents m_IsPlaying |
Engine base class with internal functionality.