Bazaar developer reference

CvWorldInfo::getMaxActiveReligions() const

Defined in
CvInfos.cpp, line 5996
Class
CvWorldInfo
Hook name
CivHooks::CvWorldInfo_getMaxActiveReligions

Hooks

static bool BeforeCvWorldInfo_getMaxActiveReligions(const CvWorldInfo* self, int& result);static void AfterCvWorldInfo_getMaxActiveReligions(const CvWorldInfo* self, int& result);static int ReplaceCvWorldInfo_getMaxActiveReligions(int (*original)(const CvWorldInfo*), const CvWorldInfo* self);CivRegisterBefore<CivHooks::CvWorldInfo_getMaxActiveReligions>(host, &BeforeCvWorldInfo_getMaxActiveReligions);CivRegisterAfter<CivHooks::CvWorldInfo_getMaxActiveReligions>(host, &AfterCvWorldInfo_getMaxActiveReligions);CivRegisterReplace<CivHooks::CvWorldInfo_getMaxActiveReligions>(host, &ReplaceCvWorldInfo_getMaxActiveReligions);

Code

5996int CvWorldInfo::getMaxActiveReligions() const5997{5998	return m_iMaxActiveReligions;5999}

Called by