Bazaar developer reference

CvPreGame::gameType()

Defined in
CvPreGame.cpp, line 1079
Hook name
CivHooks::CvPreGame_gameType

Hooks

static bool BeforeCvPreGame_gameType(GameTypes& result);static void AfterCvPreGame_gameType(GameTypes& result);static GameTypes ReplaceCvPreGame_gameType(GameTypes (*original)());CivRegisterBefore<CivHooks::CvPreGame_gameType>(host, &BeforeCvPreGame_gameType);CivRegisterAfter<CivHooks::CvPreGame_gameType>(host, &AfterCvPreGame_gameType);CivRegisterReplace<CivHooks::CvPreGame_gameType>(host, &ReplaceCvPreGame_gameType);

Code

1079GameTypes gameType()1080{1081	return s_gameType;1082}

Calls

Called by