Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
BrokeProtocol.Entities.ClDestroyable Class Reference
Inheritance diagram for BrokeProtocol.Entities.ClDestroyable:
BrokeProtocol.Entities.ClMountable BrokeProtocol.Entities.ClDamageable BrokeProtocol.Entities.ClEntity BrokeProtocol.Client.Buttons.ClActionable BrokeProtocol.Entities.ClDamage BrokeProtocol.Entities.ClPhysical BrokeProtocol.Entities.ClFire BrokeProtocol.Entities.ClMovable BrokeProtocol.Entities.ClThrown BrokeProtocol.Entities.ClPlayer BrokeProtocol.Entities.ClTransport BrokeProtocol.Entities.ClBullet BrokeProtocol.Entities.ClEffect BrokeProtocol.Entities.ClExplosion BrokeProtocol.Entities.ClAircraft BrokeProtocol.Entities.ClBoat BrokeProtocol.Entities.ClTrain BrokeProtocol.Entities.ClVehicle BrokeProtocol.Entities.ClContact BrokeProtocol.Entities.ClMineAP BrokeProtocol.Entities.ClMineAT BrokeProtocol.Entities.ClFixedWing BrokeProtocol.Entities.ClHelo BrokeProtocol.Entities.ClBike BrokeProtocol.Entities.ClEmergencyVehicle BrokeProtocol.Entities.ClTracked BrokeProtocol.Entities.ClAirplane BrokeProtocol.Entities.ClParachute

Public Member Functions

override void ReadActivateData ()
 
virtual void UpdateHealth (float newHealth, bool activate)
 
- Public Member Functions inherited from BrokeProtocol.Entities.ClMountable
override void RefreshActions ()
 
void PlayAlert ()
 
virtual void TurnOn ()
 
virtual void TurnOff ()
 
- Public Member Functions inherited from BrokeProtocol.Entities.ClEntity
void DeserializeAnimator (byte[] stateArray)
 
void DeserializeParameters (byte[] stateArray)
 
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 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 Attributes

ShDestroyable destroyable
 
- Protected Attributes inherited from BrokeProtocol.Entities.ClMountable
ShMountable mountable
 
AudioSource horn
 
- 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
 
- Protected Member Functions inherited from BrokeProtocol.Entities.ClMountable
bool MountTest ()
 
void MountAction ()
 
bool EmbarkTest ()
 
void EmbarkAction ()
 
- 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 ()
 
- Properties inherited from BrokeProtocol.Entities.ClMountable
virtual bool ClientController [get]
 
- Properties inherited from BrokeProtocol.Entities.ClEntity
bool InventoryTest [get]
 

Member Function Documentation

◆ ReadActivateData()

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

◆ UpdateHealth()

virtual void BrokeProtocol.Entities.ClDestroyable.UpdateHealth ( float newHealth,
bool activate )
inlinevirtual

Member Data Documentation

◆ destroyable

ShDestroyable BrokeProtocol.Entities.ClDestroyable.destroyable
protected

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