class FireworksLauncherSource
Anniversary_FireworksLauncher › FireworksLauncher › FireworksBase › Inventory_Base › ItemBase › InventoryItem › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
All members, including inherited
Constructors 2
void FireworksLauncher()void ~FireworksLauncher()Members 10
int m_Indexcounts the shots
int m_ColorSequenceIndexref Timer m_TimerFuseref array<ref FireworksLauncherClientEventBase> m_EventsEffectSound m_FuseSoundStartEffectSound m_FuseSoundParticleSource m_ParticleFuseParticleSource m_ParticleAfterBurnEndReferenced by Anniversary_FireworksLauncher.SetupColorSequences(), FireworksLauncher(), GetColorSequence()
Show 1 more
, SetupColorSequences()Methods 34
override bool IsDeployable()override float GetDeployTime()how long it takes to deploy this item in seconds
protected void SetupColorSequences()Referenced by FireworksLauncher()
string GetColorSequence()References ErrorEx(), array.Get(), array.IsValidIndex()
Show 2 more
, m_ColorSequence, and m_ColorSequenceIndexoverride protected void OnPlacementComplete(Man player, vector position = "0 0 0", vector orientation = "0 0 0")References FireworksBase.GetState(), CGame.IsServer(), ItemBase.OnPlacementComplete()
Show 1 more
, FireworksBase.SetState()override protected float GetMaxAllowedWetness()References GameConstants.STATE_WET
override protected float GetEventDelay()References Math.RandomFloatInclusive()
Referenced by RestartEventTimer()
protected string GetFuseSoundSet()Referenced by OnFuseIgnitedClient()
protected int GetMaxShots()protected float GetFuseDelay()Referenced by OnFuseIgnitedServer()
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
References array.Clear(), FireworksBase.OnIgnitedThis(), Timer.Stop()
Show 3 more
, m_Events, m_Index, and FireworksBase.m_TimerEventReferences FireworksBase.GetState()
References FireworksBase.GetState()
protected void OnFuseIgnitedServer()Referenced by OnStateChangedServer()
protected void OnFuseIgnitedClient()References GetFuseSoundSet(), ParticleManager.GetInstance(), Object.GetMemoryPointPos()
Show 14 more
, Object.GetPosition(), Object.MemoryPointExists(), Object.ModelToWorld(), ParticleManager.PlayInWorld(), Object.PlaySoundSet(), Object.PlaySoundSetLoop(), Object.SetOrientation(), ParticleSource.SetOwner(), Object.SetPosition(), vector.VectorToAngles(), ParticleList.FIREWORKS_FUSE, m_FuseSound, m_FuseSoundStart, and m_ParticleFuseReferenced by OnStateChangedClient()
protected void OnFiringStartClient()References EffectSound.Stop(), ParticleSource.StopParticle(), m_FuseSound
Show 1 more
, m_ParticleFuseReferenced by OnStateChangedClient()
protected void OnFiringStop()References Object.SetHealth01()
protected void RestartEventTimer()Starts event timer
override protected bool IsIgnited()References FireworksBase.GetState()
override protected void OnEventServer(int type)Called periodically but only after the entity gets ignited
Referenced by OnFiringStartServer()
protected void OnIndexChangedClient()Referenced by OnVariablesSynchronized()
protected FireworksLauncherClientEventBase SpawnEvent()References new FireworksLauncherClientEvent(), FireworksLauncherClientEventBase.OnFired(), and m_Index
Referenced by OnIndexChangedClient()
override protected void OnVariablesSynchronized()References OnIndexChangedClient(), FireworksBase.OnVariablesSynchronized(), Math.Randomize()
Show 3 more
, m_Index, m_IndexPrev, and FireworksBase.m_RandomSeedoverride protected void OnStoreSave(ParamsWriteContext ctx)override protected bool OnStoreLoad(ParamsReadContext ctx, int version)References ItemBase.OnStoreLoad(), Serializer.Read(), FireworksBase.SetState()
Show 2 more
, m_Index, and FireworksBase.m_Stateoverride string GetDeploySoundset()override string GetLoopDeploySoundset()References EnumTools.EnumToString(), CGame.IsDedicatedServer(), m_Index