Bazaar developer reference

CvProjectEntry::GetProductionCost() const

Defined in
CvProjectClasses.cpp, line 139
Class
CvProjectEntry
Hook name
CivHooks::CvProjectEntry_GetProductionCost

Hooks

static bool BeforeCvProjectEntry_GetProductionCost(const CvProjectEntry* self, int& result);static void AfterCvProjectEntry_GetProductionCost(const CvProjectEntry* self, int& result);static int ReplaceCvProjectEntry_GetProductionCost(int (*original)(const CvProjectEntry*), const CvProjectEntry* self);CivRegisterBefore<CivHooks::CvProjectEntry_GetProductionCost>(host, &BeforeCvProjectEntry_GetProductionCost);CivRegisterAfter<CivHooks::CvProjectEntry_GetProductionCost>(host, &AfterCvProjectEntry_GetProductionCost);CivRegisterReplace<CivHooks::CvProjectEntry_GetProductionCost>(host, &ReplaceCvProjectEntry_GetProductionCost);

Code

138/// Shields to construct the building139int CvProjectEntry::GetProductionCost() const140{141	return m_iProductionCost;142}

Called by