Broke Protocol Game API Reference
1.39
Code reference for server and client scripting
|
Classes | |
struct | ApartmentInfo |
Public Member Functions | |
void | QueuePacket () |
void | InitializeHuman (ConnectData connectData) |
override void | ResetOriginal () |
bool | IsFollower (ShPlayer target) |
void | SendGameMessage (string message) |
void | StartGoalMarker (ShEntity goalEntity) |
void | DestroyGoalMarker () |
void | StartSelfMarker (IDCollection< ShPlayer > subscribedPlayers) |
void | DestroySelfMarker () |
void | UpdateStatsDelta (float d0, float d1, float d2) |
void | Initialized () |
void | StartLockOn (ShMountable e) |
void | SendServerInfo () |
void | RemoveItemsDeath (bool dropItems) |
void | DisplayName (string username) |
void | SvUpdateDisplayName (string displayName) |
void | ApplyWearableIndices (WearableOptions[] wearableOptions) |
override void | Initialize () |
override void | Destroy () |
void | SvLockOn (ShEntity target) |
void | ClearSpectators () |
override void | WriteActivateData () |
bool | SvTrySetEquipable (int equipableIndex, bool stopQuickswitch=false) |
void | SvForceEquipable (int equipableIndex) |
void | SvSetEquipable (ShEquipable equipable) |
void | CheckServerEquipment (int itemIndex) |
void | SvBindAttachment (int attachmentIndex, byte slot) |
void | SvUnbindAttachment (int attachmentIndex, byte slot) |
void | SvSetAttachment (int attachmentIndex) |
void | SvSetWearable (int wearableIndex) |
void | SvUseBind (byte bindIndex) |
void | SvDeploy () |
void | SvServiceCall (int entityID, int jobIndex) |
override void | Restock (float fraction=1f) |
void | SvTransferView (byte deltaType, int itemIndex, int amount) |
void | AddSetWearable (int wearableIndex) |
void | CollectItem (ShItem collectedItem, int count) |
void | SvCollect (int collectedID, bool consume) |
void | SvStopInventory (bool sendToSelf) |
void | SvMinigameStop (bool sendToSelf) |
void | SvFinalizeTrade () |
void | SvConfirmTrade () |
void | SvCheckHit (int hitID, byte burst, byte fireIndex, bool ballistic) |
override void | SetNetState (NetState s) |
IEnumerator | KnockedDown () |
void | StartRecover () |
IEnumerator | Recover () |
void | SvAddInjury (BodyPart part, BodyEffect effect, byte amount) |
void | SvReload () |
void | SvAltFire () |
void | SvUpdatePlayer (Vector3 position, Quaternion rotation) |
void | SvUpdatePlayerWater (Vector3 position, Quaternion rotation) |
void | SvUpdatePlayerOffset (int groundID, Vector3 position, Quaternion rotation) |
void | SvUpdateMount (Vector3 position, Quaternion rotation) |
void | SvUpdateMountWater (Vector3 position, Quaternion rotation) |
void | SvUpdateMountOffset (int groundID, Vector3 position, Quaternion rotation) |
void | SvJump () |
void | SvCrouch (bool crouch) |
void | SvForceStance (StanceIndex stance) |
void | SvUpdateInput (Vector3 input, byte mode) |
void | SvUpdateMode (byte newMode) |
void | SvPoint (bool pointing) |
void | SvAlert () |
void | SvDropItem (int itemIndex) |
bool | DropEntity (ShEntity e) |
bool | SvTryMount (int mountableID, bool checkRestrained) |
void | SvMount (ShMountable mount, byte seat) |
bool | SvTryDismount () |
void | SvDismount (bool resetAI=false) |
override void | SvRelocate (Vector3 position, Quaternion rotation, Transform parent=null) |
void | SvMoveSeat (int delta) |
void | SvToggleWeapon () |
void | SetMountWeapon (int index) |
void | SvTransportState (int transportID, bool locked) |
bool | CanUseApp (int entityID, AppIndex appIndex) |
void | SvApps (int entityID) |
void | SvAppContacts (int entityID) |
void | SvAppBlocked (int entityID) |
void | SvAppCalls (int entityID) |
void | SvAppInbox (int entityID) |
void | SvAppServices (int entityID) |
void | SvAppDeposit (int entityID) |
void | SvAppWithdraw (int entityID) |
void | SvAppRadio (int entityID) |
void | SvMessage (int entityID, string playerName) |
void | SvAddContact (int entityID, string nameOrID) |
void | SvAddBlocked (int entityID, string nameOrID) |
void | SvRemoveContact (int entityID, string playerName) |
void | SvRemoveBlocked (int entityID, string playerName) |
void | SvAddMessage (int entityID, string otherUsername, string message) |
void | SvReadMessage (int entityID, string playerName) |
void | SvReadAll (int entityID) |
void | SvCall (int entityID, string playerName) |
void | SvCallAccept () |
void | SvCallReject () |
void | CleanupCall (ShPlayer otherPlayer) |
void | SvDeposit (int entityID, int amount) |
void | SvWithdraw (int entityID, int amount) |
void | AppendCall (ShPlayer other, bool success) |
void | AppendTransaction (int amount) |
void | SvChatChannel (int entityID, string chatChannel) |
void | SvChatGlobal (string message) |
void | SvChatLocal (string message) |
void | SvChatVoice (byte[] voiceData) |
void | SvSetChatMode (ChatMode chatMode) |
void | SvSetChatChannel (ushort channel) |
void | SvOptionAction () |
void | SvTextPanelButton () |
void | SvSubmitInput () |
void | SvEnterDoor (int doorID, ShPlayer sender, bool forceEnter) |
void | SvOpenURL (string url, string title="Open URL Confirmation") |
void | SvBuyTransport (int transportID) |
void | TryBuyApartment (int apartmentID) |
void | TrySellApartment (int apartmentID) |
void | SvBuyFurniture (int itemIndex) |
void | SvSellFurniture (int furnitureID) |
void | SvGetEntityValue (int entityID) |
void | SvShowHealth (int playerID) |
void | SvView (int otherID, bool force=false) |
void | SvShop (int shopID) |
override void | Shop (ShPlayer customer) |
ShEntity | SpawnBriefcase () |
void | SvDrop () |
void | SvTradeRequest (int otherID) |
void | Reward (int experienceDelta, int moneyDelta) |
void | SetExperience (int experience, bool showMessage) |
void | SetRank (int rank) |
bool | AddJobItems (JobInfo newJob, int rank, bool collectCost) |
void | SvTrySetJob (int jobIndex, bool addItems, bool collectCost) |
void | SvSetJob (JobInfo newJob, bool addItems, bool collectCost) |
void | SvGetJob (int employerID) |
void | SvResetJob () |
void | SvQuitJob (int employerID) |
void | Restrain (ShPlayer initiator, ShRestrained restrained) |
void | Unrestrain (ShPlayer initiator) |
void | SvFree (int restrainedID) |
void | SvTriggerEvent (string eventName, string jsonString) |
void | SvEntityAction (int targetID, string eventName) |
void | SvInventoryAction (int itemIndex, string eventName) |
void | SvSelfAction (string eventName) |
void | SvAddSelfAction (string eventName, string label) |
void | SvRemoveSelfAction (string eventName) |
void | SvAddTypeAction (string eventName, string type, string label) |
void | SvRemoveTypeAction (string eventName) |
void | SvAddInventoryAction (string eventName, string type, ButtonType buttonType, string label) |
void | SvRemoveInventoryAction (string eventName) |
void | SvEmbark (int mountID) |
void | SvDisembark (int passengerID) |
void | SvSpectate (ShPlayer target) |
void | SvClearInjuries () |
override void | Deactivate (bool removeSectors) |
void | SvInvite (int otherID) |
void | SvKickOut (int otherID) |
Place | BuyApartment (ShApartment apartment) |
void | SellApartment (Place apartmentPlace) |
void | SvHelp () |
void | SvPing () |
void | SvPingAll () |
void | SvSecurityPanel (int apartmentID) |
void | SvVideoPanel (int entityID) |
void | CursorVisibility (bool setting) |
void | VisualTreeAssetClone (string visualTreeAssetName, string parentVisualElementName="") |
void | VisualElementRemove (string element) |
void | VisualElementOpacity (string element, float setting) |
void | VisualElementDisplay (string element, bool setting) |
void | VisualElementVisibility (string element, bool setting) |
void | VisualElementOverflow (string element, bool setting) |
void | AddButtonClickedEvent (string element, string eventName) |
void | GetTextFieldText (string element, string eventName) |
void | SetTextElementText (string element, string text) |
void | GetSliderValue (string element, string eventName) |
void | SetSliderValue (string element, float value) |
void | SetProgressBarValue (string element, float value) |
void | GetToggleValue (string element, string eventName) |
void | SetToggleValue (string element, bool value) |
void | GetRadioButtonGroupValue (string element, string eventName) |
void | SetRadioButtonGroupValue (string element, int value) |
void | SetRadioButtonGroupChoices (string element, List< string > choices) |
void | GetDropdownFieldValue (string element, string eventName) |
void | SetDropdownFieldValue (string element, int value) |
void | SetDropdownFieldChoices (string element, List< string > choices) |
void | SendTextMenu (string title, string text, string id="", float xMin=0.25f, float yMin=0.1f, float xMax=0.75f, float yMax=0.9f) |
void | SendOptionMenu (string title, int targetID, string id, LabelID[] options, LabelID[] actions, float xMin=0.25f, float yMin=0.1f, float xMax=0.75f, float yMax=0.9f) |
void | SendInputMenu (string title, int targetID, string id, InputField.ContentType contentType=InputField.ContentType.Alphanumeric, int characterLimit=16, float xMin=0.25f, float yMin=0.35f, float xMax=0.75f, float yMax=0.65f) |
void | SendTextPanel (string text, string id="", LabelID[] options=default, int initialOptionIndex=default) |
void | SendTimer (float timeout, Vector2 anchor, string id="", int fontSize=Util.defaultTextSize, TextAnchor alignment=TextAnchor.MiddleCenter) |
void | SendText (string text, float timeout, Vector2 anchor, string id="", int fontSize=Util.defaultTextSize, TextAnchor alignment=TextAnchor.MiddleCenter) |
void | DestroyMenu (string id=Util.defaultID) |
void | DestroyTextPanel (string id="") |
void | DestroyText (string id="") |
void | StartHackingMenu (string title, int targetID, string id, string optionID, float difficulty) |
void | StartCrackingMenu (string title, int targetID, string id, string optionID, float difficulty) |
void | SvSaveAll () |
void | SvFire (Quaternion rotation, int mountableIndex) |
void | SvTimeScale (float timeScale) |
void | SvStartVote (int voteIndex, int ID) |
void | SvVoteYes () |
void | SvVoteNo () |
void | SvProgressAction (int entityID, int progressIndex) |
void | SvProcessAction (int entityID, int processIndex) |
void | SvProgressBar (float normalizedTime, float normalizedSpeed, string id="") |
void | SvProgressStop (string id="") |
void | SvSetSiren (bool setting) |
void | SvLaunch () |
bool | HasPermission (string permission) |
bool | HasPermissionBP (PermEnum p) |
byte | HasPermissionByte (PermEnum p) |
void | SvKick (ShPlayer other, string reason) |
void | SvBan (ShPlayer other, string reason) |
void | SvPlayerRecords () |
void | SvBanRecords () |
void | SendServerTime () |
void | SvBanAccount (string accountID, string reason) |
void | SvDeleteAccount (string accountID) |
void | SvBanDatabase (string accountID, string reason) |
void | SvUnbanIP (string IP) |
void | SvRestrain (ShPlayer other) |
override void | SvRestore (Vector3 position, Quaternion rotation, int placeIndex) |
void | SvTeleport (ShPlayer other) |
void | SvSummon (ShPlayer other) |
void | SvRemoveJob (ShPlayer other) |
void | SvHeal (ShPlayer other) |
void | SvSpectateCommand (ShPlayer other) |
void | SvStopServer () |
void | SvGodMode () |
void | SvMaxSpeed (float maxSpeed) |
void | SvTimeLeft () |
void | SvDisarm (ShExplosion explosion) |
override void | WriteInitData (ref object[] initializeArgs, bool isPlayer) |
void | Save () |
void | RecordPlayer () |
override void | InitializeSectors () |
override void | Respawn () |
void | ApplyPlayerData () |
void | LoadPersistentData (Persistent persistent) |
bool | HealFromConsumable (ShConsumable consumable) |
void | UpdateStatsAndRemoveConsumable (ShConsumable consumable) |
bool | SvConsume (ShConsumable consumable, ShPlayer healer=null) |
bool | AimSmart () |
void | LookAt (Vector3 direction) |
void | LookAt (Quaternion direction) |
void | FireLogic () |
void | ResetAI () |
bool | SetState (int index) |
IEnumerator | RunState () |
void | ClearLeader () |
void | SvFollower (int otherID) |
void | SpawnBot (Vector3 position, Quaternion rotation, Place place, Waypoint waypoint, ShPlayer spawner, ShPlayer enemy) |
void | UpdateNextWaypoint () |
void | UpdateNextNode () |
override void | MoveTo (Vector3 next) |
GraphNode | NodeNear (Vector3 destination) |
override bool | IsValidTarget (ShPlayer chaser) |
void | GetPathAvoidance (Vector3 destination) |
void | GetPath (Vector3 destination, Transform penaltyT=default, Vector3 penaltyS=default) |
bool | PathingLimit () |
void | LogPathing (Path newPath) |
Waypoint | GetClosestWaypoint () |
bool | SelectNextWaypoint () |
bool | SelectNextNode () |
void | GetPathToWaypoints () |
bool | GetOverwatchNear (Vector3 target, out Vector3 position) |
bool | GetOverwatchBest (Vector3 target, out Vector3 position) |
bool | GetOverwatchSafe (Vector3 target, Bounds area, out Vector3 position) |
bool | GetOverwatchDirection (GraphNode node, out Vector3 delta) |
void | LookTactical (Vector3 fallback=default) |
bool | MoveLookNavPath () |
void | SetCurrentNode (GraphNode node) |
void | MoveLookWaypointPath () |
void | MoveLookNodePath () |
void | SetBestEquipable () |
void | SetBestMountWeapon () |
void | SetBestWeapons () |
Public Member Functions inherited from BrokeProtocol.Entities.SvMovable | |
NavGraph | GetGraph () |
void | SetMaxSpeed (float maxSpeed) |
Public Member Functions inherited from BrokeProtocol.Entities.SvPhysical | |
void | PushNetState (bool hard) |
bool | PreviousNetState (float rollbackTime, out NetState netState) |
void | Trigger (Serialized trigger, string eventName, bool enter) |
override bool | CheckUpdatable () |
void | SvForce (Vector3 force) |
void | SvRelocateSelf () |
void | SvTryUpdateSmooth (Vector3 position, Quaternion rotation) |
Public Member Functions inherited from BrokeProtocol.Entities.SvDestroyable | |
bool | Heal (float amount, ShPlayer healer=null) |
void | UpdateHealth (Vector3 source=default) |
bool | HealFull (ShPlayer healer=null) |
void | DestroySelf () |
Public Member Functions inherited from BrokeProtocol.Entities.SvMountable | |
override void | SvSetParent (Transform parent) |
void | DismountAll () |
bool | CanLockOnTarget (ShEntity target, ShThrown thrown, out float angle) |
Public Member Functions inherited from BrokeProtocol.Entities.SvDamageable | |
void | Damage (DamageIndex damageIndex, float amount, ShPlayer attacker=null, Collider collider=null, Vector3 hitPoint=default, Vector3 hitNormal=default) |
Public Member Functions inherited from BrokeProtocol.Entities.SvEntity | |
T | GetEvents< T > () |
void | InitializeSender () |
void | UpdateDefaultItems () |
void | SvAnimatorEnabled (bool enabled) |
void | SvAnimatorFloat (string parameterName, float value) |
void | SvAnimatorInt (string parameterName, int value) |
void | SvAnimatorBool (string parameterName, bool value) |
void | SvAnimatorTrigger (string parameterName) |
void | SvStopVideo () |
void | SvStartDefaultVideo (int index) |
void | SvStartCustomVideo (string url) |
bool | BuyEntity (ShPlayer buyer) |
void | SvRelocate (Transform t, Transform parent=null) |
SizedArray | SerializeAnimator () |
SizedArray | SerializeParameters () |
void | SendActivateToOther (ShPlayer other) |
void | SendDeactivateToOther (ShPlayer other) |
IEnumerator | SyncAnimator () |
void | AddItemOptions (ItemOption[] options) |
Sector | GetEntitySector () |
bool | AddSubscribedPlayer (ShPlayer player, bool sendInitData=true) |
void | RemoveSubscribedPlayer (ShPlayer player, bool dispatch) |
void | SameSector () |
void | NewSector (Sector newSector) |
virtual void | SvDestroyEffect () |
void | SpawnOriginal () |
void | SpawnFire () |
HashSet< T > | GetLocalInRange< T > (float range) |
void | ExplosionDamage (float range, float damage, ShPlayer attacker) |
void | SvAddDynamicAction (string eventName, string label) |
void | SvRemoveDynamicAction (string eventName) |
void | SvSetScale (Vector3 scale) |
bool | LocalEntitiesOne (Func< ShEntity, bool > Test, Func< ShEntity, bool > Action) |
void | LocalEntitiesAll (Func< ShEntity, bool > Test, Action< ShEntity > Action) |
void | Send (SvSendType sendType, PacketFlags channel, ClPacket packet, params object[] args) |
void | Send (SvSendType sendType, PacketFlags channel) |
Static Public Attributes | |
static new readonly PlayerEvents | events = new() |
const float | aiDelta = 0.1f |
Static Public Attributes inherited from BrokeProtocol.Entities.SvMovable | |
static new readonly MovableEvents | events = new() |
Static Public Attributes inherited from BrokeProtocol.Entities.SvPhysical | |
static new readonly PhysicalEvents | events = new() |
Static Public Attributes inherited from BrokeProtocol.Entities.SvDestroyable | |
static new readonly DestroyableEvents | events = new() |
Static Public Attributes inherited from BrokeProtocol.Entities.SvMountable | |
static new readonly MountableEvents | events = new() |
Static Public Attributes inherited from BrokeProtocol.Entities.SvDamageable | |
static new readonly DamageableEvents | events = new() |
Static Public Attributes inherited from BrokeProtocol.Entities.SvEntity | |
static readonly EntityEvents | events = new() |
Protected Member Functions | |
IEnumerator | HandleGoalMarker () |
IEnumerator | HandleSelfMarker () |
void | Awake () |
IEnumerator | SendEntityData () |
IEnumerator | LockOn (ShMountable source) |
void | FinishTradeComplete (bool isGood, ShPlayer otherPlayer) |
void | FinishTradeServer (bool isGood) |
void | PerformHit (ShHitscan currentHitscan) |
bool | RepairTest (int transportID) |
void | RepairAction (int transportID) |
void | SvSetStance (StanceIndex newStance) |
bool | LockpickTest (int transportID) |
void | LockpickAction (int transportID) |
string | GetLatestPlayerProfileURL (string playerName) |
bool | SvAddToSet (string nameOrID, HashSet< string > set) |
int | RecordMessage (string playerName, string profileURL, string message, bool self, ref Dictionary< string, AppMessages > messages, ref List< string > messengers) |
void | ReadMessages (AppMessages messages) |
IEnumerator | StartCall (int entityID, ShPlayer otherPlayer, ShPhone phone) |
void | MissedCallMessage (ShPlayer other) |
void | SetTradePartner (ShPlayer otherPlayer) |
void | InitializeJob (JobInfo info, int rank) |
bool | BombTest (int vaultID) |
void | BombAction (int vaultID) |
IEnumerator | ProgressLoop (ShEntity e, ProgressAction progress) |
byte[] | SerializeAttachments () |
byte[] | SerializeWearables () |
byte[] | SerializeHealth () |
IEnumerator | InitializeSectorsDelay () |
override void | SendToSelf (PacketFlags channel) |
override void | SendToLocal (PacketFlags channel) |
bool | TryAltPath () |
void | PathComplete (Path newPath) |
Protected Member Functions inherited from BrokeProtocol.Entities.SvMovable | |
virtual void | OnCollisionEnter (Collision collision) |
Protected Member Functions inherited from BrokeProtocol.Entities.SvPhysical | |
virtual void | Update () |
Protected Member Functions inherited from BrokeProtocol.Entities.SvEntity | |
void | RemoveSectors (bool sendDeactivate) |
void | TryAddHuman (Sector s) |
void | TryRemoveHuman (Sector s) |
void | SendToPlayer (ShPlayer toPlayer, PacketFlags channel) |
void | SendToLocalOthers (PacketFlags channel) |
void | SendToAll (PacketFlags channel) |
void | SendToAllOthers (PacketFlags channel) |
Protected Attributes | |
readonly List< ProgressAction > | progressHandler = new() |
ProgressAction | currentProgress |
ShPlayer | tradePlayer |
byte[] | attachmentArray |
byte[] | wearableArray |
Vector3 | aim |
int | aimFrame |
int | jumpFrame |
Protected Attributes inherited from BrokeProtocol.Entities.SvMovable | |
float | originalMaxSpeed |
Protected Attributes inherited from BrokeProtocol.Entities.SvPhysical | |
Queue< NetState > | netStates = new() |
float | nextUpdateTime |
Protected Attributes inherited from BrokeProtocol.Entities.SvEntity | |
readonly Dictionary< SvSendType, Action< PacketFlags > > | sender = new () |
byte[] | animatorArray |
byte[] | parameterArray |
Static Protected Attributes | |
const float | orientSpeed = 180f * aiDelta |
Properties | |
override EntityEvents | Events [get] |
User | PlayerData [get, set] |
override float | RespawnTime [get] |
override float | DamageScalar [get] |
override float | SpawnRate [get] |
IEnumerable< Group > | Groups [get] |
Group | PrimaryGroup [get] |
bool | ServerPlacement [get] |
bool | IsValidBoss [get] |
Vector3 | PredictedTarget [get] |
NodeLink2 | NodeLink [get] |
bool | BadPath [get] |
bool | IncompletePath [get] |
Properties inherited from BrokeProtocol.Entities.SvMovable | |
override EntityEvents | Events [get] |
virtual float | DamageScalar [get] |
override float | RespawnTime [get] |
virtual float | NavRangeSqr [get] |
List< Waypoint > | WaypointList [get] |
Properties inherited from BrokeProtocol.Entities.SvPhysical | |
override EntityEvents | Events [get] |
Properties inherited from BrokeProtocol.Entities.SvDestroyable | |
override EntityEvents | Events [get] |
Properties inherited from BrokeProtocol.Entities.SvMountable | |
override EntityEvents | Events [get] |
Properties inherited from BrokeProtocol.Entities.SvDamageable | |
override EntityEvents | Events [get] |
Properties inherited from BrokeProtocol.Entities.SvEntity | |
virtual EntityEvents | Events [get] |
virtual WaypointType | WaypointProperty [get] |
CustomData | CustomData = new () [get, set] |
virtual float | RespawnTime [get] |
virtual float | SpawnRate [get] |
bool | OnOrigin [get] |
ShDoor | GetDoor [get] |
Vector3 | ExteriorPosition [get] |
void BrokeProtocol.Entities.SvPlayer.AddButtonClickedEvent | ( | string | element, |
string | eventName ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.CursorVisibility | ( | bool | setting | ) |
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.SvEntity.
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.SvPhysical.
|
inline |
void BrokeProtocol.Entities.SvPlayer.DestroyMenu | ( | string | id = Util.defaultID | ) |
|
inline |
void BrokeProtocol.Entities.SvPlayer.DestroyText | ( | string | id = "" | ) |
void BrokeProtocol.Entities.SvPlayer.DestroyTextPanel | ( | string | id = "" | ) |
void BrokeProtocol.Entities.SvPlayer.DisplayName | ( | string | username | ) |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.GetDropdownFieldValue | ( | string | element, |
string | eventName ) |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.GetRadioButtonGroupValue | ( | string | element, |
string | eventName ) |
void BrokeProtocol.Entities.SvPlayer.GetSliderValue | ( | string | element, |
string | eventName ) |
void BrokeProtocol.Entities.SvPlayer.GetTextFieldText | ( | string | element, |
string | eventName ) |
void BrokeProtocol.Entities.SvPlayer.GetToggleValue | ( | string | element, |
string | eventName ) |
|
inlineprotected |
|
inlineprotected |
|
inline |
bool BrokeProtocol.Entities.SvPlayer.HasPermissionBP | ( | PermEnum | p | ) |
byte BrokeProtocol.Entities.SvPlayer.HasPermissionByte | ( | PermEnum | p | ) |
|
inline |
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.SvMovable.
|
inline |
|
inline |
|
inlineprotected |
|
virtual |
Reimplemented from BrokeProtocol.Entities.SvEntity.
|
inlineprotected |
bool BrokeProtocol.Entities.SvPlayer.IsFollower | ( | ShPlayer | target | ) |
|
virtual |
Reimplemented from BrokeProtocol.Entities.SvEntity.
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.LookAt | ( | Vector3 | direction | ) |
|
inline |
|
protected |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.SvMountable.
GraphNode BrokeProtocol.Entities.SvPlayer.NodeNear | ( | Vector3 | destination | ) |
|
inlineprotected |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.RemoveItemsDeath | ( | bool | dropItems | ) |
|
inlineprotected |
|
inlineprotected |
void BrokeProtocol.Entities.SvPlayer.ResetAI | ( | ) |
|
virtual |
Reimplemented from BrokeProtocol.Entities.SvEntity.
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.SvMovable.
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.SvEntity.
void BrokeProtocol.Entities.SvPlayer.Restrain | ( | ShPlayer | initiator, |
ShRestrained | restrained ) |
void BrokeProtocol.Entities.SvPlayer.Reward | ( | int | experienceDelta, |
int | moneyDelta ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SendInputMenu | ( | string | title, |
int | targetID, | ||
string | id, | ||
InputField.ContentType | contentType = InputField.ContentType.Alphanumeric, | ||
int | characterLimit = 16, | ||
float | xMin = 0.25f, | ||
float | yMin = 0.35f, | ||
float | xMax = 0.75f, | ||
float | yMax = 0.65f ) |
void BrokeProtocol.Entities.SvPlayer.SendOptionMenu | ( | string | title, |
int | targetID, | ||
string | id, | ||
LabelID[] | options, | ||
LabelID[] | actions, | ||
float | xMin = 0.25f, | ||
float | yMin = 0.1f, | ||
float | xMax = 0.75f, | ||
float | yMax = 0.9f ) |
void BrokeProtocol.Entities.SvPlayer.SendServerInfo | ( | ) |
void BrokeProtocol.Entities.SvPlayer.SendServerTime | ( | ) |
void BrokeProtocol.Entities.SvPlayer.SendText | ( | string | text, |
float | timeout, | ||
Vector2 | anchor, | ||
string | id = "", | ||
int | fontSize = Util.defaultTextSize, | ||
TextAnchor | alignment = TextAnchor.MiddleCenter ) |
void BrokeProtocol.Entities.SvPlayer.SendTextMenu | ( | string | title, |
string | text, | ||
string | id = "", | ||
float | xMin = 0.25f, | ||
float | yMin = 0.1f, | ||
float | xMax = 0.75f, | ||
float | yMax = 0.9f ) |
void BrokeProtocol.Entities.SvPlayer.SendTextPanel | ( | string | text, |
string | id = "", | ||
LabelID[] | options = default, | ||
int | initialOptionIndex = default ) |
void BrokeProtocol.Entities.SvPlayer.SendTimer | ( | float | timeout, |
Vector2 | anchor, | ||
string | id = "", | ||
int | fontSize = Util.defaultTextSize, | ||
TextAnchor | alignment = TextAnchor.MiddleCenter ) |
|
inlineprotectedvirtual |
Reimplemented from BrokeProtocol.Entities.SvEntity.
|
protectedvirtual |
Reimplemented from BrokeProtocol.Entities.SvEntity.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SetDropdownFieldChoices | ( | string | element, |
List< string > | choices ) |
void BrokeProtocol.Entities.SvPlayer.SetDropdownFieldValue | ( | string | element, |
int | value ) |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.SvPhysical.
void BrokeProtocol.Entities.SvPlayer.SetProgressBarValue | ( | string | element, |
float | value ) |
void BrokeProtocol.Entities.SvPlayer.SetRadioButtonGroupChoices | ( | string | element, |
List< string > | choices ) |
void BrokeProtocol.Entities.SvPlayer.SetRadioButtonGroupValue | ( | string | element, |
int | value ) |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SetSliderValue | ( | string | element, |
float | value ) |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SetTextElementText | ( | string | element, |
string | text ) |
void BrokeProtocol.Entities.SvPlayer.SetToggleValue | ( | string | element, |
bool | value ) |
|
inlineprotected |
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.SvEntity.
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.StartLockOn | ( | ShMountable | e | ) |
void BrokeProtocol.Entities.SvPlayer.StartRecover | ( | ) |
|
inline |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SvAddInjury | ( | BodyPart | part, |
BodyEffect | effect, | ||
byte | amount ) |
void BrokeProtocol.Entities.SvPlayer.SvAddInventoryAction | ( | string | eventName, |
string | type, | ||
ButtonType | buttonType, | ||
string | label ) |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SvAddSelfAction | ( | string | eventName, |
string | label ) |
|
inlineprotected |
void BrokeProtocol.Entities.SvPlayer.SvAddTypeAction | ( | string | eventName, |
string | type, | ||
string | label ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SvChatGlobal | ( | string | message | ) |
void BrokeProtocol.Entities.SvPlayer.SvChatLocal | ( | string | message | ) |
void BrokeProtocol.Entities.SvPlayer.SvChatVoice | ( | byte[] | voiceData | ) |
|
inline |
|
inline |
|
inline |
|
inline |
bool BrokeProtocol.Entities.SvPlayer.SvConsume | ( | ShConsumable | consumable, |
ShPlayer | healer = null ) |
|
inline |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SvDeposit | ( | int | entityID, |
int | amount ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SvOpenURL | ( | string | url, |
string | title = "Open URL Confirmation" ) |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SvPing | ( | ) |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SvPoint | ( | bool | pointing | ) |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SvProgressBar | ( | float | normalizedTime, |
float | normalizedSpeed, | ||
string | id = "" ) |
void BrokeProtocol.Entities.SvPlayer.SvProgressStop | ( | string | id = "" | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.SvPhysical.
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SvRemoveInventoryAction | ( | string | eventName | ) |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SvRemoveSelfAction | ( | string | eventName | ) |
void BrokeProtocol.Entities.SvPlayer.SvRemoveTypeAction | ( | string | eventName | ) |
void BrokeProtocol.Entities.SvPlayer.SvResetJob | ( | ) |
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.SvEntity.
|
inline |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SvSelfAction | ( | string | eventName | ) |
|
inline |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SvSetChatChannel | ( | ushort | channel | ) |
void BrokeProtocol.Entities.SvPlayer.SvSetChatMode | ( | ChatMode | chatMode | ) |
void BrokeProtocol.Entities.SvPlayer.SvSetEquipable | ( | ShEquipable | equipable | ) |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SvUpdateMountWater | ( | Vector3 | position, |
Quaternion | rotation ) |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SvUpdatePlayerWater | ( | Vector3 | position, |
Quaternion | rotation ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.SvWithdraw | ( | int | entityID, |
int | amount ) |
|
inlineprotected |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.Unrestrain | ( | ShPlayer | initiator | ) |
|
inline |
void BrokeProtocol.Entities.SvPlayer.UpdateNextWaypoint | ( | ) |
|
inline |
|
inline |
void BrokeProtocol.Entities.SvPlayer.VisualElementDisplay | ( | string | element, |
bool | setting ) |
void BrokeProtocol.Entities.SvPlayer.VisualElementOpacity | ( | string | element, |
float | setting ) |
void BrokeProtocol.Entities.SvPlayer.VisualElementOverflow | ( | string | element, |
bool | setting ) |
void BrokeProtocol.Entities.SvPlayer.VisualElementRemove | ( | string | element | ) |
void BrokeProtocol.Entities.SvPlayer.VisualElementVisibility | ( | string | element, |
bool | setting ) |
void BrokeProtocol.Entities.SvPlayer.VisualTreeAssetClone | ( | string | visualTreeAssetName, |
string | parentVisualElementName = "" ) |
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.SvPhysical.
|
inlinevirtual |
Reimplemented from BrokeProtocol.Entities.SvMovable.
|
static |
|
protected |
|
protected |
HashSet<string> BrokeProtocol.Entities.SvPlayer.appBlocked = new() |
List<AppCall> BrokeProtocol.Entities.SvPlayer.appCalls = new() |
HashSet<string> BrokeProtocol.Entities.SvPlayer.appContacts = new() |
Dictionary<string, AppMessages> BrokeProtocol.Entities.SvPlayer.appMessages = new() |
List<AppTransaction> BrokeProtocol.Entities.SvPlayer.appTransactions = new() |
|
protected |
int BrokeProtocol.Entities.SvPlayer.bankBalance |
BuyerType BrokeProtocol.Entities.SvPlayer.buyerType |
bool BrokeProtocol.Entities.SvPlayer.callActive |
bool BrokeProtocol.Entities.SvPlayer.caller |
ShPlayer BrokeProtocol.Entities.SvPlayer.callTarget |
ConnectData BrokeProtocol.Entities.SvPlayer.connectData |
Peer BrokeProtocol.Entities.SvPlayer.connection |
GraphNode BrokeProtocol.Entities.SvPlayer.currentNode |
Path BrokeProtocol.Entities.SvPlayer.currentPath |
|
protected |
State BrokeProtocol.Entities.SvPlayer.currentState |
Vector3 BrokeProtocol.Entities.SvPlayer.currentVector |
|
static |
ShPlayer BrokeProtocol.Entities.SvPlayer.follower |
ShEntity BrokeProtocol.Entities.SvPlayer.goalEntity |
ShEntity BrokeProtocol.Entities.SvPlayer.goalMarker |
bool BrokeProtocol.Entities.SvPlayer.godMode |
bool BrokeProtocol.Entities.SvPlayer.holdPackets = true |
Job BrokeProtocol.Entities.SvPlayer.job |
|
protected |
Vector3 BrokeProtocol.Entities.SvPlayer.lastDestination |
List<string> BrokeProtocol.Entities.SvPlayer.lastMessengers = new() |
PathCompleteState BrokeProtocol.Entities.SvPlayer.lastPathState |
ShPlayer BrokeProtocol.Entities.SvPlayer.leader |
Minigame BrokeProtocol.Entities.SvPlayer.minigame |
Waypoint BrokeProtocol.Entities.SvPlayer.nextWaypoint |
int BrokeProtocol.Entities.SvPlayer.nodeIndex |
bool BrokeProtocol.Entities.SvPlayer.onWaypoints |
|
staticprotected |
Vector3 BrokeProtocol.Entities.SvPlayer.penaltyScale |
Transform BrokeProtocol.Entities.SvPlayer.penaltyTransform |
bool BrokeProtocol.Entities.SvPlayer.placementValid |
ShPlayer BrokeProtocol.Entities.SvPlayer.player |
Queue<int> BrokeProtocol.Entities.SvPlayer.prevEquipables = new(2) |
|
protected |
Seeker BrokeProtocol.Entities.SvPlayer.seeker |
readonly HashSet<ShEntity> BrokeProtocol.Entities.SvPlayer.spawnedEntities = new() |
int BrokeProtocol.Entities.SvPlayer.spawnJobIndex |
int BrokeProtocol.Entities.SvPlayer.spawnJobRank |
ShEntity BrokeProtocol.Entities.SvPlayer.spawnTarget |
State [] BrokeProtocol.Entities.SvPlayer.states |
bool BrokeProtocol.Entities.SvPlayer.stop |
readonly IDCollection<ShEntity> BrokeProtocol.Entities.SvPlayer.subscribedEntities = new() |
string BrokeProtocol.Entities.SvPlayer.tagname |
ShEntity BrokeProtocol.Entities.SvPlayer.targetEntity |
bool BrokeProtocol.Entities.SvPlayer.tradeConfirmed |
|
protected |
int BrokeProtocol.Entities.SvPlayer.unreadMessages |
int BrokeProtocol.Entities.SvPlayer.vectorIndex |
|
protected |
byte [] BrokeProtocol.Entities.SvPlayer.wearableIndices |
|
get |
|
getprotected |
|
get |
|
get |
|
get |
|
get |
|
get |
|
getset |
|
get |
|
get |
|
get |
|
get |
|
get |