Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Properties | List of all members
BrokeProtocol.Managers.ClManager Class Reference
Inheritance diagram for BrokeProtocol.Managers.ClManager:
BrokeProtocol.Utility.MonoBehaviourSingleton< ClManager >

Public Member Functions

bool GetConnectAtStartup (out string hostname, out ushort port)
 
void UpdateFogSetting (bool setting)
 
bool HasPermissionClient (PermEnum p)
 
void GetProfileImage (RawImage image, string profile)
 
void GetImage (RawImage image, string URL)
 
void ReadSettings ()
 
void WriteSettings ()
 
IEnumerator TargetLockedLoop ()
 
bool IsTyping ()
 
void ToggleCursor ()
 
void HandleInput ()
 
void SendEquipable (int equipableIndex)
 
IEnumerator CacheCheck ()
 
void AddEntity ()
 
void UpdateMapCamera ()
 
void RenderMap ()
 
void UpdateAmmo (int delta, int ammoIndex)
 
void ConnectToServer (string hostname, ushort port)
 
void SendToServer (PacketFlags channel, SvPacket packet, params object[] args)
 
IEnumerator ConnectOfflineModeDelay (string map, Dictionary< string, bool > pluginSettings)
 
void ToggleHUD ()
 
void ToggleInterface ()
 
void ShowMainMenu ()
 
void LoadActions ()
 
void ClearHighlightEntity ()
 
EntityActionMenu EntityActionMenu ()
 
ButtonActionMenu ButtonActionMenu (ClActionable target)
 
void StartHUD ()
 
MobileInput InstantiateMobileInput ()
 
void DestroyText (string id)
 
void ShowVotePanel (int voteIndex, int ID)
 
void ShowTimeScaleMenu ()
 
void ShowPlayerRecordsMenu (string jsonRecords)
 
void ShowBanRecordsMenu (string jsonRecords)
 
void ShowEquipmentInventory ()
 
void ShowFurnitureInventory ()
 
void ShowViewInventory ()
 
void ShowShoppingingInventory ()
 
void ShowSearchedInventory ()
 
void ShowTradeInventory ()
 
void ShowPlayersMenu ()
 
void ShowAppsMenu (int entityID, string time)
 
void ShowAppContactsMenu (int entityID, string time, string jsonString)
 
void ShowAppBlockedMenu (int entityID, string time, string jsonString)
 
void ShowAppCallsMenu (int entityID, string time, string jsonString)
 
void ShowAppInboxMenu (int entityID, string time, string jsonString)
 
void ShowAppServicesMenu (int entityID, string time)
 
void ShowAppDepositMenu (int entityID, string time, int bankBalance, string transactions)
 
void ShowAppWithdrawMenu (int entityID, string time, int bankBalance, string transactions)
 
void ShowAppRadioMenu (int entityID, string time, string jsonString)
 
void ShowAppMessageMenu (int entityID, string time, string jsonString)
 
void AppAddMessage (string chatName, int senderID, int unreadCount, string jsonString)
 
void ShowCallPanel (int ID, bool incoming)
 
void DisplayName ()
 
void AnimatorEnabled ()
 
void AnimatorFloat ()
 
void AnimatorInt ()
 
void AnimatorBool ()
 
void AnimatorTrigger ()
 
void AnimatorState ()
 
void VideoPlay ()
 
void AddDynamicAction ()
 
void RemoveDynamicAction ()
 
IEnumerator Connect ()
 
void ShowChatMenu (bool local)
 
void ShowMessage (string message)
 
void ShowGameMessage (string message)
 
void ShowInventoryMessage (int itemIndex, int amount)
 
void ShowHealthMenu (ShPlayer player)
 
void ShowProcessMenu (ShProcessor processor)
 
void ShowPauseMenu ()
 
void ShowFeedbackMenu ()
 
void ShowCommandsMenu ()
 
void ShowControlsMenu ()
 
void ShowCustomizeMenu ()
 
void ShowSettingsMenu ()
 
GetVisualElement< T > (string elementName)
 
VisualElement GetVisualElement (string elementName)
 
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, string choicesData)
 
