Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
BrokeProtocol.Utility.InputButton Class Referencesealed

Public Member Functions

 InputButton (InputType index, string functionName, bool repeat, int mobileButtonIndex, bool mouse=false)
 
bool GetPrefKey (out int button)
 
void SetKey (int button)
 
void SetDefault ()
 

Public Attributes

readonly InputType index
 
readonly string functionName
 
readonly bool repeat
 
readonly int mobileButtonIndex
 
readonly bool mouse
 
readonly string preferenceString
 
int button
 

Constructor & Destructor Documentation

◆ InputButton()

BrokeProtocol.Utility.InputButton.InputButton ( InputType index,
string functionName,
bool repeat,
int mobileButtonIndex,
bool mouse = false )
inline

Member Function Documentation

◆ GetPrefKey()

bool BrokeProtocol.Utility.InputButton.GetPrefKey ( out int button)
inline

◆ SetDefault()

void BrokeProtocol.Utility.InputButton.SetDefault ( )
inline

◆ SetKey()

void BrokeProtocol.Utility.InputButton.SetKey ( int button)
inline

Member Data Documentation

◆ button

int BrokeProtocol.Utility.InputButton.button

◆ functionName

readonly string BrokeProtocol.Utility.InputButton.functionName

◆ index

readonly InputType BrokeProtocol.Utility.InputButton.index

◆ mobileButtonIndex

readonly int BrokeProtocol.Utility.InputButton.mobileButtonIndex

◆ mouse

readonly bool BrokeProtocol.Utility.InputButton.mouse

◆ preferenceString

readonly string BrokeProtocol.Utility.InputButton.preferenceString

◆ repeat

readonly bool BrokeProtocol.Utility.InputButton.repeat

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