Bazaar developer reference

CvGame::GetWinningTurn() const

Defined in
CvGame.cpp, line 4570
Class
CvGame
Hook name
CivHooks::CvGame_GetWinningTurn

Hooks

static bool BeforeCvGame_GetWinningTurn(const CvGame* self, int& result);static void AfterCvGame_GetWinningTurn(const CvGame* self, int& result);static int ReplaceCvGame_GetWinningTurn(int (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_GetWinningTurn>(host, &BeforeCvGame_GetWinningTurn);CivRegisterAfter<CivHooks::CvGame_GetWinningTurn>(host, &AfterCvGame_GetWinningTurn);CivRegisterReplace<CivHooks::CvGame_GetWinningTurn>(host, &ReplaceCvGame_GetWinningTurn);

Code

4570int CvGame::GetWinningTurn() const4571{4572	return m_iWinningTurn;4573}

Called by