‪GamecraftModdingAPI  ‪v1.8.0
‪The unofficial Gamecraft modding API
GamecraftModdingAPI.Utility.GameState Class Reference

Utility to get the state of the current Gamecraft 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 Gamecraft game

Member Function Documentation

◆ Init()

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

◆ IsBuildMode()

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

‪Is the game in edit mode?

Returns
‪Whether the game is in build mode

◆ IsInGame()

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

‪Is a game loaded?

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

◆ IsSimulationMode()

static bool GamecraftModdingAPI.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: