Broke Protocol Game API Reference
1.39
Code reference for server and client scripting
|
Public Member Functions | |
override void | ClMove () |
Public Member Functions inherited from BrokeProtocol.Entities.ClTransport | |
override void | RefreshActions () |
void | ClTransportState (byte state) |
override void | UpdateHealth (float newHealth, bool activate) |
override void | ReadActivateData () |
override void | Initialize () |
override void | TurnOn () |
override void | TurnOff () |
override void | SetControlledPhysics (bool setting) |
override void | ClMove () |
Public Member Functions inherited from BrokeProtocol.Entities.ClMovable | |
override void | ReadInitData () |
Public Member Functions inherited from BrokeProtocol.Entities.ClPhysical | |
void | UpdateLatestState (Vector3 position, Quaternion rotation) |
void | ForceLatestState () |
Public Member Functions inherited from BrokeProtocol.Entities.ClMountable | |
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 () |
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 | |
Rotor[] | rotors |
Protected Attributes inherited from BrokeProtocol.Entities.ClTransport | |
ShTransport | transport |
int | gears = 1 |
float | gearRatio = 2f |
float | currentRPM |
AudioSource | skidSound |
float | soundThreshold |
float | smokeThreshold |
Protected Attributes inherited from BrokeProtocol.Entities.ClMovable | |
ShMovable | movable |
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 |
Additional Inherited Members | |
Public Attributes inherited from BrokeProtocol.Entities.ClTransport | |
Transform | engineTransform |
GameObject | lightsObject |
GameObject | policeLightsObject |
AudioSource | engineSound |
LineRenderer | towLine |
GameObject | towHide |
ParticleSystem | smokeSystem |
ParticleSystem | fireSystem |
Transform[] | wheelsModels |
Transform[] | skidTransforms |
TrailRenderer[] | skidTrails |
ParticleSystem[] | skidParticles |
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< ActionInfo > | actions |
Protected Member Functions inherited from BrokeProtocol.Entities.ClTransport | |
override bool | BuyEntityTest () |
void | BuyEntityAction () |
bool | LockTest () |
void | LockAction () |
bool | UnlockTest () |
void | UnlockAction () |
bool | LockpickTest () |
void | LockpickAction () |
bool | RepairTest () |
void | RepairAction () |
bool | ParkTest () |
void | ParkAction () |
bool | DrivingTest () |
bool | StartTowingTest () |
void | StartTowingAction () |
bool | StopTowingTest () |
void | StopTowingAction () |
bool | SirenOnTest () |
void | SirenOnAction () |
bool | SirenOffTest () |
void | SirenOffAction () |
void | OnDisable () |
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 () |
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] |
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.ClPhysical.
|
protected |