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 | Properties | List of all members
BrokeProtocol.Entities.ClThrown Class Reference
Inheritance diagram for BrokeProtocol.Entities.ClThrown:
BrokeProtocol.Entities.ClPhysical BrokeProtocol.Entities.ClDestroyable BrokeProtocol.Entities.ClMountable BrokeProtocol.Entities.ClDamageable BrokeProtocol.Entities.ClEntity BrokeProtocol.Client.Buttons.ClActionable BrokeProtocol.Entities.ClBullet BrokeProtocol.Entities.ClEffect BrokeProtocol.Entities.ClExplosion BrokeProtocol.Entities.ClContact BrokeProtocol.Entities.ClMineAP BrokeProtocol.Entities.ClMineAT

Public Member Functions

override void Destroy ()
 
- Public Member Functions inherited from BrokeProtocol.Entities.ClPhysical
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 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

void OnEnable ()
 
- Protected Member Functions inherited from BrokeProtocol.Entities.ClPhysical
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

GameObject customDestroyEffect
 
float customDestroyEffectLifespan
 
DestroyEffect destroyEffect
 
ThrownEffect thrownEffect
 
Transform effectParent
 
- Protected Attributes inherited from BrokeProtocol.Entities.ClPhysical
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
 

Properties

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

Additional Inherited Members

- Public Attributes inherited from BrokeProtocol.Entities.ClPhysical
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
 

Member Function Documentation

◆ Destroy()

override void BrokeProtocol.Entities.ClThrown.Destroy ( )
inlinevirtual

Reimplemented from BrokeProtocol.Entities.ClEntity.

◆ OnEnable()

void BrokeProtocol.Entities.ClThrown.OnEnable ( )
inlineprotected

Member Data Documentation

◆ customDestroyEffect

GameObject BrokeProtocol.Entities.ClThrown.customDestroyEffect
protected

◆ customDestroyEffectLifespan

float BrokeProtocol.Entities.ClThrown.customDestroyEffectLifespan
protected

◆ destroyEffect

DestroyEffect BrokeProtocol.Entities.ClThrown.destroyEffect
protected

◆ effectParent

Transform BrokeProtocol.Entities.ClThrown.effectParent
protected

◆ thrownEffect

ThrownEffect BrokeProtocol.Entities.ClThrown.thrownEffect
protected

Property Documentation

◆ ShowEffect

virtual bool BrokeProtocol.Entities.ClThrown.ShowEffect
getprotected

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