Bazaar developer reference

CvPreGame::setGameStartType(GameStartTypes)

Defined in
CvPreGame.cpp, line 2601
Hook name
CivHooks::CvPreGame_setGameStartType

Hooks

static bool BeforeCvPreGame_setGameStartType(GameStartTypes eStartType);static void AfterCvPreGame_setGameStartType(GameStartTypes eStartType);static void ReplaceCvPreGame_setGameStartType(void (*original)(GameStartTypes), GameStartTypes eStartType);CivRegisterBefore<CivHooks::CvPreGame_setGameStartType>(host, &BeforeCvPreGame_setGameStartType);CivRegisterAfter<CivHooks::CvPreGame_setGameStartType>(host, &AfterCvPreGame_setGameStartType);CivRegisterReplace<CivHooks::CvPreGame_setGameStartType>(host, &ReplaceCvPreGame_setGameStartType);

Code

2601void setGameStartType(GameStartTypes eStartType)2602{2603	s_gameStartType = eStartType;2604}

Called by