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

Public Member Functions

 IdentityBuffer (GameObject prefab, int capacity)
 
GameObject Execute (ShPlayer target)
 
void SetColor (GameObject g, Color color)
 
void SetName (GameObject g, string text)
 
void SetMessage (GameObject g, string text)
 
void SetIcon (GameObject g)
 
void Disable (GameObject g)
 
- Public Member Functions inherited from BrokeProtocol.Collections.CoroutineBuffer
 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 GameObject CreateItem ()
 
override void DestroyItem (GameObject g)
 
override void GetItem (GameObject g)
 
override void ReleaseItem (GameObject g)
 
override IEnumerator PoolLoop (GameObject g)
 
- Protected Member Functions inherited from BrokeProtocol.Collections.CoroutineBuffer
IEnumerator PoolLoop (GameObject g)
 
- Protected Member Functions inherited from BrokeProtocol.Collections.BaseBuffer
IEnumerator ReleaseDelay (GameObject g, float delay)
 

Protected Attributes

Dictionary< GameObject, ShPlayertargetCache = new ()
 
Dictionary< GameObject, Text > nameCache = new ()
 
Dictionary< GameObject, Text > messageCache = new ()
 
Dictionary< GameObject, SpriteRenderer > iconCache = new ()
 
- Protected Attributes inherited from BrokeProtocol.Collections.CoroutineBuffer
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

◆ IdentityBuffer()

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

Member Function Documentation

◆ CreateItem()

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

◆ DestroyItem()

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

◆ Disable()

void BrokeProtocol.Collections.IdentityBuffer.Disable ( GameObject g)
inline

◆ Execute()

GameObject BrokeProtocol.Collections.IdentityBuffer.Execute ( ShPlayer target)
inline

◆ GetItem()

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

◆ PoolLoop()

override IEnumerator BrokeProtocol.Collections.IdentityBuffer.PoolLoop ( GameObject g)
inlineprotected

◆ ReleaseItem()

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

◆ SetColor()

void BrokeProtocol.Collections.IdentityBuffer.SetColor ( GameObject g,
Color color )

◆ SetIcon()

void BrokeProtocol.Collections.IdentityBuffer.SetIcon ( GameObject g)
inline

◆ SetMessage()

void BrokeProtocol.Collections.IdentityBuffer.SetMessage ( GameObject g,
string text )
inline

◆ SetName()

void BrokeProtocol.Collections.IdentityBuffer.SetName ( GameObject g,
string text )
inline

Member Data Documentation

◆ iconCache

Dictionary<GameObject, SpriteRenderer> BrokeProtocol.Collections.IdentityBuffer.iconCache = new ()
protected

◆ messageCache

Dictionary<GameObject, Text> BrokeProtocol.Collections.IdentityBuffer.messageCache = new ()
protected

◆ nameCache

Dictionary<GameObject, Text> BrokeProtocol.Collections.IdentityBuffer.nameCache = new ()
protected

◆ targetCache

Dictionary<GameObject, ShPlayer> BrokeProtocol.Collections.IdentityBuffer.targetCache = new ()
protected

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