Bazaar developer reference

CvPolicyEntry::GetAllFeatureProduction() const

Defined in
CvPolicyClasses.cpp, line 1186
Class
CvPolicyEntry
Hook name
CivHooks::CvPolicyEntry_GetAllFeatureProduction

Hooks

static bool BeforeCvPolicyEntry_GetAllFeatureProduction(const CvPolicyEntry* self, int& result);static void AfterCvPolicyEntry_GetAllFeatureProduction(const CvPolicyEntry* self, int& result);static int ReplaceCvPolicyEntry_GetAllFeatureProduction(int (*original)(const CvPolicyEntry*), const CvPolicyEntry* self);CivRegisterBefore<CivHooks::CvPolicyEntry_GetAllFeatureProduction>(host, &BeforeCvPolicyEntry_GetAllFeatureProduction);CivRegisterAfter<CivHooks::CvPolicyEntry_GetAllFeatureProduction>(host, &AfterCvPolicyEntry_GetAllFeatureProduction);CivRegisterReplace<CivHooks::CvPolicyEntry_GetAllFeatureProduction>(host, &ReplaceCvPolicyEntry_GetAllFeatureProduction);

Code

1185/// How much Production does removing ALL Features now give us?1186int CvPolicyEntry::GetAllFeatureProduction() const1187{1188	return m_iAllFeatureProduction;1189}

Called by