Bazaar developer reference

CvDllPreGame::gameTurn()

Defined in
CvDllPreGame.cpp, line 269
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_gameTurn

Hooks

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

Code

269int CvDllPreGame::gameTurn()270{271	return CvPreGame::gameTurn();272}

Calls