Bazaar developer reference

CvGlobals::getNumVoteSourceInfos()

Defined in
CvGlobals.cpp, line 3019
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getNumVoteSourceInfos

Hooks

static bool BeforeCvGlobals_getNumVoteSourceInfos(CvGlobals* self, int& result);static void AfterCvGlobals_getNumVoteSourceInfos(CvGlobals* self, int& result);static int ReplaceCvGlobals_getNumVoteSourceInfos(int (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getNumVoteSourceInfos>(host, &BeforeCvGlobals_getNumVoteSourceInfos);CivRegisterAfter<CivHooks::CvGlobals_getNumVoteSourceInfos>(host, &AfterCvGlobals_getNumVoteSourceInfos);CivRegisterReplace<CivHooks::CvGlobals_getNumVoteSourceInfos>(host, &ReplaceCvGlobals_getNumVoteSourceInfos);

Code

3019int CvGlobals::getNumVoteSourceInfos()3020{3021	return (int)m_paVoteSourceInfo.size();3022}

Calls

Called by