Broke Protocol Game API Reference
1.39
Code reference for server and client scripting
|
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< ActionInfo > | actions |
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] |
|
inlinevirtual |
Reimplemented in BrokeProtocol.Entities.ClPlayer, BrokeProtocol.Entities.ClAircraft, and BrokeProtocol.Entities.ClTransport.
void BrokeProtocol.Entities.ClPhysical.ForceLatestState | ( | ) |
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.ClEntity.
Reimplemented in BrokeProtocol.Entities.ClPlayer, and BrokeProtocol.Entities.ClTransport.
|
inlineprotected |
|
inlineprotected |
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.ClDestroyable.
Reimplemented in BrokeProtocol.Entities.ClPlayer, and BrokeProtocol.Entities.ClTransport.
|
inlineprotected |
|
inlinevirtual |
Reimplemented in BrokeProtocol.Entities.ClTransport.
|
inlineprotectedvirtual |
Reimplemented in BrokeProtocol.Entities.ClPlayer.
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.ClMountable.
Reimplemented in BrokeProtocol.Entities.ClTransport.
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.ClMountable.
Reimplemented in BrokeProtocol.Entities.ClTransport.
|
inline |
|
protected |
|
protected |
|
protected |