Bazaar developer reference

CvGame::getGameState()

Defined in
CvGame.cpp, line 6969
Class
CvGame
Hook name
CivHooks::CvGame_getGameState

Hooks

static bool BeforeCvGame_getGameState(CvGame* self, GameStateTypes& result);static void AfterCvGame_getGameState(CvGame* self, GameStateTypes& result);static GameStateTypes ReplaceCvGame_getGameState(GameStateTypes (*original)(CvGame*), CvGame* self);CivRegisterBefore<CivHooks::CvGame_getGameState>(host, &BeforeCvGame_getGameState);CivRegisterAfter<CivHooks::CvGame_getGameState>(host, &AfterCvGame_getGameState);CivRegisterReplace<CivHooks::CvGame_getGameState>(host, &ReplaceCvGame_getGameState);

Code

6969GameStateTypes CvGame::getGameState()6970{6971	return m_eGameState;6972}

Called by