Private Member Functions | |
protected int | GetSoundDelay () |
protected int | GetLightDelay () |
protected float | GetExplosionDistance () |
protected float | GetShotDispersionAngle () |
protected string | GetExplosionSoundSet () |
protected float | GetExplosionDelay () |
void | FireworksLauncherClientEvent (FireworksLauncher item, int index) |
void | ~FireworksLauncherClientEvent () |
override protected void | OnFired () |
protected vector | GetShotPos () |
protected void | CalculateExplosionPosition () |
protected vector | GetExplosionPosition () |
int | GetSecondaryExplosionCount () |
protected void | OnExplode () |
protected void | RequestSecondaryExplosion () |
protected void | SpawnSecondaryExplosion () |
protected int | GetSecondaryExplosionDelay () |
protected int | GetExplParticleFromSequence () |
protected void | SetupLight (PointLightBase light) |
protected void | SpawnLight () |
protected void | PlayExplosionSound () |
Private Attributes | |
protected ref Timer | m_Timer = new Timer() |
protected FireworksLauncher | m_Item |
protected int | m_Index |
protected vector | m_ExplosionPos |
protected EffectSound | m_FireSound |
protected EffectSound | m_ExplosionSound |
protected ParticleSource | m_ParticleShot |
protected ParticleSource | m_ParticleExplosion |
protected vector | m_ShotDir |
protected ExplosionLight | m_ExplosionLight |
protected ParticleSource | m_ParticleAfterBurnEnd |
protected string | m_Color |
protected int | m_RemainingExplosions = GetSecondaryExplosionCount() |
protected ref array< ref FireworksLauncherClientEventBase > | m_Events = new array<ref FireworksLauncherClientEventBase> |
|
inlineprivate |
References string::Get(), FireworksLauncher::GetColorSequence(), string::Length(), Debug::LogError(), m_Color, m_Index, and m_Item.
|
inlineprivate |
|
inlineprivate |
References GetExplosionDistance(), GetShotPos(), m_ExplosionPos, and m_ShotDir.
Referenced by GetExplosionPosition().
|
inlineprivate |
References Math::RandomFloatInclusive().
Referenced by OnFired().
|
inlineprivate |
References Math::RandomFloatInclusive().
Referenced by CalculateExplosionPosition(), GetExplosionPosition(), and OnFired().
|
inlineprivate |
References CalculateExplosionPosition(), and m_ExplosionPos.
Referenced by OnExplode(), OnExplode(), SpawnLight(), SpawnSecondaryExplosion(), and AnniversaryFireworksLauncherClientEvent::SpawnSecondaryExplosion().
|
inlineprivate |
Referenced by PlayExplosionSound().
|
inlineprivate |
|
inlineprivate |
Referenced by OnExplode(), and OnExplode().
|
inlineprivate |
|
inlineprivate |
References Math::RandomIntInclusive().
Referenced by RequestSecondaryExplosion().
|
inlineprivate |
References Math::RandomFloatInclusive().
Referenced by OnFired().
|
inlineprivate |
References Debug::LogError(), m_Index, and m_Item.
Referenced by CalculateExplosionPosition(), GetExplosionPosition(), and OnFired().
|
inlineprivate |
Referenced by OnExplode(), and OnExplode().
|
inlineprivate |
References CALL_CATEGORY_SYSTEM, ScriptCallQueue::CallLater(), CGame::GetCallQueue(), GetExplosionPosition(), GetExplParticleFromSequence(), GetGame(), GetLightDelay(), GetSoundDelay(), m_ParticleAfterBurnEnd, m_ParticleExplosion, ParticleManager(), PlayExplosionSound(), RequestSecondaryExplosion(), SpawnLight(), and Particle::Stop().
|
inlineprivate |
References ParticleList::FIREWORKS_AFTERBURN_END, ParticleList::FIREWORKS_SHOT, GetExplosionDelay(), GetExplosionDistance(), GetShotDispersionAngle(), GetShotPos(), m_FireSound, m_Item, m_ParticleAfterBurnEnd, m_ParticleShot, m_ShotDir, m_Timer, ParticleManager(), Math::RandomFloatInclusive(), ParticleSource::SetOwner(), and Vector().
|
inlineprivate |
References GetExplosionSoundSet(), m_ExplosionSound, m_FireSound, m_Item, and EffectSound::Stop().
Referenced by OnExplode().
|
inlineprivate |
References CALL_CATEGORY_SYSTEM, ScriptCallQueue::CallLater(), CGame::GetCallQueue(), GetGame(), GetSecondaryExplosionDelay(), m_RemainingExplosions, and SpawnSecondaryExplosion().
Referenced by OnExplode(), SpawnSecondaryExplosion(), and AnniversaryFireworksLauncherClientEvent::SpawnSecondaryExplosion().
|
inlineprivate |
References ErrorEx, and m_Color.
Referenced by SpawnLight().
|
inlineprivate |
References GetExplosionPosition(), m_ExplosionLight, and SetupLight().
Referenced by OnExplode().
|
inlineprivate |
References GetExplosionPosition(), m_Events, m_Index, m_Item, and RequestSecondaryExplosion().
Referenced by RequestSecondaryExplosion().
|
private |
|
private |
Referenced by SpawnLight().
|
private |
Referenced by CalculateExplosionPosition(), and GetExplosionPosition().
|
private |
Referenced by PlayExplosionSound(), and ~FireworksLauncherClientEvent().
|
private |
Referenced by OnFired(), PlayExplosionSound(), and ~FireworksLauncherClientEvent().
|
private |
|
private |
|
private |
Referenced by OnExplode(), OnFired(), and ~FireworksLauncherClientEvent().
|
private |
Referenced by OnExplode().
|
private |
Referenced by OnFired().
|
private |
Referenced by RequestSecondaryExplosion().
|
private |
Referenced by CalculateExplosionPosition(), and OnFired().