Bazaar developer reference

CvResolutionEntry::GetVotesForFollowingReligion() const

Defined in
CvVotingClasses.cpp, line 10638
Class
CvResolutionEntry
Hook name
CivHooks::CvResolutionEntry_GetVotesForFollowingReligion

Hooks

static bool BeforeCvResolutionEntry_GetVotesForFollowingReligion(const CvResolutionEntry* self, int& result);static void AfterCvResolutionEntry_GetVotesForFollowingReligion(const CvResolutionEntry* self, int& result);static int ReplaceCvResolutionEntry_GetVotesForFollowingReligion(int (*original)(const CvResolutionEntry*), const CvResolutionEntry* self);CivRegisterBefore<CivHooks::CvResolutionEntry_GetVotesForFollowingReligion>(host, &BeforeCvResolutionEntry_GetVotesForFollowingReligion);CivRegisterAfter<CivHooks::CvResolutionEntry_GetVotesForFollowingReligion>(host, &AfterCvResolutionEntry_GetVotesForFollowingReligion);CivRegisterReplace<CivHooks::CvResolutionEntry_GetVotesForFollowingReligion>(host, &ReplaceCvResolutionEntry_GetVotesForFollowingReligion);

Code

10638int CvResolutionEntry::GetVotesForFollowingReligion() const10639{10640	return m_iVotesForFollowingReligion;10641}

Called by