Bazaar developer reference

CvVoteInfo::getPopulationThreshold() const

Defined in
CvInfos.cpp, line 6459
Class
CvVoteInfo
Hook name
CivHooks::CvVoteInfo_getPopulationThreshold

Hooks

static bool BeforeCvVoteInfo_getPopulationThreshold(const CvVoteInfo* self, int& result);static void AfterCvVoteInfo_getPopulationThreshold(const CvVoteInfo* self, int& result);static int ReplaceCvVoteInfo_getPopulationThreshold(int (*original)(const CvVoteInfo*), const CvVoteInfo* self);CivRegisterBefore<CivHooks::CvVoteInfo_getPopulationThreshold>(host, &BeforeCvVoteInfo_getPopulationThreshold);CivRegisterAfter<CivHooks::CvVoteInfo_getPopulationThreshold>(host, &AfterCvVoteInfo_getPopulationThreshold);CivRegisterReplace<CivHooks::CvVoteInfo_getPopulationThreshold>(host, &ReplaceCvVoteInfo_getPopulationThreshold);

Code

6459int CvVoteInfo::getPopulationThreshold() const6460{6461	return m_iPopulationThreshold;6462}