Bazaar developer reference

CvGameSpeedInfo::getGrowthPercent() const

Defined in
CvInfos.cpp, line 3324
Class
CvGameSpeedInfo
Hook name
CivHooks::CvGameSpeedInfo_getGrowthPercent

Hooks

static bool BeforeCvGameSpeedInfo_getGrowthPercent(const CvGameSpeedInfo* self, int& result);static void AfterCvGameSpeedInfo_getGrowthPercent(const CvGameSpeedInfo* self, int& result);static int ReplaceCvGameSpeedInfo_getGrowthPercent(int (*original)(const CvGameSpeedInfo*), const CvGameSpeedInfo* self);CivRegisterBefore<CivHooks::CvGameSpeedInfo_getGrowthPercent>(host, &BeforeCvGameSpeedInfo_getGrowthPercent);CivRegisterAfter<CivHooks::CvGameSpeedInfo_getGrowthPercent>(host, &AfterCvGameSpeedInfo_getGrowthPercent);CivRegisterReplace<CivHooks::CvGameSpeedInfo_getGrowthPercent>(host, &ReplaceCvGameSpeedInfo_getGrowthPercent);

Code

3324int CvGameSpeedInfo::getGrowthPercent() const3325{3326	return m_iGrowthPercent;3327}

Called by