Bazaar developer reference

CvGameSpeedInfo::getFeatureProductionPercent() const

Defined in
CvInfos.cpp, line 3389
Class
CvGameSpeedInfo
Hook name
CivHooks::CvGameSpeedInfo_getFeatureProductionPercent

Hooks

static bool BeforeCvGameSpeedInfo_getFeatureProductionPercent(const CvGameSpeedInfo* self, int& result);static void AfterCvGameSpeedInfo_getFeatureProductionPercent(const CvGameSpeedInfo* self, int& result);static int ReplaceCvGameSpeedInfo_getFeatureProductionPercent(int (*original)(const CvGameSpeedInfo*), const CvGameSpeedInfo* self);CivRegisterBefore<CivHooks::CvGameSpeedInfo_getFeatureProductionPercent>(host, &BeforeCvGameSpeedInfo_getFeatureProductionPercent);CivRegisterAfter<CivHooks::CvGameSpeedInfo_getFeatureProductionPercent>(host, &AfterCvGameSpeedInfo_getFeatureProductionPercent);CivRegisterReplace<CivHooks::CvGameSpeedInfo_getFeatureProductionPercent>(host, &ReplaceCvGameSpeedInfo_getFeatureProductionPercent);

Code

3389int CvGameSpeedInfo::getFeatureProductionPercent() const3390{3391	return m_iFeatureProductionPercent;3392}

Called by