Bazaar developer reference

CvGlobals::getNumVoteInfos()

Defined in
CvGlobals.cpp, line 3291
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getNumVoteInfos

Hooks

static bool BeforeCvGlobals_getNumVoteInfos(CvGlobals* self, int& result);static void AfterCvGlobals_getNumVoteInfos(CvGlobals* self, int& result);static int ReplaceCvGlobals_getNumVoteInfos(int (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getNumVoteInfos>(host, &BeforeCvGlobals_getNumVoteInfos);CivRegisterAfter<CivHooks::CvGlobals_getNumVoteInfos>(host, &AfterCvGlobals_getNumVoteInfos);CivRegisterReplace<CivHooks::CvGlobals_getNumVoteInfos>(host, &ReplaceCvGlobals_getNumVoteInfos);

Code

3291int CvGlobals::getNumVoteInfos()3292{3293	return (int)m_paVoteInfo.size();3294}

Calls

Called by