![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
| class | ParticleEvents |
| Invokers for ParticleBase events, called from events. More... | |
Functions | |
| override bool | IsParticle () |
| Have script recognize this as a Particle without casting. | |
| void | ParticleBase () |
| ctor | |
Playback | |
Methods regarding playing/stopping of particle | |
| ParticleEvents | GetEvents () |
| Get the events. | |
| bool | IsParticlePlaying () |
| Ask if the particle is still playing. | |
| 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 | ResetParticle () |
| Method to tell the particle to reset. | |
| bool | RestartParticle () |
| Method to tell the particle to restart (reset + play). | |
| bool | StopParticle (int flags=0) |
| Method to tell the particle to stop playing. | |
Events | |
ParticleBase events For ParticleSource, these are handed on C++ side For more information, read ParticleEvents | |
| void | OnParticleEnd () |
| Event when the particle ends. | |
| void | OnParticleParented (IEntity parent) |
| Event when the particle receives a parent. | |
| void | OnParticleReset () |
| Event when the particle is restarted. | |
| void | OnParticleStart () |
| Event when the particle starts. | |
| void | OnParticleStop () |
| Event when the particle stops. | |
| void | OnParticleUnParented (IEntity parent) |
| Event when the particle is orphaned. | |
Variables | |
| ref ParticleEvents | m_EventInvokers |
| Event invokers. | |
| class ParticleEvents | m_IsPlaying |
| Engine base class with internal functionality. | |
|
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 162 of file particlebase.c.
References m_EventInvokers.
Referenced by OnAllocation(), OnAllocationEnd(), OnEnd(), OnHeaderLoad(), OnLoad(), OnParticleEnd(), OnParticleParented(), OnParticleReset(), OnParticleStart(), OnParticleStop(), OnParticleUnParented(), OnPlay(), and OnStop().
|
protected |
Have script recognize this as a Particle without casting.
Definition at line 79 of file particlebase.c.
|
protected |
Ask if the particle is still playing.
bool Whether the particle is playing Definition at line 148 of file particlebase.c.
References ErrorEx.
|
protected |
Event when the particle ends.
Definition at line 206 of file particlebase.c.
References ParticleEvents::Event_OnParticleEnd, GetEvents(), and ScriptInvoker::Invoke().
Referenced by Particle::OnCheckAutoDelete().
|
protected |
Event when the particle receives a parent.
Definition at line 214 of file particlebase.c.
References ParticleEvents::Event_OnParticleParented, GetEvents(), and ScriptInvoker::Invoke().
|
protected |
Event when the particle is restarted.
Definition at line 197 of file particlebase.c.
References ParticleEvents::Event_OnParticleReset, GetEvents(), and ScriptInvoker::Invoke().
|
protected |
Event when the particle starts.
Definition at line 179 of file particlebase.c.
References ParticleEvents::Event_OnParticleStart, GetEvents(), ScriptInvoker::Invoke(), and m_IsPlaying.
Referenced by Particle::PlayParticleEx().
|
protected |
Event when the particle stops.
Definition at line 188 of file particlebase.c.
References ParticleEvents::Event_OnParticleStop, GetEvents(), ScriptInvoker::Invoke(), and m_IsPlaying.
Referenced by Particle::OnCheckAutoDelete(), and Particle::StopParticle().
|
protected |
Event when the particle is orphaned.
Definition at line 222 of file particlebase.c.
References ParticleEvents::Event_OnParticleUnParented, GetEvents(), and ScriptInvoker::Invoke().
|
protected |
|
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 96 of file particlebase.c.
References ErrorEx, and particle_id.
Referenced by ParticleFireEndStart(), ParticleFireStartStart(), ParticleFireWindyNoIgniteStart(), ParticleNormalFireStart(), FireplaceBase::ParticleNormalSmokeStart(), FireplaceIndoor::ParticleNormalSmokeStart(), ParticleNormalSmokeStart(), ParticleSmallFireStart(), FireplaceBase::ParticleSmallSmokeStart(), FireplaceIndoor::ParticleSmallSmokeStart(), 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 107 of file particlebase.c.
References ErrorEx, and particle_id.
|
protected |
Method to tell the particle to reset.
bool Whether the particle successfully reset Definition at line 128 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 138 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 118 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.