Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
BrokeProtocol.Entities.ClEntity Class Reference
Inheritance diagram for BrokeProtocol.Entities.ClEntity:
BrokeProtocol.Client.Buttons.ClActionable BrokeProtocol.Entities.ClDamageable BrokeProtocol.Entities.ClDeathZone BrokeProtocol.Entities.ClDoor BrokeProtocol.Entities.ClTextDisplay BrokeProtocol.Entities.ClTrigger BrokeProtocol.Entities.ClVault BrokeProtocol.Entities.ClMountable BrokeProtocol.Entities.ClVoxel BrokeProtocol.Entities.ClApartment BrokeProtocol.Entities.ClTerritory BrokeProtocol.Entities.ClDestroyable BrokeProtocol.Entities.ClItem BrokeProtocol.Entities.ClSmoothVoxel BrokeProtocol.Entities.ClDamage BrokeProtocol.Entities.ClPhysical BrokeProtocol.Entities.ClAttachment BrokeProtocol.Entities.ClEquipable BrokeProtocol.Entities.ClWearable BrokeProtocol.Entities.ClFire BrokeProtocol.Entities.ClMovable BrokeProtocol.Entities.ClThrown BrokeProtocol.Entities.ClMuzzle BrokeProtocol.Entities.ClSight BrokeProtocol.Entities.ClUnderbarrel BrokeProtocol.Entities.ClLight BrokeProtocol.Entities.ClShield BrokeProtocol.Entities.ClUsable

Public Member Functions

void DeserializeAnimator (byte[] stateArray)
 
void DeserializeParameters (byte[] stateArray)
 
override void RefreshActions ()
 
bool TypeActionTest (string type)
 
override void Initialize ()
 
virtual void Relocate (Vector3 position, Quaternion rotation, bool zeroVelocity)
 
void StartMapMarker (Color color)
 
void DestroyMapMarker ()
 
virtual void Destroy ()
 
virtual void ReadActivateData ()
 
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 ()
 

Public Attributes

SpriteRenderer mapMarkerSprite
 
ClManager clManager
 
bool isMain
 
VideoPlayer videoPlayer
 
RawImage videoImage
 
- Public Attributes inherited from BrokeProtocol.Client.Buttons.ClActionable
List< ActionInfoactions
 

Protected Member Functions

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

ShEntity entity
 
LabelID[] eventActions
 
bool videoReadyAndPlaying
 
RenderTexture renderTexture
 

Properties

bool InventoryTest [get]
 

Member Function Documentation

◆ AppsAction()

void BrokeProtocol.Entities.ClEntity.AppsAction ( )
protected

◆ AppsTest()

virtual bool BrokeProtocol.Entities.ClEntity.AppsTest ( )
protectedvirtual

Reimplemented in BrokeProtocol.Entities.ClItem.

◆ BuyEntityTest()

virtual bool BrokeProtocol.Entities.ClEntity.BuyEntityTest ( )
protectedvirtual

◆ ClDestroyEffect()

void BrokeProtocol.Entities.ClEntity.ClDestroyEffect ( int destroyEffectIndex)

◆ CollectAction()

void BrokeProtocol.Entities.ClEntity.CollectAction ( )
protected

◆ CollectTest()

virtual bool BrokeProtocol.Entities.ClEntity.CollectTest ( )
protectedvirtual

◆ CrackAction()

void BrokeProtocol.Entities.ClEntity.CrackAction ( )
protected

◆ CrackTest()

virtual bool BrokeProtocol.Entities.ClEntity.CrackTest ( )
protectedvirtual

◆ DeserializeAnimator()

void BrokeProtocol.Entities.ClEntity.DeserializeAnimator ( byte[] stateArray)
inline

◆ DeserializeParameters()

void BrokeProtocol.Entities.ClEntity.DeserializeParameters ( byte[] stateArray)
inline

◆ Destroy()

virtual void BrokeProtocol.Entities.ClEntity.Destroy ( )
inlinevirtual

◆ DestroyMapMarker()

void BrokeProtocol.Entities.ClEntity.DestroyMapMarker ( )
inline

◆ EventAction()

void BrokeProtocol.Entities.ClEntity.EventAction ( string eventName)
protected

◆ GetEntityValueAction()

void BrokeProtocol.Entities.ClEntity.GetEntityValueAction ( )
protected

◆ Initialize()

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

◆ ReadActivateData()

virtual void BrokeProtocol.Entities.ClEntity.ReadActivateData ( )
inlinevirtual

◆ ReadInitData()

virtual void BrokeProtocol.Entities.ClEntity.ReadInitData ( )
inlinevirtual

◆ RefreshActions()

override void BrokeProtocol.Entities.ClEntity.RefreshActions ( )
inlinevirtual

◆ Relocate()

virtual void BrokeProtocol.Entities.ClEntity.Relocate ( Vector3 position,
Quaternion rotation,
bool zeroVelocity )
virtual

◆ ShopAction()

void BrokeProtocol.Entities.ClEntity.ShopAction ( )
protected

◆ ShopTest()

virtual bool BrokeProtocol.Entities.ClEntity.ShopTest ( )
protectedvirtual

◆ StartMapMarker()

void BrokeProtocol.Entities.ClEntity.StartMapMarker ( Color color)
inline

◆ TypeActionTest()

bool BrokeProtocol.Entities.ClEntity.TypeActionTest ( string type)

◆ VideoPanelAction()

void BrokeProtocol.Entities.ClEntity.VideoPanelAction ( )
protected

◆ VideoPanelTest()

bool BrokeProtocol.Entities.ClEntity.VideoPanelTest ( )
protected

◆ VideoPlay()

void BrokeProtocol.Entities.ClEntity.VideoPlay ( string videoURL,
float startTime )
inline

◆ VideoPlayerReady()

void BrokeProtocol.Entities.ClEntity.VideoPlayerReady ( VideoPlayer source)
protected

◆ VideoStop()

void BrokeProtocol.Entities.ClEntity.VideoStop ( )
inline

◆ VideoSyncAction()

void BrokeProtocol.Entities.ClEntity.VideoSyncAction ( )
inlineprotected

◆ VideoSyncTest()

bool BrokeProtocol.Entities.ClEntity.VideoSyncTest ( )
protected

◆ ViewAction()

void BrokeProtocol.Entities.ClEntity.ViewAction ( )
protected

◆ ViewTest()

bool BrokeProtocol.Entities.ClEntity.ViewTest ( )
protected

Member Data Documentation

◆ clManager

ClManager BrokeProtocol.Entities.ClEntity.clManager

◆ entity

ShEntity BrokeProtocol.Entities.ClEntity.entity
protected

◆ eventActions

LabelID [] BrokeProtocol.Entities.ClEntity.eventActions
protected

◆ isMain

bool BrokeProtocol.Entities.ClEntity.isMain

◆ mapMarkerSprite

SpriteRenderer BrokeProtocol.Entities.ClEntity.mapMarkerSprite

◆ renderTexture

RenderTexture BrokeProtocol.Entities.ClEntity.renderTexture
protected

◆ videoImage

RawImage BrokeProtocol.Entities.ClEntity.videoImage

◆ videoPlayer

VideoPlayer BrokeProtocol.Entities.ClEntity.videoPlayer

◆ videoReadyAndPlaying

bool BrokeProtocol.Entities.ClEntity.videoReadyAndPlaying
protected

Property Documentation

◆ InventoryTest

bool BrokeProtocol.Entities.ClEntity.InventoryTest
getprotected

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