Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Classes | Enumerations
BrokeProtocol.Utility.Networking Namespace Reference

Classes

class  Buffers
 
class  Channel
 
class  DisconnectTypes
 
class  FileDetails
 
class  MyConverter
 
class  MyReader
 
class  MyWriter
 
struct  NetState
 
class  PluginDetails
 
class  ServerData
 
struct  SizedArray
 

Enumerations

enum  SvSendType {
  Self , Local , LocalOthers , All ,
  AllOthers
}
 
enum  ClPacket : byte {
  UpdateTime , AddEntity , DestroyEntity , ActivateEntity ,
  DeactivateEntity , Relocate , RelocateSelf , SetJob ,
  GameMessage , TransferItem , View , Shopping ,
  ShowTradeInventory , ShowSearchedInventory , SetEquipable , SetAttachment ,
  SetWearable , OtherConfirmed , SelfFinalized , OtherFinalized ,
  FinishTrade , UpdateShopValue , Mount , Dismount ,
  TransportState , TransportOwner , UpdateHealth , ShowHealth ,
  AddInjury , ClearInjuries , RemoveInjury , Spawn ,
  Reload , Load , Stats , RegisterMenu ,
  RegisterFail , CursorVisibility , MaxSpeed , UpdateTextDisplay ,
  AddVoxels , RemoveVoxels , Tow , SetTerritory ,
  TextMenu , OptionMenu , InputMenu , ShowTextPanel ,
  DestroyTextPanel , HackingMenu , CrackingMenu , HackingProbe ,
  HackingMark , CrackingAttempt , MinigameOver , Force ,
  Jump , Stance , SerializedItems , SerializedHealth ,
  StartVote , VoteUpdate , SetVault , ClonePlace ,
  DestroyPlace , BuyApartment , SellApartment , Consume ,
  StartProgress , StopProgress , AddEntityArray , UpdateAmmo ,
  UpdateMode , UpdateSmooth , DefaultEnvironment , CustomEnvironment ,
  SetColor , SetScale , TransferInfo , JobData ,
  AssetData , MapData , EntityData , FinishedStaticData ,
  SetSiren , LoadingWindow , PlayerRecords , BanRecords ,
  BanState , Point , Alert , Disarm ,
  DrawLine , ShowTimer , ShowText , DestroyText ,
  Permissions , DestroyMenu , TimeInfo , Experience ,
  Rank , Restore , Bind , Unbind ,
  BindAttachment , UnbindAttachment , Fire , DestroyEffect ,
  AltFire , Apps , AppContacts , AppBlocked ,
  AppCalls , AppInbox , AppServices , AppDeposit ,
  AppWithdraw , AppRadio , AppMessage , AppAddMessage ,
  Call , CallAccepted , CallCanceled , SetChatChannel ,
  SetChatMode , ChatGlobal , ChatJob , ChatChannel ,
  ChatLocal , ChatVoice , ChatVoiceCall , ChatVoiceJob ,
  ChatVoiceChannel , UnreadMessages , DisplayName , Spectate ,
  OpenURL , AnimatorEnabled , AnimatorFloat , AnimatorInt ,
  AnimatorBool , AnimatorTrigger , AnimatorState , VideoPlay ,
  VideoStop , AddDynamicAction , RemoveDynamicAction , AddSelfAction ,
  RemoveSelfAction , AddTypeAction , RemoveTypeAction , AddInventoryAction ,
  RemoveInventoryAction , LockOn , ToggleWeapon , Connect ,
  Explosion , VisualTreeAssetClone , VisualElementRemove , VisualElementOpacity ,
  VisualElementDisplay , VisualElementVisibility , VisualElementOverflow , AddButtonClickedEvent ,
  GetTextFieldText , SetTextElementText , GetSliderValue , SetSliderValue ,
  SetProgressBarValue , GetToggleValue , SetToggleValue , GetRadioButtonGroupValue ,
  SetRadioButtonGroupValue , SetRadioButtonGroupChoices , GetDropdownFieldValue , SetDropdownFieldValue ,
  SetDropdownFieldChoices
}
 
