Bazaar developer reference

CvGame::GetNumVictoryVotesExpected() const

Defined in
CvGame.cpp, line 5333
Class
CvGame
Hook name
CivHooks::CvGame_GetNumVictoryVotesExpected

Hooks

static bool BeforeCvGame_GetNumVictoryVotesExpected(const CvGame* self, int& result);static void AfterCvGame_GetNumVictoryVotesExpected(const CvGame* self, int& result);static int ReplaceCvGame_GetNumVictoryVotesExpected(int (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_GetNumVictoryVotesExpected>(host, &BeforeCvGame_GetNumVictoryVotesExpected);CivRegisterAfter<CivHooks::CvGame_GetNumVictoryVotesExpected>(host, &AfterCvGame_GetNumVictoryVotesExpected);CivRegisterReplace<CivHooks::CvGame_GetNumVictoryVotesExpected>(host, &ReplaceCvGame_GetNumVictoryVotesExpected);

Code

5332/// How many diplo votes Expected5333int CvGame::GetNumVictoryVotesExpected() const5334{5335	return m_iNumVictoryVotesExpected;5336}

Called by