Bazaar developer reference

CvGameSpeedInfo::getCreatePercent() const

Defined in
CvInfos.cpp, line 3339
Class
CvGameSpeedInfo
Hook name
CivHooks::CvGameSpeedInfo_getCreatePercent

Hooks

static bool BeforeCvGameSpeedInfo_getCreatePercent(const CvGameSpeedInfo* self, int& result);static void AfterCvGameSpeedInfo_getCreatePercent(const CvGameSpeedInfo* self, int& result);static int ReplaceCvGameSpeedInfo_getCreatePercent(int (*original)(const CvGameSpeedInfo*), const CvGameSpeedInfo* self);CivRegisterBefore<CivHooks::CvGameSpeedInfo_getCreatePercent>(host, &BeforeCvGameSpeedInfo_getCreatePercent);CivRegisterAfter<CivHooks::CvGameSpeedInfo_getCreatePercent>(host, &AfterCvGameSpeedInfo_getCreatePercent);CivRegisterReplace<CivHooks::CvGameSpeedInfo_getCreatePercent>(host, &ReplaceCvGameSpeedInfo_getCreatePercent);

Code

3339int CvGameSpeedInfo::getCreatePercent() const3340{3341	return m_iCreatePercent;3342}

Called by