private bool CanPlayPooledParticleEffect(PooledObjectDefinition pooledObjectDefinition) | True on clients or local test when the definition exists; never on a dedicated server. |
private bool IsValidIndex(int index) | True for -1 or an index inside poolDefinitions. |
private bool IsValidLocalTest(Stream stream) | True when reading in a local test, so the effect also plays there. |
private void PlayAllPooledParticleEffects() | Client: plays each effect in the list. |
private async void PlayPooledParticleEffect(PooledObjectDefinition pooledObjectDefinition) | Client: spawns the pooled effect at the spawn point and, if it auto-disables, stops it after its duration. |
private void PlayVfxOnClient(int index) | Client: plays the effect at the index, or all of them. |
private void StopAllTargetSystems(PooledParticleSystem[] pooledParticleSystems) | Client: stops all the given systems. |
private void StopAllTargetSystemsWithIndex(PooledParticleSystem[] pooledParticleSystems, int index) | Client: stops the given systems that came from the pool at the index. |
private void StopTargetSystem(PooledParticleSystem targetPooledParticleSystem) | Deactivates and releases a system back to its pool, and forgets it. |
private void StopVfxOnClient(int index) | Client: stops active effects for the index, or all of them. |
private void SyncParticleActivationToClient(IPlayer player, Stream stream, int index) | Sends the index and plays it on remote clients. |
private void SyncParticleStopToClient(IPlayer player, Stream stream, int index) | Sends the index and stops it on remote clients. |