CGlobalState

Global state manager

Type: Reference type

Methods

Declaration Description
void ClearStates() Clears all global states
void EntityAdd(const string& in globalName, const string& in mapName , GLOBALESTATE state) Adds a new global state object
void EntitySetState(const string& in globalName, GLOBALESTATE state) Sets the state of an existing global state object
void EntityUpdate(const string& in globalName, const string& in mapName) Updates the level name of the specified global state object
const GlobalEntity@ EntityFromTable(const string& in globalName) const Finds a global state object by name
const GLOBALESTATE EntityGetState(const string& in globalName) const Gets the state of the specified global state object
bool EntityInTable(const string& in globalName) const Returns whether the global state object is in the table of objects
void DumpGlobals() const Dumps all global state objects to the console