Bazaar developer reference

CvDllGame::GetGameTurn() const

Defined in
CvDllGame.cpp, line 108
Class
CvDllGame
Hook name
CivHooks::CvDllGame_GetGameTurn

Hooks

static bool BeforeCvDllGame_GetGameTurn(const CvDllGame* self, int& result);static void AfterCvDllGame_GetGameTurn(const CvDllGame* self, int& result);static int ReplaceCvDllGame_GetGameTurn(int (*original)(const CvDllGame*), const CvDllGame* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_GetGameTurn::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_GetGameTurn);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_GetGameTurn::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_GetGameTurn);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_GetGameTurn::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_GetGameTurn);

Code

108int CvDllGame::GetGameTurn() const109{110	return m_pGame->getGameTurn();111}

Calls