TechbloxModdingAPI
v2.2.0
The unofficial Techblox modding API
|
The Techblox application that is running this code right now. More...
Public Member Functions | |
void | CloseCurrentPrompt () |
void | PromptUser (Error popup) |
Open a popup which prompts the user to click a button. This reuses Techblox's error dialog popup More... | |
void | SelectFirstPromptButton () |
void | SelectSecondPromptButton () |
Static Protected Attributes | |
static Action< object, Error > | EnqueueError |
static Func< object > | ErrorHandlerInstanceGetter |
Package Functions | |
void | CloseBetaPopup () |
Static Package Functions | |
static void | Init () |
Properties | |
bool | InMenu [get] |
Whether Techblox is in the Main Menu More... | |
static Client | Instance = new Client() [get] |
Game[] | MyGames [get] |
Game saves currently visible in the menu. These take a second to completely populate after the EnterMenu event fires. More... | |
string | UnityVersion [get] |
Unity version string. More... | |
string | Version [get] |
Techblox build version string. Usually this is in the form YYYY.mm.DD.HH.MM.SS More... | |
Events | |
static EventHandler< MenuEventArgs > | EnterMenu [add, remove] |
An event that fires whenever the main menu is loaded. More... | |
static EventHandler< MenuEventArgs > | ExitMenu [add, remove] |
An event that fire whenever the main menu is exited. More... | |
The Techblox application that is running this code right now.
|
inlinepackage |
|
inline |
|
inlinestaticpackage |
|
inline |
Open a popup which prompts the user to click a button. This reuses Techblox's error dialog popup
popup | The popup to display. Use an instance of SingleChoicePrompt or DualChoicePrompt. |
|
inline |
|
inline |
|
staticprotected |
|
staticprotected |
|
get |
Whether Techblox is in the Main Menu
true
if in menu; false
when loading or in a game.
|
get |
Game saves currently visible in the menu. These take a second to completely populate after the EnterMenu event fires.
My games.
|
get |
Unity version string.
The unity version.
|
get |
Techblox build version string. Usually this is in the form YYYY.mm.DD.HH.MM.SS
The version.
|
staticaddremove |
An event that fires whenever the main menu is loaded.
|
staticaddremove |
An event that fire whenever the main menu is exited.