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.CoroutineBuffer Class Referenceabstract
Inheritance diagram for BrokeProtocol.Collections.CoroutineBuffer:
BrokeProtocol.Collections.ActivateBuffer BrokeProtocol.Collections.BaseBuffer BrokeProtocol.Collections.IdentityBuffer BrokeProtocol.Collections.LaserBuffer

Public Member Functions

 CoroutineBuffer (GameObject prefab, int capacity)
 
- Public Member Functions inherited from BrokeProtocol.Collections.ActivateBuffer
 ActivateBuffer (GameObject prefab, int capacity)
 
- Public Member Functions inherited from BrokeProtocol.Collections.BaseBuffer
 BaseBuffer (GameObject prefab, int capacity)
 
GameObject Execute ()
 
void Release (GameObject g)
 

Protected Member Functions

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

Protected Attributes

Dictionary< GameObject, Coroutine > coroutineCache = new ()
 
- 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

◆ CoroutineBuffer()

BrokeProtocol.Collections.CoroutineBuffer.CoroutineBuffer ( GameObject prefab,
int capacity )
inline

Member Function Documentation

◆ GetItem()

override void BrokeProtocol.Collections.CoroutineBuffer.GetItem ( GameObject g)
inlineprotectedvirtual

◆ PoolLoop()

IEnumerator BrokeProtocol.Collections.CoroutineBuffer.PoolLoop ( GameObject g)
abstractprotected

◆ ReleaseItem()

override void BrokeProtocol.Collections.CoroutineBuffer.ReleaseItem ( GameObject g)
inlineprotectedvirtual

Member Data Documentation

◆ coroutineCache

Dictionary<GameObject, Coroutine> BrokeProtocol.Collections.CoroutineBuffer.coroutineCache = new ()
protected

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