Bazaar developer reference

CvGlobals::getVoteSourceInfo()

Defined in
CvGlobals.cpp, line 3024
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getVoteSourceInfo

Hooks

static bool BeforeCvGlobals_getVoteSourceInfo(CvGlobals* self, std::vector<CvVoteSourceInfo*>*& result);static void AfterCvGlobals_getVoteSourceInfo(CvGlobals* self, std::vector<CvVoteSourceInfo*>*& result);static std::vector<CvVoteSourceInfo*>& ReplaceCvGlobals_getVoteSourceInfo(std::vector<CvVoteSourceInfo*>& (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getVoteSourceInfo>(host, &BeforeCvGlobals_getVoteSourceInfo);CivRegisterAfter<CivHooks::CvGlobals_getVoteSourceInfo>(host, &AfterCvGlobals_getVoteSourceInfo);CivRegisterReplace<CivHooks::CvGlobals_getVoteSourceInfo>(host, &ReplaceCvGlobals_getVoteSourceInfo);

Code

3024std::vector<CvVoteSourceInfo*>& CvGlobals::getVoteSourceInfo()3025{3026	return m_paVoteSourceInfo;3027}

Called by