Data Structures | |
| class | SEffectManager |
| Manager class for managing Effect (EffectParticle, EffectSound) More... | |
| class | ParticleEffecterParameters |
| class | ParticleEffecter |
Functions | |
| void | EffecterParameters (string type, float lifespan) |
| void | EffecterBase () |
| void | Init (int id, EffecterParameters parameters) |
| void | DecreaseLifespan (float timeSlice) |
| void | SetLifespan (float lifespan) |
| void | Start () |
| void | Stop () |
| Stops all elements this effect consists of. | |
| void | Reactivate () |
| void | Process () |
| override int | GetHideIconMask () |
| void | EffectParticleGeneral () |
| void | SetParticle (int particleID) |
| override void | SetParticleID (int id) |
Variables | |
| class SEffectManager | NONE = -1 |
| class SEffectManager | START = -1 |
| class SEffectManager | STOP = -1 |
| class SEffectManager | REACTIVATE0 = -1 |
| class SEffectManager | m_EffecterType = -1 |
| float | m_Lifespan |
| ParticleEffecterParameters | NOT_DEFINED_LIFESPAN = -1 |
| protected int | m_ID |
| protected int | m_Command = EffecterCommands.NONE |
| protected int | m_CommandSync = EffecterCommands.NONE |
| ParticleEffecter | m_LastParticleID |
| void DecreaseLifespan | ( | float | timeSlice | ) |
References SEffectManager::DestroyEffecterParticleServer(), m_ID, m_Lifespan, and NOT_DEFINED_LIFESPAN.
| void EffecterBase | ( | ) |
Referenced by SEffectManager::Cleanup(), SEffectManager::CreateParticleServer(), SEffectManager::DestroyEffecterParticleServer(), ActionMineBush::OnExecuteServer(), OnExecuteServer(), SEffectManager::OnUpdate(), ActionFishingNew::PlaySplashEffectSynced(), SEffectManager::ReactivateParticleServer(), SEffectManager::ReinitParticleServer(), SEffectManager::StartParticleServer(), and SEffectManager::StopParticleServer().
References EffecterParameters(), m_EffecterType, and m_Lifespan.
Referenced by EffecterParameters().
| void EffectParticleGeneral | ( | ) |
Referenced by ParticleEffecter::OnVariablesSynchronized(), OnVariablesSynchronized(), and ~TreeEffecter().
| override int GetHideIconMask | ( | ) |
| void Init | ( | int | id, |
| EffecterParameters | parameters | ||
| ) |
References m_ID, and SetLifespan().
| void Process | ( | ) |
References GetGame(), and OnVariablesSynchronized().
Referenced by ActionDetachFromTarget::OnExecute(), ActionDetachPowerSourceFromPanel::OnExecuteClient(), ActionPlugIn::OnExecuteClient(), ActionDetachPowerSourceFromPanel::OnExecuteServer(), ActionPlantSeed::OnExecuteServer(), ActionPlugIn::OnExecuteServer(), ActionPlugTargetIntoThis::OnExecuteServer(), Reactivate(), ParticleEffecter::SetParticle(), SetRadius(), Start(), Stop(), and HeatComfortAnimHandler::Update().
| void Reactivate | ( | ) |
References m_CommandSync, and Process().
| void SetLifespan | ( | float | lifespan | ) |
References m_Lifespan.
Referenced by Init().
| void SetParticle | ( | int | particleID | ) |
References IsPlaying(), EffectParticle::SetParticleID(), EffectParticle::Start(), and EffectParticle::Stop().
| override void SetParticleID | ( | int | id | ) |
References m_LastParticleID.
| void Start | ( | ) |
References m_CommandSync, and Process().
| protected int m_Command = EffecterCommands.NONE |
Referenced by ParticleEffecter::OnVariablesSynchronized(), and OnVariablesSynchronized().
| protected int m_CommandSync = EffecterCommands.NONE |
Referenced by ParticleEffecter::OnVariablesSynchronized(), OnVariablesSynchronized(), Reactivate(), Start(), and Stop().
| class SEffectManager m_EffecterType = -1 |
Referenced by EffecterParameters().
| protected int m_ID |
| ParticleEffecter m_LastParticleID |
Referenced by SetParticleID().
| protected float m_Lifespan |
Referenced by DecreaseLifespan(), EffecterParameters(), and SetLifespan().
| class SEffectManager NONE = -1 |
| ParticleEffecterParameters NOT_DEFINED_LIFESPAN = -1 |
Referenced by DecreaseLifespan().
| class SEffectManager REACTIVATE0 = -1 |
| class SEffectManager START = -1 |
| class SEffectManager STOP = -1 |