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.Entities.ClTerritory Class Reference
Inheritance diagram for BrokeProtocol.Entities.ClTerritory:
BrokeProtocol.Entities.ClTextDisplay BrokeProtocol.Entities.ClEntity BrokeProtocol.Client.Buttons.ClActionable

Public Member Functions

override void Initialize ()
 
override void ReadActivateData ()
 
void SetTerritory (int owner, int attacker)
 
- Public Member Functions inherited from BrokeProtocol.Entities.ClTextDisplay
override void RefreshActions ()
 
void UpdateTextAction ()
 
override void ReadActivateData ()
 
- Public Member Functions inherited from BrokeProtocol.Entities.ClEntity
void DeserializeAnimator (byte[] stateArray)
 
void DeserializeParameters (byte[] stateArray)
 
bool TypeActionTest (string type)
 
virtual void Relocate (Vector3 position, Quaternion rotation, bool zeroVelocity)
 
void StartMapMarker (Color color)
 
void DestroyMapMarker ()
 
virtual void Destroy ()
 
virtual void ReadInitData ()
 
void VideoPlay (string videoURL, float startTime)
 
void VideoStop ()
 
void ClDestroyEffect (int destroyEffectIndex)
 
- Public Member Functions inherited from BrokeProtocol.Client.Buttons.ClActionable
virtual void FinishedActions ()
 

Protected Member Functions

Color GetColor (int i)
 
IEnumerator FlashColors ()
 
- Protected Member Functions inherited from BrokeProtocol.Entities.ClEntity
void EventAction (string eventName)
 
virtual bool CollectTest ()
 
void CollectAction ()
 
virtual bool ShopTest ()
 
void ShopAction ()
 
bool ViewTest ()
 
void ViewAction ()
 
virtual bool CrackTest ()
 
void CrackAction ()
 
virtual bool BuyEntityTest ()
 
void GetEntityValueAction ()
 
virtual bool AppsTest ()
 
void AppsAction ()
 
bool VideoPanelTest ()
 
void VideoPanelAction ()
 
bool VideoSyncTest ()
 
void VideoPlayerReady (VideoPlayer source)
 
void VideoSyncAction ()
 

Protected Attributes

ShTerritory territory
 
SpriteRenderer sprite
 
float alpha
 
- Protected Attributes inherited from BrokeProtocol.Entities.ClTextDisplay
ShTextDisplay textDisplay
 
- Protected Attributes inherited from BrokeProtocol.Entities.ClEntity
ShEntity entity
 
LabelID[] eventActions
 
bool videoReadyAndPlaying
 
RenderTexture renderTexture
 

Additional Inherited Members

- Public Attributes inherited from BrokeProtocol.Entities.ClEntity
SpriteRenderer mapMarkerSprite
 
ClManager clManager
 
bool isMain
 
VideoPlayer videoPlayer
 
RawImage videoImage
 
- Public Attributes inherited from BrokeProtocol.Client.Buttons.ClActionable
List< ActionInfoactions
 
- Properties inherited from BrokeProtocol.Entities.ClEntity
bool InventoryTest [get]
 

Member Function Documentation

◆ FlashColors()

IEnumerator BrokeProtocol.Entities.ClTerritory.FlashColors ( )
inlineprotected

◆ GetColor()

Color BrokeProtocol.Entities.ClTerritory.GetColor ( int i)
protected

◆ Initialize()

override void BrokeProtocol.Entities.ClTerritory.Initialize ( )
inlinevirtual

Reimplemented from BrokeProtocol.Entities.ClEntity.

◆ ReadActivateData()

override void BrokeProtocol.Entities.ClTerritory.ReadActivateData ( )
inlinevirtual

Reimplemented from BrokeProtocol.Entities.ClEntity.

◆ SetTerritory()

void BrokeProtocol.Entities.ClTerritory.SetTerritory ( int owner,
int attacker )
inline

Member Data Documentation

◆ alpha

float BrokeProtocol.Entities.ClTerritory.alpha
protected

◆ sprite

SpriteRenderer BrokeProtocol.Entities.ClTerritory.sprite
protected

◆ territory

ShTerritory BrokeProtocol.Entities.ClTerritory.territory
protected

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