enum  SvPacket : byte {
  Ready , Cache , ResetPacketCounter , Register ,
  Login , Delete , Loaded , TransferView ,
  TransferShop , TransferTrade , View , Drop ,
  TradeRequest , FinalizeTrade , ConfirmTrade , StopInventory ,
  CrackStart , MinigameStop , HackingProbe , HackingMark ,
  CrackAttempt , Reload , AltFire , Mount ,
  GetEntityValue , BuyTransport , BuyApartment , SellApartment ,
  ShowHealth , Shop , GetJob , QuitJob ,
  BuyFurniture , Dismount , Free , TriggerEvent ,
  EntityAction , InventoryAction , SelfAction , UpdateInput ,
  UpdatePlayer , UpdatePlayerWater , UpdatePlayerOffset , UpdateMount ,
  UpdateMountWater , UpdateMountOffset , UpdateRotation , Jump ,
  Embark , Disembark , ProgressAction , ProcessAction ,
  SetSiren , TrySetEquipable , StartVote , VoteYes ,
  VoteNo , KillSelf , Crouch , Collect ,
  Consume , TimeScale , Kick , Ban ,
  Restrain , Teleport , Summon , RemoveJob ,
  StopServer , GodMode , Follower , Invite ,
  KickOut , Point , Alert , SellFurniture ,
  ServiceCall , SetWearable , Deploy , Help ,
  SaveAll , Fire , RequestServerInfo , PlayerRecords ,
  BanRecords , BanAccount , UnbanIP , DropEquipable ,
  DropItem , Heal , Park , Tow ,
  CheckHitscan , CheckBallistic , Bind , Unbind ,
  BindAttachment , UnbindAttachment , SetAttachment , UseBind ,
  EnterDoor , Disarm , Initialized , TransportState ,
  Apps , AppContacts , AppBlocked , AppCalls ,
  AppInbox , AppServices , AppDeposit , AppWithdraw ,
  AppRadio , AppMessage , AppAddContact , AppRemoveContact ,
  AppAddBlocked , AppRemoveBlocked , AppAddMessage , ReadMessage ,
  ReadAll , Call , CallAccept , CallReject ,
  Deposit , Withdraw , ChatChannel , ChatMode ,
  ChatGlobal , ChatLocal , ChatVoice , OptionAction ,
  TextPanelButton , SubmitInput , Ping , PingAll ,
  SecurityPanel , MenuClosed , VideoPanel , MoveSeatUp ,
  MoveSeatDown , ToggleWeapon , UpdateTextDisplay , Spectate ,
  ButtonClickedEvent , GetTextFieldText , GetSliderValue , GetToggleValue ,
  GetRadioButtonGroupValue , GetDropdownFieldValue
}
 
enum  MasterPacket : byte { Info , PlayerCount }
 

Enumeration Type Documentation

◆ ClPacket

Enumerator
UpdateTime 
AddEntity 
DestroyEntity 
ActivateEntity 
DeactivateEntity 
Relocate 
RelocateSelf 
SetJob 
GameMessage 
TransferItem 
View 
Shopping 
ShowTradeInventory 
ShowSearchedInventory 
SetEquipable 
SetAttachment 
SetWearable 
OtherConfirmed 
SelfFinalized 
OtherFinalized 
FinishTrade 
UpdateShopValue 
Mount 
Dismount 
TransportState 
TransportOwner 
UpdateHealth 
ShowHealth 
AddInjury 
ClearInjuries 
RemoveInjury 
Spawn 
Reload 
Load 
Stats 
RegisterMenu 
RegisterFail 
CursorVisibility 
MaxSpeed 
UpdateTextDisplay 
AddVoxels 
RemoveVoxels 
Tow 
SetTerritory 
TextMenu 
OptionMenu 
InputMenu 
ShowTextPanel 
DestroyTextPanel 
HackingMenu 
CrackingMenu 
HackingProbe 
HackingMark 
CrackingAttempt 
MinigameOver 
Force 
Jump 
Stance 
SerializedItems 
SerializedHealth 
StartVote 
VoteUpdate 
SetVault 
ClonePlace 
DestroyPlace 
BuyApartment 
SellApartment 
Consume 
StartProgress 
StopProgress 
AddEntityArray 
UpdateAmmo 
UpdateMode 
UpdateSmooth 
DefaultEnvironment 
CustomEnvironment 
SetColor 
SetScale 
TransferInfo 
JobData 
AssetData 
MapData 
EntityData 
FinishedStaticData 
SetSiren 
LoadingWindow 
PlayerRecords 
BanRecords 
BanState 
Point 
Alert 
Disarm 
DrawLine 
ShowTimer 
ShowText 
DestroyText 
Permissions 
DestroyMenu 
TimeInfo 
Experience 
Rank 
Restore 
Bind 
Unbind 
BindAttachment 
UnbindAttachment 
Fire 
DestroyEffect 
AltFire 
Apps 
AppContacts 
AppBlocked 
AppCalls 
AppInbox 
AppServices 
AppDeposit 
AppWithdraw 
AppRadio 
AppMessage 
AppAddMessage 
Call 
CallAccepted 
CallCanceled 
SetChatChannel 
SetChatMode 
ChatGlobal 
ChatJob 
ChatChannel 
ChatLocal 
ChatVoice 
ChatVoiceCall 
ChatVoiceJob 
ChatVoiceChannel 
UnreadMessages 
DisplayName 
Spectate 
OpenURL 
AnimatorEnabled 
AnimatorFloat 
AnimatorInt 
AnimatorBool 
AnimatorTrigger 
AnimatorState 
VideoPlay 
VideoStop 
AddDynamicAction 
RemoveDynamicAction 
AddSelfAction 
RemoveSelfAction 
AddTypeAction 
RemoveTypeAction 
AddInventoryAction 
RemoveInventoryAction 
LockOn 
ToggleWeapon 
Connect 
Explosion 
VisualTreeAssetClone 
VisualElementRemove 
VisualElementOpacity 
VisualElementDisplay 
VisualElementVisibility 
VisualElementOverflow 
AddButtonClickedEvent 
GetTextFieldText 
SetTextElementText 
GetSliderValue 
SetSliderValue 
SetProgressBarValue 
GetToggleValue 
SetToggleValue 
GetRadioButtonGroupValue 
SetRadioButtonGroupValue 
SetRadioButtonGroupChoices 
GetDropdownFieldValue 
SetDropdownFieldValue 
SetDropdownFieldChoices 

