Bazaar developer reference

CvGlobals::getVoteInfo()

Defined in
CvGlobals.cpp, line 3296
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getVoteInfo

Hooks

static bool BeforeCvGlobals_getVoteInfo(CvGlobals* self, std::vector<CvVoteInfo*>*& result);static void AfterCvGlobals_getVoteInfo(CvGlobals* self, std::vector<CvVoteInfo*>*& result);static std::vector<CvVoteInfo*>& ReplaceCvGlobals_getVoteInfo(std::vector<CvVoteInfo*>& (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getVoteInfo>(host, &BeforeCvGlobals_getVoteInfo);CivRegisterAfter<CivHooks::CvGlobals_getVoteInfo>(host, &AfterCvGlobals_getVoteInfo);CivRegisterReplace<CivHooks::CvGlobals_getVoteInfo>(host, &ReplaceCvGlobals_getVoteInfo);

Code

3296std::vector<CvVoteInfo*>& CvGlobals::getVoteInfo()3297{3298	return m_paVoteInfo;3299}

Called by