Bazaar developer reference

CvGame::getWinner() const

Defined in
CvGame.cpp, line 5859
Class
CvGame
Hook name
CivHooks::CvGame_getWinner

Hooks

static bool BeforeCvGame_getWinner(const CvGame* self, TeamTypes& result);static void AfterCvGame_getWinner(const CvGame* self, TeamTypes& result);static TeamTypes ReplaceCvGame_getWinner(TeamTypes (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_getWinner>(host, &BeforeCvGame_getWinner);CivRegisterAfter<CivHooks::CvGame_getWinner>(host, &AfterCvGame_getWinner);CivRegisterReplace<CivHooks::CvGame_getWinner>(host, &ReplaceCvGame_getWinner);

Code

5859TeamTypes CvGame::getWinner() const5860{5861	return m_eWinner;5862}

Called by