void GetDropdownFieldValue (string element, string eventName)
 
void SetDropdownFieldValue (string element, int value)
 
void SetDropdownFieldChoices (string element, string choicesData)
 
void ShowTextMenu (float xMin, float yMin, float xMax, float yMax, string id, string title, string text)
 
void ShowOptionMenu (float xMin, float yMin, float xMax, float yMax, string id, string title, int targetID, string optionData, string actionData)
 
void ShowInputMenu (float xMin, float yMin, float xMax, float yMax, string id, string title, int targetID, InputField.ContentType contentType, int characterLimit)
 
void ShowTextPanel (string id, string text, string options, int initialOptionIndex)
 
void DestroyTextPanel (string id)
 
void ShowHackingMenu (string title, int targetID, string menuData, string optionID, float difficulty)
 
void ShowCrackingMenu (string title, int targetID, string menuData, string optionID, float difficulty)
 
void ShowChatHistoryMenu ()
 
void ShowOpenURLMenu (string url, string title)
 
void ShowPlayerKickMenu (ShPlayer targetPlayer)
 
void ShowPlayerBanMenu (ShPlayer targetPlayer)
 
void ShowPlayerBanRecordMenu (PlayerRecord playerRecord)
 
void RefreshListMenu< T > (params object[] args)
 
void ShowMenu (Menu menu, params object[] args)
 
void DestroyActionMenu ()
 
void DestroyMenu (string id=Util.defaultID)
 
bool GetButton (InputType index, bool thisFrame=false)
 
void StartDamageMarker (float angle)
 

Public Attributes

InputSystemUIInputModule inputSystem
 
Dictionary< string, string > selfActions = new()
 
Dictionary< string,(string, string)> typeActions = new()
 
Dictionary< string,(string, byte, string)> inventoryActions = new()
 
ShManager manager
 
Canvas canvas
 
Canvas hudCanvas
 
Text chatChannelText
 
Text chatModeText
 
PersistentSettings persistentSettings
 
ShEntity highlightEntity
 
PlayerRenderer playerRendererPrefab
 
RenderTexture videoTexture
 
Texture2D loadingTexture
 
bool customProfilesVideos
 
bool offlineConsole
 
bool autoaim
 
ShPlayer aimTarget
 
Voice voicePrefab
 
AudioClip playerHurt
 
AudioClip playerHurtMinor
 
AudioClip playerHeal
 
AudioClip playerHealMinor
 
Dictionary< string, AudioClip[]> footsteps = new()
 
Dictionary< string, AudioClip > skid = new()
 
SpriteRenderer mapMarkerPrefab
 
Material goodMaterial
 
Material badMaterial
 
GameObject[] effectPrefabs
 
SvPacket[] appPackets
 
List< JobInfoSharedjobs
 
ShPlayer myPlayer
 
Vector2 lookInput
 
Vector3 lastInput
 
byte lastMode
 
int myID
 
Action[] handler
 
Peer connection
 
string profileURL
 
Vector2 sensitivity
 
List< PlayerRecordplayerRecords
 
List< BanbanRecords
 
ChatVoiceLabel chatVoiceLabel = null
 
HUD hud
 
Transform radioBarT = null
 
ActionMenu currentActionMenu
 
Dictionary< string, TextDisplaytexts = new()
 
Dictionary< string, Menumenus = new()
 
Dictionary< int, ChatVoiceLabelchatVoiceLabels = new()
 
RectTransform menuRect
 
OpusEncoder encoder
 
InputButton[] buttonInput
 
ActionInfo[] actions
 
byte[] permissions
 
bool fire
 
bool toggleCursor
 
Transform activateParent
 
ENet.Event netEvent
 
ActionableButtons[] buttons
 

Static Public Attributes

const float sampleDuration = 60f / 1000f
 
const int sampleSize = (int)(Util.sampleRate * sampleDuration)
 
static float[] sampleBuffer = new float[sampleSize]
 
static uint disconnectIndex = DisconnectTypes.Normal
 
static int languageIndex
 
static string inputDevice
 
static int shaderLevel
 

Protected Member Functions

override void Awake ()
 

Properties

