Bazaar developer reference

CvBuildingEntry::GetFaithCost() const

Defined in
CvBuildingClasses.cpp, line 930
Class
CvBuildingEntry
Hook name
CivHooks::CvBuildingEntry_GetFaithCost

Hooks

static bool BeforeCvBuildingEntry_GetFaithCost(const CvBuildingEntry* self, int& result);static void AfterCvBuildingEntry_GetFaithCost(const CvBuildingEntry* self, int& result);static int ReplaceCvBuildingEntry_GetFaithCost(int (*original)(const CvBuildingEntry*), const CvBuildingEntry* self);CivRegisterBefore<CivHooks::CvBuildingEntry_GetFaithCost>(host, &BeforeCvBuildingEntry_GetFaithCost);CivRegisterAfter<CivHooks::CvBuildingEntry_GetFaithCost>(host, &AfterCvBuildingEntry_GetFaithCost);CivRegisterReplace<CivHooks::CvBuildingEntry_GetFaithCost>(host, &ReplaceCvBuildingEntry_GetFaithCost);

Code

929/// Faith to construct the unit (as a percentage of cost of next Great Prophet)930int CvBuildingEntry::GetFaithCost() const931{932	return m_iFaithCost;933}

Called by