Bazaar developer reference

CvDllGame::GetWinningTurn() const

Defined in
CvDllGame.cpp, line 267
Class
CvDllGame
Hook name
CivHooks::CvDllGame_GetWinningTurn

Hooks

static bool BeforeCvDllGame_GetWinningTurn(const CvDllGame* self, int& result);static void AfterCvDllGame_GetWinningTurn(const CvDllGame* self, int& result);static int ReplaceCvDllGame_GetWinningTurn(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_GetWinningTurn::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_GetWinningTurn);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_GetWinningTurn::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_GetWinningTurn);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_GetWinningTurn::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_GetWinningTurn);

Code

267int CvDllGame::GetWinningTurn() const268{269	return m_pGame->GetWinningTurn();270}

Calls