|
Broke Protocol Game API Reference
1.39
Code reference for server and client scripting
|
Classes | |
| struct | Bone |
Public Member Functions | |
| void | UpdateVoiceVolume () |
| GameObject | GetIdentity () |
| void | NameLoop (Text t) |
| void | MessageLoop (Text t) |
| void | IconLoop (SpriteRenderer r) |
| override void | RefreshActions () |
| void | Jump () |
| override void | ClMove () |
| void | BuyApartment (int apartmentID, int placeIndex) |
| void | SellApartment (int apartmentID) |
| void | Experience (int experience, bool showMessage) |
| void | Rank (int rank) |
| void | SetStance (StanceIndex stanceIndex) |
| void | SetJob (int jobIndex) |
| override void | Initialize () |
| override void | Destroy () |
| void | ResetBones () |
| IEnumerator | Footsteps () |
| override void | ReadActivateData () |
| IEnumerator | SendUpdatesToServer () |
| void | AssignToActor (SkinnedMeshRenderer wearableRenderer) |
| void | ChatVoice (int sourceID, byte[] data, ChatMode mode=ChatMode.Public) |
| void | Spectate (int targetID) |
| void | View (int entityID, byte[] inventoryArray) |
| void | Shopping (int entityID, byte[] inventoryArray) |
| void | ShowTradeInventory (int entityID) |
| void | ShowSearchedInventory () |
| void | SetEquipable (int equipableIndex) |
| void | LockButtons () |
| void | UnlockButtons (bool lockedTrade) |
| void | FinishTrade (bool isGood) |
| void | UpdateShopValue (int itemIndex, int newValue) |
| void | UpdateMountAmmo (int ammoCount) |
| void | Mount (int mountableID, byte enterSeat, int ammoCount=-1) |
| void | Dismount () |
| override void | UpdateHealth (float newHealth, bool activate) |
| IEnumerator | RaycastEntities () |
| override void | ReadInitData () |
| void | DisplayName (string displayName) |
| void | DeserializeHealth (byte[] healthArray) |
| void | DeserializeAttachments (byte[] attachmentArray) |
| void | DeserializeWearables (byte[] wearableArray) |
Public Member Functions inherited from BrokeProtocol.Entities.ClPhysical | |
| virtual void | SetControlledPhysics (bool setting) |
| override void | TurnOn () |
| override void | TurnOff () |
| 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 () |
| 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 | |
| JobInfoShared | job |
| SkinnedMeshRenderer | skinnedMeshRenderer |
| Transform | headBone |
| AudioSource | hurtSound |
| Voice | voice |
| RectTransform | textTransform |
| GameObject | identityObject |
| float | voiceVolume = 1f |
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 | |
| void | FollowerAction () |
| bool | InviteTest () |
| void | InviteAction () |
| bool | KickOutTest () |
| void | KickOutAction () |
| override bool | ShopTest () |
| bool | TradeTest () |
| void | TradeRequestAction () |
| bool | ActiveBossTest () |
| bool | GetJobTest () |
| bool | QuitJobTest () |
| void | GetJobAction () |
| void | QuitJobAction () |
| bool | FreeTest () |
| void | FreeAction () |
| void | ShowHealthAction () |
| bool | DisembarkTest () |
| void | DisembarkAction () |
| void | Update () |
| void | LateUpdate () |
| override void | SetVelocities () |
Protected Member Functions inherited from BrokeProtocol.Entities.ClPhysical | |
| void | LinearVelocity () |
| 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 () |
| 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 | |
| ShPlayer | player |
| Rigidbody[] | ragdollBodies |
| Collider[] | ragdollColliders |
| AudioSource | footstepSource |
| float | blendStartTime |
| Bone[] | bones |
| Coroutine | nameCoroutine |
| Coroutine | messageCoroutine |
| Coroutine | iconCoroutine |
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 |
Properties | |
| bool | SpecMain [get] |
| bool | FirstPerson [get] |
| bool | EquipmentAimed [get] |
Properties inherited from BrokeProtocol.Entities.ClMountable | |
| virtual bool | ClientController [get] |
Properties inherited from BrokeProtocol.Entities.ClEntity | |
| bool | InventoryTest [get] |
|
protected |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.ClPhysical.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.ClEntity.
|
protected |
|
protected |
|
inline |
| void BrokeProtocol.Entities.ClPlayer.DisplayName | ( | string | displayName | ) |
|
inline |
|
inline |
|
protected |
|
inline |
|
protected |
|
protected |
|
inline |
|
protected |
|
protected |
|
inline |
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.ClPhysical.
|
protected |
|
inlineprotected |
|
inline |
|
protected |
|
protected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.ClPhysical.
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.ClMovable.
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.ClMountable.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotectedvirtual |
Reimplemented from BrokeProtocol.Entities.ClPhysical.
|
inline |
|
protectedvirtual |
Reimplemented from BrokeProtocol.Entities.ClEntity.
|
protected |
| void BrokeProtocol.Entities.ClPlayer.ShowSearchedInventory | ( | ) |
|
inline |
|
inline |
|
protected |
|
protected |
|
inline |
|
inlineprotected |
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.ClDestroyable.
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
| Transform BrokeProtocol.Entities.ClPlayer.headBone |
| AudioSource BrokeProtocol.Entities.ClPlayer.hurtSound |
|
protected |
| GameObject BrokeProtocol.Entities.ClPlayer.identityObject |
| JobInfoShared BrokeProtocol.Entities.ClPlayer.job |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| SkinnedMeshRenderer BrokeProtocol.Entities.ClPlayer.skinnedMeshRenderer |
| RectTransform BrokeProtocol.Entities.ClPlayer.textTransform |
| Voice BrokeProtocol.Entities.ClPlayer.voice |
| float BrokeProtocol.Entities.ClPlayer.voiceVolume = 1f |
|
get |
|
get |
|
get |