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 | List of all members
BrokeProtocol.Entities.ClPhysical Class Reference
Inheritance diagram for BrokeProtocol.Entities.ClPhysical:
BrokeProtocol.Entities.ClDestroyable BrokeProtocol.Entities.ClMountable BrokeProtocol.Entities.ClDamageable BrokeProtocol.Entities.ClEntity BrokeProtocol.Client.Buttons.ClActionable 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

virtual void SetControlledPhysics (bool setting)
 
override void Initialize ()
 
virtual void ClMove ()
 
override void TurnOn ()
 
override void TurnOff ()
 
void UpdateLatestState (Vector3 position, Quaternion rotation)
 
override void ReadActivateData ()
 
void ForceLatestState ()
 
- Public Member Functions inherited from BrokeProtocol.Entities.ClDestroyable
virtual void UpdateHealth (float newHealth, bool activate)
 
- Public Member Functions inherited from BrokeProtocol.Entities.ClMountable
override void RefreshActions ()
 
void PlayAlert ()
 
- 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 ()
 

Public Attributes

NetState latestState = new NetState()
 
NetState previousState = new NetState()
 
- 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

void LinearVelocity ()
 
virtual void SetVelocities ()
 
IEnumerator Resetter ()
 
void OnCollisionEnter (Collision collision)
 
- 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 ()
 

Protected Attributes

ShPhysical physical
 
AudioClip[] collisionClips = null
 
AudioSource collisionSource = null
 
- Protected Attributes inherited from BrokeProtocol.Entities.ClDestroyable
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

- Properties inherited from BrokeProtocol.Entities.ClMountable
virtual bool ClientController [get]
 
- Properties inherited from BrokeProtocol.Entities.ClEntity
bool InventoryTest [get]
 

Member Function Documentation

◆ ClMove()

virtual void BrokeProtocol.Entities.ClPhysical.ClMove ( )
inlinevirtual

◆ ForceLatestState()

void BrokeProtocol.Entities.ClPhysical.ForceLatestState ( )

◆ Initialize()

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

◆ LinearVelocity()

void BrokeProtocol.Entities.ClPhysical.LinearVelocity ( )
inlineprotected

◆ OnCollisionEnter()

void BrokeProtocol.Entities.ClPhysical.OnCollisionEnter ( Collision collision)
inlineprotected

◆ ReadActivateData()

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

◆ Resetter()

IEnumerator BrokeProtocol.Entities.ClPhysical.Resetter ( )
inlineprotected

◆ SetControlledPhysics()

virtual void BrokeProtocol.Entities.ClPhysical.SetControlledPhysics ( bool setting)
inlinevirtual

◆ SetVelocities()

virtual void BrokeProtocol.Entities.ClPhysical.SetVelocities ( )
inlineprotectedvirtual

◆ TurnOff()

override void BrokeProtocol.Entities.ClPhysical.TurnOff ( )
inlinevirtual

◆ TurnOn()

override void BrokeProtocol.Entities.ClPhysical.TurnOn ( )
inlinevirtual

◆ UpdateLatestState()

void BrokeProtocol.Entities.ClPhysical.UpdateLatestState ( Vector3 position,
Quaternion rotation )
inline

Member Data Documentation

◆ collisionClips

AudioClip [] BrokeProtocol.Entities.ClPhysical.collisionClips = null
protected

◆ collisionSource

AudioSource BrokeProtocol.Entities.ClPhysical.collisionSource = null
protected

◆ latestState

NetState BrokeProtocol.Entities.ClPhysical.latestState = new NetState()

◆ physical

ShPhysical BrokeProtocol.Entities.ClPhysical.physical
protected

◆ previousState

NetState BrokeProtocol.Entities.ClPhysical.previousState = new NetState()

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