bool StartAsServer [get]
 
int FramerateLimit [get, set]
 
float MasterVolume [get, set]
 
float MusicVolume [get, set]
 
static float VoiceVolume [get, set]
 
bool AllowHUD [get, set]
 
bool Fog [get, set]
 
Menu CurrentMenu [get]
 
Menu TopMenu [get]
 
- Properties inherited from BrokeProtocol.Utility.MonoBehaviourSingleton< ClManager >
virtual bool DontDestroy [get]
 
static T Instance [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from BrokeProtocol.Utility.MonoBehaviourSingleton< ClManager >
static void Instantiate ()
 

Member Function Documentation

◆ AddButtonClickedEvent()

void BrokeProtocol.Managers.ClManager.AddButtonClickedEvent ( string element,
string eventName )

◆ AddDynamicAction()

void BrokeProtocol.Managers.ClManager.AddDynamicAction ( )
inline

◆ AddEntity()

void BrokeProtocol.Managers.ClManager.AddEntity ( )
inline

◆ AnimatorBool()

void BrokeProtocol.Managers.ClManager.AnimatorBool ( )
inline

◆ AnimatorEnabled()

void BrokeProtocol.Managers.ClManager.AnimatorEnabled ( )
inline

◆ AnimatorFloat()

void BrokeProtocol.Managers.ClManager.AnimatorFloat ( )
inline

◆ AnimatorInt()

void BrokeProtocol.Managers.ClManager.AnimatorInt ( )
inline

◆ AnimatorState()

void BrokeProtocol.Managers.ClManager.AnimatorState ( )
inline

◆ AnimatorTrigger()

void BrokeProtocol.Managers.ClManager.AnimatorTrigger ( )
inline

◆ AppAddMessage()

void BrokeProtocol.Managers.ClManager.AppAddMessage ( string chatName,
int senderID,
int unreadCount,
string jsonString )
inline

◆ Awake()

override void BrokeProtocol.Managers.ClManager.Awake ( )
inlineprotectedvirtual

◆ ButtonActionMenu()

ButtonActionMenu BrokeProtocol.Managers.ClManager.ButtonActionMenu ( ClActionable target)
inline

◆ CacheCheck()

IEnumerator BrokeProtocol.Managers.ClManager.CacheCheck ( )
inline

◆ ClearHighlightEntity()

void BrokeProtocol.Managers.ClManager.ClearHighlightEntity ( )
inline

◆ Connect()

IEnumerator BrokeProtocol.Managers.ClManager.Connect ( )
inline

◆ ConnectOfflineModeDelay()

IEnumerator BrokeProtocol.Managers.ClManager.ConnectOfflineModeDelay ( string map,
Dictionary< string, bool > pluginSettings )
inline

◆ ConnectToServer()

void BrokeProtocol.Managers.ClManager.ConnectToServer ( string hostname,
ushort port )
inline

◆ DestroyActionMenu()

void BrokeProtocol.Managers.ClManager.DestroyActionMenu ( )
inline

◆ DestroyMenu()

void BrokeProtocol.Managers.ClManager.DestroyMenu ( string id = Util::defaultID)
inline

◆ DestroyText()

void BrokeProtocol.Managers.ClManager.DestroyText ( string id)
inline

◆ DestroyTextPanel()

void BrokeProtocol.Managers.ClManager.DestroyTextPanel ( string id)
inline

◆ DisplayName()

void BrokeProtocol.Managers.ClManager.DisplayName ( )
inline

◆ EntityActionMenu()

EntityActionMenu BrokeProtocol.Managers.ClManager.EntityActionMenu ( )
inline

◆ GetButton()

bool BrokeProtocol.Managers.ClManager.GetButton ( InputType index,
bool thisFrame = false )
inline

◆ GetConnectAtStartup()

bool BrokeProtocol.Managers.ClManager.GetConnectAtStartup ( out string hostname,
out ushort port )
inline

◆ GetDropdownFieldValue()

void BrokeProtocol.Managers.ClManager.GetDropdownFieldValue ( string element,
string eventName )
inline

◆ GetImage()

void BrokeProtocol.Managers.ClManager.GetImage ( RawImage image,
string URL )
inline

◆ GetProfileImage()

void BrokeProtocol.Managers.ClManager.GetProfileImage ( RawImage image,
string profile )
inline

◆ GetRadioButtonGroupValue()

void BrokeProtocol.Managers.ClManager.GetRadioButtonGroupValue ( string element,
string eventName )
inline

◆ GetSliderValue()

void BrokeProtocol.Managers.ClManager.GetSliderValue ( string element,
string eventName )
inline

◆ GetTextFieldText()

void BrokeProtocol.Managers.ClManager.GetTextFieldText ( string element,
string eventName )
inline

◆ GetToggleValue()

void BrokeProtocol.Managers.ClManager.GetToggleValue ( string element,
string eventName )
inline

◆ GetVisualElement()

VisualElement BrokeProtocol.Managers.ClManager.GetVisualElement ( string elementName)

◆ GetVisualElement< T >()

Type Constraints
T :VisualElement 

◆ HandleInput()

void BrokeProtocol.Managers.ClManager.HandleInput ( )
inline

◆ HasPermissionClient()

bool BrokeProtocol.Managers.ClManager.HasPermissionClient ( PermEnum p)

◆ InstantiateMobileInput()

MobileInput BrokeProtocol.Managers.ClManager.InstantiateMobileInput ( )

◆ IsTyping()

bool BrokeProtocol.Managers.ClManager.IsTyping ( )
inline

◆ LoadActions()

void BrokeProtocol.Managers.ClManager.LoadActions ( )
inline

◆ ReadSettings()

void BrokeProtocol.Managers.ClManager.ReadSettings ( )
inline

◆ RefreshListMenu< T >()

void BrokeProtocol.Managers.ClManager.RefreshListMenu< T > ( params object[] args)
inline
Type Constraints
T :ListMenu 

◆ RemoveDynamicAction()

void BrokeProtocol.Managers.ClManager.RemoveDynamicAction ( )
inline

◆ RenderMap()

void BrokeProtocol.Managers.ClManager.RenderMap ( )
inline

◆ SendEquipable()

void BrokeProtocol.Managers.ClManager.SendEquipable ( int equipableIndex)
inline

◆ SendToServer()

void BrokeProtocol.Managers.ClManager.SendToServer ( PacketFlags channel,
SvPacket packet,
params object[] args )
inline

◆ SetDropdownFieldChoices()

void BrokeProtocol.Managers.ClManager.SetDropdownFieldChoices ( string element,
string choicesData )
inline

◆ SetDropdownFieldValue()

void BrokeProtocol.Managers.ClManager.SetDropdownFieldValue ( string element,
int value )

◆ SetProgressBarValue()

void BrokeProtocol.Managers.ClManager.SetProgressBarValue ( string element,
float value )

◆ SetRadioButtonGroupChoices()

void BrokeProtocol.Managers.ClManager.SetRadioButtonGroupChoices ( string element,
string choicesData )
inline

◆ SetRadioButtonGroupValue()

void BrokeProtocol.Managers.ClManager.SetRadioButtonGroupValue ( string element,
int value )

◆ SetSliderValue()

void BrokeProtocol.Managers.ClManager.SetSliderValue ( string element,
float value )

◆ SetTextElementText()

void BrokeProtocol.Managers.ClManager.SetTextElementText ( string element,
string text )

◆ SetToggleValue()

void BrokeProtocol.Managers.ClManager.SetToggleValue ( string element,
bool value )

◆ ShowAppBlockedMenu()

void BrokeProtocol.Managers.ClManager.ShowAppBlockedMenu ( int entityID,
string time,
string jsonString )

◆ ShowAppCallsMenu()

void BrokeProtocol.Managers.ClManager.ShowAppCallsMenu ( int entityID,
string time,
string jsonString )

◆ ShowAppContactsMenu()

void BrokeProtocol.Managers.ClManager.ShowAppContactsMenu ( int entityID,
string time,
string jsonString )

◆ ShowAppDepositMenu()

void BrokeProtocol.Managers.ClManager.ShowAppDepositMenu ( int entityID,
string time,
int bankBalance,
string transactions )

◆ ShowAppInboxMenu()

void BrokeProtocol.Managers.ClManager.ShowAppInboxMenu ( int entityID,
string time,
string jsonString )

◆ ShowAppMessageMenu()

void BrokeProtocol.Managers.ClManager.ShowAppMessageMenu ( int entityID,
string time,
string jsonString )

◆ ShowAppRadioMenu()

void BrokeProtocol.Managers.ClManager.ShowAppRadioMenu ( int entityID,
string time,
string jsonString )

◆ ShowAppServicesMenu()

void BrokeProtocol.Managers.ClManager.ShowAppServicesMenu ( int entityID,
string time )

◆ ShowAppsMenu()

void BrokeProtocol.Managers.ClManager.ShowAppsMenu ( int entityID,
string time )

◆ ShowAppWithdrawMenu()

void BrokeProtocol.Managers.ClManager.ShowAppWithdrawMenu ( int entityID,
string time,
int bankBalance,
string transactions )

◆ ShowBanRecordsMenu()

void BrokeProtocol.Managers.ClManager.ShowBanRecordsMenu ( string jsonRecords)
inline

◆ ShowCallPanel()

void BrokeProtocol.Managers.ClManager.ShowCallPanel ( int ID,
bool incoming )
inline

◆ ShowChatHistoryMenu()

void BrokeProtocol.Managers.ClManager.ShowChatHistoryMenu ( )

◆ ShowChatMenu()

void BrokeProtocol.Managers.ClManager.ShowChatMenu ( bool local)

◆ ShowCommandsMenu()

void BrokeProtocol.Managers.ClManager.ShowCommandsMenu ( )

◆ ShowControlsMenu()

void BrokeProtocol.Managers.ClManager.ShowControlsMenu ( )

◆ ShowCrackingMenu()

void BrokeProtocol.Managers.ClManager.ShowCrackingMenu ( string title,
int targetID,
string menuData,
string optionID,
float difficulty )

◆ ShowCustomizeMenu()

void BrokeProtocol.Managers.ClManager.ShowCustomizeMenu ( )

◆ ShowEquipmentInventory()

void BrokeProtocol.Managers.ClManager.ShowEquipmentInventory ( )

◆ ShowFeedbackMenu()

void BrokeProtocol.Managers.ClManager.ShowFeedbackMenu ( )

◆ ShowFurnitureInventory()

void BrokeProtocol.Managers.ClManager.ShowFurnitureInventory ( )

◆ ShowGameMessage()

void BrokeProtocol.Managers.ClManager.ShowGameMessage ( string message)

◆ ShowHackingMenu()

void BrokeProtocol.Managers.ClManager.ShowHackingMenu ( string title,
int targetID,
string menuData,
string optionID,
float difficulty )

◆ ShowHealthMenu()

void BrokeProtocol.Managers.ClManager.ShowHealthMenu ( ShPlayer player)

◆ ShowInputMenu()

void BrokeProtocol.Managers.ClManager.ShowInputMenu ( float xMin,
float yMin,
float xMax,
float yMax,
string id,
string title,
int targetID,
InputField.ContentType contentType,
int characterLimit )

◆ ShowInventoryMessage()

void BrokeProtocol.Managers.ClManager.ShowInventoryMessage ( int itemIndex,
int amount )
inline

◆ ShowMainMenu()

void BrokeProtocol.Managers.ClManager.ShowMainMenu ( )

◆ ShowMenu()

void BrokeProtocol.Managers.ClManager.ShowMenu ( Menu menu,
params object[] args )
inline

◆ ShowMessage()

void BrokeProtocol.Managers.ClManager.ShowMessage ( string message)
inline

◆ ShowOpenURLMenu()

void BrokeProtocol.Managers.ClManager.ShowOpenURLMenu ( string url,
string title )

◆ ShowOptionMenu()

void BrokeProtocol.Managers.ClManager.ShowOptionMenu ( float xMin,
float yMin,
float xMax,
float yMax,
string id,
string title,
int targetID,
string optionData,
string actionData )

◆ ShowPauseMenu()

void BrokeProtocol.Managers.ClManager.ShowPauseMenu ( )

◆ ShowPlayerBanMenu()

void BrokeProtocol.Managers.ClManager.ShowPlayerBanMenu ( ShPlayer targetPlayer)

◆ ShowPlayerBanRecordMenu()

void BrokeProtocol.Managers.ClManager.ShowPlayerBanRecordMenu ( PlayerRecord playerRecord)

◆ ShowPlayerKickMenu()

void BrokeProtocol.Managers.ClManager.ShowPlayerKickMenu ( ShPlayer targetPlayer)

◆ ShowPlayerRecordsMenu()

void BrokeProtocol.Managers.ClManager.ShowPlayerRecordsMenu ( string jsonRecords)
inline

◆ ShowPlayersMenu()

void BrokeProtocol.Managers.ClManager.ShowPlayersMenu ( )

◆ ShowProcessMenu()

void BrokeProtocol.Managers.ClManager.ShowProcessMenu ( ShProcessor processor)

◆ ShowSearchedInventory()

void BrokeProtocol.Managers.ClManager.ShowSearchedInventory ( )

◆ ShowSettingsMenu()

void BrokeProtocol.Managers.ClManager.ShowSettingsMenu ( )

◆ ShowShoppingingInventory()

void BrokeProtocol.Managers.ClManager.ShowShoppingingInventory ( )

◆ ShowTextMenu()

void BrokeProtocol.Managers.ClManager.ShowTextMenu ( float xMin,
float yMin,
float xMax,
float yMax,
string id,
string title,
string text )

◆ ShowTextPanel()

void BrokeProtocol.Managers.ClManager.ShowTextPanel ( string id,
string text,
string options,
int initialOptionIndex )
inline

◆ ShowTimeScaleMenu()

void BrokeProtocol.Managers.ClManager.ShowTimeScaleMenu ( )

◆ ShowTradeInventory()

void BrokeProtocol.Managers.ClManager.ShowTradeInventory ( )

◆ ShowViewInventory()

void BrokeProtocol.Managers.ClManager.ShowViewInventory ( )

◆ ShowVotePanel()

void BrokeProtocol.Managers.ClManager.ShowVotePanel ( int voteIndex,
int ID )
inline

◆ StartDamageMarker()

void BrokeProtocol.Managers.ClManager.StartDamageMarker ( float angle)

◆ StartHUD()

void BrokeProtocol.Managers.ClManager.StartHUD ( )
inline

◆ TargetLockedLoop()

IEnumerator BrokeProtocol.Managers.ClManager.TargetLockedLoop ( )
inline

◆ ToggleCursor()

void BrokeProtocol.Managers.ClManager.ToggleCursor ( )
inline

◆ ToggleHUD()

void BrokeProtocol.Managers.ClManager.ToggleHUD ( )

◆ ToggleInterface()

void BrokeProtocol.Managers.ClManager.ToggleInterface ( )

◆ UpdateAmmo()

void BrokeProtocol.Managers.ClManager.UpdateAmmo ( int delta,
int ammoIndex )
inline

◆ UpdateFogSetting()

void BrokeProtocol.Managers.ClManager.UpdateFogSetting ( bool setting)
inline

◆ UpdateMapCamera()

void BrokeProtocol.Managers.ClManager.UpdateMapCamera ( )
inline

◆ VideoPlay()

void BrokeProtocol.Managers.ClManager.VideoPlay ( )
inline

◆ VisualElementDisplay()

void BrokeProtocol.Managers.ClManager.VisualElementDisplay ( string element,
bool setting )

◆ VisualElementOpacity()

void BrokeProtocol.Managers.ClManager.VisualElementOpacity ( string element,
float setting )

◆ VisualElementOverflow()

void BrokeProtocol.Managers.ClManager.VisualElementOverflow ( string element,
bool setting )

◆ VisualElementRemove()

void BrokeProtocol.Managers.ClManager.VisualElementRemove ( string element)

◆ VisualElementVisibility()

void BrokeProtocol.Managers.ClManager.VisualElementVisibility ( string element,
bool setting )

◆ VisualTreeAssetClone()

void BrokeProtocol.Managers.ClManager.VisualTreeAssetClone ( string visualTreeAssetName,
string parentVisualElementName )
inline

◆ WriteSettings()

void BrokeProtocol.Managers.ClManager.WriteSettings ( )

Member Data Documentation

◆ actions

ActionInfo [] BrokeProtocol.Managers.ClManager.actions

◆ activateParent

Transform BrokeProtocol.Managers.ClManager.activateParent

◆ aimTarget

ShPlayer BrokeProtocol.Managers.ClManager.aimTarget

◆ appPackets

SvPacket [] BrokeProtocol.Managers.ClManager.appPackets
Initial value:
= new SvPacket[]
{
SvPacket.Apps,
SvPacket.AppContacts,
SvPacket.AppBlocked,
SvPacket.AppCalls,
SvPacket.AppInbox,
SvPacket.AppServices,
SvPacket.AppDeposit,
SvPacket.AppWithdraw,
SvPacket.AppRadio,
}

◆ autoaim

bool BrokeProtocol.Managers.ClManager.autoaim

◆ badMaterial

Material BrokeProtocol.Managers.ClManager.badMaterial

◆ banRecords

List<Ban> BrokeProtocol.Managers.ClManager.banRecords

◆ buttonInput

InputButton [] BrokeProtocol.Managers.ClManager.buttonInput

◆ buttons

ActionableButtons [] BrokeProtocol.Managers.ClManager.buttons

◆ canvas

Canvas BrokeProtocol.Managers.ClManager.canvas

◆ chatChannelText

Text BrokeProtocol.Managers.ClManager.chatChannelText

◆ chatModeText

Text BrokeProtocol.Managers.ClManager.chatModeText

◆ chatVoiceLabel

ChatVoiceLabel BrokeProtocol.Managers.ClManager.chatVoiceLabel = null

◆ chatVoiceLabels

Dictionary<int, ChatVoiceLabel> BrokeProtocol.Managers.ClManager.chatVoiceLabels = new()

◆ connection

Peer BrokeProtocol.Managers.ClManager.connection

◆ currentActionMenu

ActionMenu BrokeProtocol.Managers.ClManager.currentActionMenu

◆ customProfilesVideos

bool BrokeProtocol.Managers.ClManager.customProfilesVideos

◆ disconnectIndex

uint BrokeProtocol.Managers.ClManager.disconnectIndex = DisconnectTypes.Normal
static

◆ effectPrefabs

GameObject [] BrokeProtocol.Managers.ClManager.effectPrefabs

◆ encoder

OpusEncoder BrokeProtocol.Managers.ClManager.encoder

◆ fire

bool BrokeProtocol.Managers.ClManager.fire

◆ footsteps

Dictionary<string, AudioClip[]> BrokeProtocol.Managers.ClManager.footsteps = new()

◆ goodMaterial

Material BrokeProtocol.Managers.ClManager.goodMaterial

◆ handler

Action [] BrokeProtocol.Managers.ClManager.handler

◆ highlightEntity

ShEntity BrokeProtocol.Managers.ClManager.highlightEntity

◆ hud

HUD BrokeProtocol.Managers.ClManager.hud

◆ hudCanvas

Canvas BrokeProtocol.Managers.ClManager.hudCanvas

◆ inputDevice

string BrokeProtocol.Managers.ClManager.inputDevice
static

◆ inputSystem

InputSystemUIInputModule BrokeProtocol.Managers.ClManager.inputSystem

◆ inventoryActions

Dictionary<string, (string, byte, string)> BrokeProtocol.Managers.ClManager.inventoryActions = new()

◆ jobs

List<JobInfoShared> BrokeProtocol.Managers.ClManager.jobs

◆ languageIndex

int BrokeProtocol.Managers.ClManager.languageIndex
static

◆ lastInput

Vector3 BrokeProtocol.Managers.ClManager.lastInput

◆ lastMode

byte BrokeProtocol.Managers.ClManager.lastMode

◆ loadingTexture

Texture2D BrokeProtocol.Managers.ClManager.loadingTexture

◆ lookInput

Vector2 BrokeProtocol.Managers.ClManager.lookInput

◆ manager

ShManager BrokeProtocol.Managers.ClManager.manager

◆ mapMarkerPrefab

SpriteRenderer BrokeProtocol.Managers.ClManager.mapMarkerPrefab

◆ menuRect

RectTransform BrokeProtocol.Managers.ClManager.menuRect

◆ menus

Dictionary<string, Menu> BrokeProtocol.Managers.ClManager.menus = new()

◆ myID

int BrokeProtocol.Managers.ClManager.myID

◆ myPlayer

ShPlayer BrokeProtocol.Managers.ClManager.myPlayer

◆ netEvent

ENet.Event BrokeProtocol.Managers.ClManager.netEvent

◆ offlineConsole

bool BrokeProtocol.Managers.ClManager.offlineConsole

◆ permissions

byte [] BrokeProtocol.Managers.ClManager.permissions

◆ persistentSettings

PersistentSettings BrokeProtocol.Managers.ClManager.persistentSettings

◆ playerHeal

AudioClip BrokeProtocol.Managers.ClManager.playerHeal

◆ playerHealMinor

AudioClip BrokeProtocol.Managers.ClManager.playerHealMinor

◆ playerHurt

AudioClip BrokeProtocol.Managers.ClManager.playerHurt

◆ playerHurtMinor

AudioClip BrokeProtocol.Managers.ClManager.playerHurtMinor

◆ playerRecords

List<PlayerRecord> BrokeProtocol.Managers.ClManager.playerRecords

◆ playerRendererPrefab

PlayerRenderer BrokeProtocol.Managers.ClManager.playerRendererPrefab

◆ profileURL

string BrokeProtocol.Managers.ClManager.profileURL

◆ radioBarT

Transform BrokeProtocol.Managers.ClManager.radioBarT = null

◆ sampleBuffer

float [] BrokeProtocol.Managers.ClManager.sampleBuffer = new float[sampleSize]
static

◆ sampleDuration

const float BrokeProtocol.Managers.ClManager.sampleDuration = 60f / 1000f
static

◆ sampleSize

const int BrokeProtocol.Managers.ClManager.sampleSize = (int)(Util.sampleRate * sampleDuration)
static

◆ selfActions

Dictionary<string, string> BrokeProtocol.Managers.ClManager.selfActions = new()

◆ sensitivity

Vector2 BrokeProtocol.Managers.ClManager.sensitivity

◆ shaderLevel

int BrokeProtocol.Managers.ClManager.shaderLevel
static

◆ skid

Dictionary<string, AudioClip> BrokeProtocol.Managers.ClManager.skid = new()

◆ texts

Dictionary<string, TextDisplay> BrokeProtocol.Managers.ClManager.texts = new()

◆ toggleCursor

bool BrokeProtocol.Managers.ClManager.toggleCursor

◆ typeActions

Dictionary<string, (string, string)> BrokeProtocol.Managers.ClManager.typeActions = new()

◆ videoTexture

RenderTexture BrokeProtocol.Managers.ClManager.videoTexture

◆ voicePrefab

Voice BrokeProtocol.Managers.ClManager.voicePrefab

Property Documentation

◆ AllowHUD

bool BrokeProtocol.Managers.ClManager.AllowHUD
getset

◆ CurrentMenu

Menu BrokeProtocol.Managers.ClManager.CurrentMenu
get

◆ Fog

bool BrokeProtocol.Managers.ClManager.Fog
getset

◆ FramerateLimit

int BrokeProtocol.Managers.ClManager.FramerateLimit
getset

◆ MasterVolume

float BrokeProtocol.Managers.ClManager.MasterVolume
getset

◆ MusicVolume

float BrokeProtocol.Managers.ClManager.MusicVolume
getset

◆ StartAsServer

bool BrokeProtocol.Managers.ClManager.StartAsServer
get

◆ TopMenu

Menu BrokeProtocol.Managers.ClManager.TopMenu
get

◆ VoiceVolume

float BrokeProtocol.Managers.ClManager.VoiceVolume
staticgetset

The documentation for this class was generated from the following file: