Bazaar developer reference

CvCity::GetFaithPerTurnFromReligion() const

Defined in
CvCity.cpp, line 8760
Class
CvCity
Hook name
CivHooks::CvCity_GetFaithPerTurnFromReligion

Hooks

static bool BeforeCvCity_GetFaithPerTurnFromReligion(const CvCity* self, int& result);static void AfterCvCity_GetFaithPerTurnFromReligion(const CvCity* self, int& result);static int ReplaceCvCity_GetFaithPerTurnFromReligion(int (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_GetFaithPerTurnFromReligion>(host, &BeforeCvCity_GetFaithPerTurnFromReligion);CivRegisterAfter<CivHooks::CvCity_GetFaithPerTurnFromReligion>(host, &AfterCvCity_GetFaithPerTurnFromReligion);CivRegisterReplace<CivHooks::CvCity_GetFaithPerTurnFromReligion>(host, &ReplaceCvCity_GetFaithPerTurnFromReligion);

Code

8760int CvCity::GetFaithPerTurnFromReligion() const8761{8762	VALIDATE_OBJECT8763	return m_iFaithPerTurnFromReligion;8764}

Called by