Bazaar developer reference

CvGameSpeedInfo::getConstructPercent() const

Defined in
CvInfos.cpp, line 3334
Class
CvGameSpeedInfo
Hook name
CivHooks::CvGameSpeedInfo_getConstructPercent

Hooks

static bool BeforeCvGameSpeedInfo_getConstructPercent(const CvGameSpeedInfo* self, int& result);static void AfterCvGameSpeedInfo_getConstructPercent(const CvGameSpeedInfo* self, int& result);static int ReplaceCvGameSpeedInfo_getConstructPercent(int (*original)(const CvGameSpeedInfo*), const CvGameSpeedInfo* self);CivRegisterBefore<CivHooks::CvGameSpeedInfo_getConstructPercent>(host, &BeforeCvGameSpeedInfo_getConstructPercent);CivRegisterAfter<CivHooks::CvGameSpeedInfo_getConstructPercent>(host, &AfterCvGameSpeedInfo_getConstructPercent);CivRegisterReplace<CivHooks::CvGameSpeedInfo_getConstructPercent>(host, &ReplaceCvGameSpeedInfo_getConstructPercent);

Code

3334int CvGameSpeedInfo::getConstructPercent() const3335{3336	return m_iConstructPercent;3337}

Called by