Bazaar developer reference

CvGame::GetNumVictoryVotesTallied() const

Defined in
CvGame.cpp, line 5302
Class
CvGame
Hook name
CivHooks::CvGame_GetNumVictoryVotesTallied

Hooks

static bool BeforeCvGame_GetNumVictoryVotesTallied(const CvGame* self, int& result);static void AfterCvGame_GetNumVictoryVotesTallied(const CvGame* self, int& result);static int ReplaceCvGame_GetNumVictoryVotesTallied(int (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_GetNumVictoryVotesTallied>(host, &BeforeCvGame_GetNumVictoryVotesTallied);CivRegisterAfter<CivHooks::CvGame_GetNumVictoryVotesTallied>(host, &AfterCvGame_GetNumVictoryVotesTallied);CivRegisterReplace<CivHooks::CvGame_GetNumVictoryVotesTallied>(host, &ReplaceCvGame_GetNumVictoryVotesTallied);

Code

5301/// How many diplo votes tallied5302int CvGame::GetNumVictoryVotesTallied() const5303{5304	return m_iNumVictoryVotesTallied;5305}

Called by