◆ MasterPacket

Enumerator
Info 
PlayerCount 

◆ SvPacket

Enumerator
Ready 
Cache 
ResetPacketCounter 
Register 
Login 
Delete 
Loaded 
TransferView 
TransferShop 
TransferTrade 
View 
Drop 
TradeRequest 
FinalizeTrade 
ConfirmTrade 
StopInventory 
CrackStart 
MinigameStop 
HackingProbe 
HackingMark 
CrackAttempt 
Reload 
AltFire 
Mount 
GetEntityValue 
BuyTransport 
BuyApartment 
SellApartment 
ShowHealth 
Shop 
GetJob 
QuitJob 
BuyFurniture 
Dismount 
Free 
TriggerEvent 
EntityAction 
InventoryAction 
SelfAction 
UpdateInput 
UpdatePlayer 
UpdatePlayerWater 
UpdatePlayerOffset 
UpdateMount 
UpdateMountWater 
UpdateMountOffset 
UpdateRotation 
Jump 
Embark 
Disembark 
ProgressAction 
ProcessAction 
SetSiren 
TrySetEquipable 
StartVote 
VoteYes 
VoteNo 
KillSelf 
Crouch 
Collect 
Consume 
TimeScale 
Kick 
Ban 
Restrain 
Teleport 
Summon 
RemoveJob 
StopServer 
GodMode 
Follower 
Invite 
KickOut 
Point 
Alert 
SellFurniture 
ServiceCall 
SetWearable 
Deploy 
Help 
SaveAll 
Fire 
RequestServerInfo 
PlayerRecords 
BanRecords 
BanAccount 
UnbanIP 
DropEquipable 
DropItem 
Heal 
Park 
Tow 
CheckHitscan 
CheckBallistic 
Bind 
Unbind 
BindAttachment 
UnbindAttachment 
SetAttachment 
UseBind 
EnterDoor 
Disarm 
Initialized 
TransportState 
Apps 
AppContacts 
AppBlocked 
AppCalls 
AppInbox 
AppServices 
AppDeposit 
AppWithdraw 
AppRadio 
AppMessage 
AppAddContact 
AppRemoveContact 
AppAddBlocked 
AppRemoveBlocked 
AppAddMessage 
ReadMessage 
ReadAll 
Call 
CallAccept 
CallReject 
Deposit 
Withdraw 
ChatChannel 
ChatMode 
ChatGlobal 
ChatLocal 
ChatVoice 
OptionAction 
TextPanelButton 
SubmitInput 
Ping 
PingAll 
SecurityPanel 
MenuClosed 
VideoPanel 
MoveSeatUp 
MoveSeatDown 
ToggleWeapon 
UpdateTextDisplay 
Spectate 
ButtonClickedEvent 
GetTextFieldText 
GetSliderValue 
GetToggleValue 
GetRadioButtonGroupValue 
GetDropdownFieldValue 

◆ SvSendType

Enumerator
Self 
Local 
LocalOthers 
All 
AllOthers