‪TechbloxModdingAPI  ‪v2.2.0
‪The unofficial Techblox modding API
TechbloxModdingAPI.Utility.GameState Class Reference

Utility to get the state of the current Techblox game More...

Static Public Member Functions

static void Init ()
 
static bool IsBuildMode ()
 ‪Is the game in edit mode? More...
 
static bool IsInGame ()
 ‪Is a game loaded? More...
 
static bool IsSimulationMode ()
 ‪Is the game in simulation mode? More...
 

Detailed Description

Utility to get the state of the current Techblox game

Member Function Documentation

◆ Init()

static void TechbloxModdingAPI.Utility.GameState.Init ( )
inlinestatic

◆ IsBuildMode()

static bool TechbloxModdingAPI.Utility.GameState.IsBuildMode ( )
inlinestatic

‪Is the game in edit mode?

Returns
‪Whether the game is in build mode

◆ IsInGame()

static bool TechbloxModdingAPI.Utility.GameState.IsInGame ( )
inlinestatic

‪Is a game loaded?

Returns
‪Whether Techblox has a game open (false = Main Menu)

◆ IsSimulationMode()

static bool TechbloxModdingAPI.Utility.GameState.IsSimulationMode ( )
inlinestatic

‪Is the game in simulation mode?

Returns
‪Whether the game is in simulation mode

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