Bazaar developer reference

CvDllPreGame::setGameStartType(GameStartTypes)

Defined in
CvDllPreGame.cpp, line 760
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setGameStartType

Hooks

static bool BeforeCvDllPreGame_setGameStartType(CvDllPreGame* self, GameStartTypes g);static void AfterCvDllPreGame_setGameStartType(CvDllPreGame* self, GameStartTypes g);static void ReplaceCvDllPreGame_setGameStartType(void (*original)(CvDllPreGame*, GameStartTypes), CvDllPreGame* self, GameStartTypes g);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setGameStartType::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setGameStartType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setGameStartType::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setGameStartType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setGameStartType::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setGameStartType);

Code

760void CvDllPreGame::setGameStartType(GameStartTypes g)761{762	CvPreGame::setGameStartType(g);763}

Calls