Bazaar developer reference

CvDllPreGame::setGameTurn(int)

Defined in
CvDllPreGame.cpp, line 730
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setGameTurn

Hooks

static bool BeforeCvDllPreGame_setGameTurn(CvDllPreGame* self, int turn);static void AfterCvDllPreGame_setGameTurn(CvDllPreGame* self, int turn);static void ReplaceCvDllPreGame_setGameTurn(void (*original)(CvDllPreGame*, int), CvDllPreGame* self, int turn);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setGameTurn::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setGameTurn);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setGameTurn::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setGameTurn);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setGameTurn::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setGameTurn);

Code

730void CvDllPreGame::setGameTurn(int turn)731{732	CvPreGame::setGameTurn(turn);733}

Calls