Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BrokeProtocol.Collections.SplatBuffer Class Reference
Inheritance diagram for BrokeProtocol.Collections.SplatBuffer:
BrokeProtocol.Collections.TimedBuffer BrokeProtocol.Collections.BaseBuffer

Public Member Functions

 SplatBuffer (GameObject prefab, int capacity, float lifespan)
 
override GameObject Execute (Vector3 start, Vector3 normal)
 
- Public Member Functions inherited from BrokeProtocol.Collections.TimedBuffer
 TimedBuffer (GameObject prefab, int capacity, float lifespan)
 
GameObject Execute (Vector3 start, Quaternion rotation)
 
- Public Member Functions inherited from BrokeProtocol.Collections.BaseBuffer
 BaseBuffer (GameObject prefab, int capacity)
 
GameObject Execute ()
 
void Release (GameObject g)
 

Protected Member Functions

override GameObject CreateItem ()
 
override void DestroyItem (GameObject g)
 
- Protected Member Functions inherited from BrokeProtocol.Collections.TimedBuffer
override void GetItem (GameObject g)
 
- Protected Member Functions inherited from BrokeProtocol.Collections.BaseBuffer
virtual void ReleaseItem (GameObject g)
 
IEnumerator ReleaseDelay (GameObject g, float delay)
 

Protected Attributes

Dictionary< GameObject, SplatsplatCache = new ()
 
- Protected Attributes inherited from BrokeProtocol.Collections.TimedBuffer
float lifespan
 
- Protected Attributes inherited from BrokeProtocol.Collections.BaseBuffer
Dictionary< GameObject, Transform > transformCache = new ()
 
Dictionary< GameObject, ParticleSystem > particleCache = new ()
 
Dictionary< GameObject, AudioSource > audioCache = new ()
 
Dictionary< GameObject, Light > lightCache = new ()
 

Constructor & Destructor Documentation

◆ SplatBuffer()

BrokeProtocol.Collections.SplatBuffer.SplatBuffer ( GameObject prefab,
int capacity,
float lifespan )
inline

Member Function Documentation

◆ CreateItem()

override GameObject BrokeProtocol.Collections.SplatBuffer.CreateItem ( )
inlineprotectedvirtual

◆ DestroyItem()

override void BrokeProtocol.Collections.SplatBuffer.DestroyItem ( GameObject g)
inlineprotectedvirtual

◆ Execute()

override GameObject BrokeProtocol.Collections.SplatBuffer.Execute ( Vector3 start,
Vector3 normal )
inlinevirtual

Member Data Documentation

◆ splatCache

Dictionary<GameObject, Splat> BrokeProtocol.Collections.SplatBuffer.splatCache = new ()
protected

The documentation for this class was generated from the following file: