Private Member Functions | |
| void | FireworksLauncher () |
| void | ~FireworksLauncher () |
| override bool | IsDeployable () |
| override float | GetDeployTime () |
| how long it takes to deploy this item in seconds | |
| protected void | SetupColorSequences () |
| string | GetColorSequence () |
| override protected void | OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0") |
| override protected float | GetMaxAllowedWetness () |
| override protected float | GetEventDelay () |
| protected string | GetFuseSoundSet () |
| protected int | GetMaxShots () |
| protected float | GetFuseDelay () |
| protected string | GetAmmoType () |
| protected int | GetDamageType () |
| override protected void | OnStateChangedServer (EFireworksState currentState) |
| override protected void | OnStateChangedClient (EFireworksState currentState) |
| override void | OnIgnitedThis (EntityAI fire_source) |
| Executed on Server when some item ignited this one. | |
| override protected bool | CanPutInCargo (EntityAI parent) |
| override protected bool | CanPutIntoHands (EntityAI parent) |
| protected void | OnFuseIgnitedServer () |
| protected void | OnFuseIgnitedClient () |
| protected void | OnFiringStartServer () |
| protected void | OnFiringStartClient () |
| protected void | OnFiringStop () |
| protected void | RestartEventTimer () |
| Starts event timer. | |
| override protected bool | IsIgnited () |
| override protected bool | CanIgniteItem (EntityAI ignite_target=NULL) |
| override protected void | OnEventServer (int type) |
| Called periodically but only after the entity gets ignited. | |
| protected void | OnIndexChangedClient () |
| protected FireworksLauncherClientEventBase | SpawnEvent () |
| override protected void | OnVariablesSynchronized () |
| override protected void | OnStoreSave (ParamsWriteContext ctx) |
| override protected bool | OnStoreLoad (ParamsReadContext ctx, int version) |
| override string | GetDeploySoundset () |
| override string | GetLoopDeploySoundset () |
Private Attributes | |
| int | m_Index |
| int | m_IndexPrev |
| int | m_ColorSequenceIndex |
| ref Timer | m_TimerFuse |
| ref array< ref FireworksLauncherClientEventBase > | m_Events |
| EffectSound | m_FuseSoundStart |
| EffectSound | m_FuseSound |
| ParticleSource | m_ParticleFuse |
| ParticleSource | m_ParticleAfterBurnEnd |
| ref array< string > | m_ColorSequence |
|
inlineprivate |
|
inlineprivate |
References SEffectManager::DestroyEffect(), m_FuseSound, and m_FuseSoundStart.
References GetState().
References GetState().
|
inlineprivate |
Referenced by OnEventServer(), and Anniversary_FireworksLauncher::OnEventServer().
|
inlineprivate |
References ErrorEx, m_ColorSequence, and m_ColorSequenceIndex.
Referenced by FireworksLauncherClientEvent::FireworksLauncherClientEvent().
|
inlineprivate |
Referenced by OnEventServer(), and Anniversary_FireworksLauncher::OnEventServer().
|
inlineprivate |
|
inlineprivate |
how long it takes to deploy this item in seconds
|
inlineprivate |
References Math::RandomFloatInclusive().
Referenced by RestartEventTimer().
|
inlineprivate |
Referenced by OnFuseIgnitedServer().
|
inlineprivate |
Referenced by OnFuseIgnitedClient().
|
inlineprivate |
|
inlineprivate |
References GameConstants::STATE_WET.
|
inlineprivate |
Referenced by FireworksLauncher(), and OnEventServer().
|
inlineprivate |
|
inlineprivate |
References GetState().
|
inlineprivate |
Called periodically but only after the entity gets ignited.
References GetAmmoType(), GetDamageType(), GetMaxShots(), GetPosition, m_Index, m_TimerEvent, RestartEventTimer(), and SetState().
Referenced by OnFiringStartServer().
|
inlineprivate |
References m_FuseSound, m_ParticleFuse, EffectSound::Stop(), and ParticleSource::StopParticle().
Referenced by OnStateChangedClient().
|
inlineprivate |
References OnEventServer().
Referenced by OnStateChangedServer().
|
inlineprivate |
|
inlineprivate |
References ParticleList::FIREWORKS_FUSE, GetFuseSoundSet(), GetPosition, m_FuseSound, m_FuseSoundStart, m_ParticleFuse, ParticleManager(), ParticleSource::SetOwner(), and vector::VectorToAngles().
Referenced by OnStateChangedClient().
|
inlineprivate |
References CALL_CATEGORY_SYSTEM, ScriptCallQueue::CallLater(), CGame::GetCallQueue(), GetFuseDelay(), GetGame(), and SetState().
Referenced by OnStateChangedServer().
|
inlineprivate |
Executed on Server when some item ignited this one.
References m_Events, m_Index, m_TimerEvent, and Timer::Stop().
|
inlineprivate |
References m_Events, m_Index, m_State, and SpawnEvent().
Referenced by OnVariablesSynchronized().
|
inlineprivate |
References GetGame(), GetState(), and SetState().
|
inlineprivate |
References OnFiringStartClient(), and OnFuseIgnitedClient().
|
inlineprivate |
References OnFiringStartServer(), and OnFuseIgnitedServer().
|
inlineprivate |
References m_Index, m_State, Serializer::Read(), and SetState().
|
inlineprivate |
References m_Index, m_State, and Serializer::Write().
|
inlineprivate |
References m_Index, m_IndexPrev, m_RandomSeed, OnIndexChangedClient(), and Math::Randomize().
|
inlineprivate |
Starts event timer.
References GetEventDelay(), and m_TimerEvent.
Referenced by OnEventServer(), and Anniversary_FireworksLauncher::OnEventServer().
|
inlineprivate |
References m_ColorSequence.
Referenced by FireworksLauncher().
|
inlineprivate |
References m_Index.
Referenced by OnIndexChangedClient().
|
private |
Referenced by FireworksLauncher(), and GetColorSequence().
|
private |
Referenced by OnIgnitedThis(), and OnIndexChangedClient().
|
private |
Referenced by OnFiringStartClient(), OnFuseIgnitedClient(), and ~FireworksLauncher().
|
private |
Referenced by OnFuseIgnitedClient(), and ~FireworksLauncher().
|
private |
|
private |
Referenced by OnVariablesSynchronized().
|
private |
|
private |
Referenced by OnFiringStartClient(), and OnFuseIgnitedClient().
|
private |