Bazaar developer reference

CvGameSpeedInfo::getBarbPercent() const

Defined in
CvInfos.cpp, line 3384
Class
CvGameSpeedInfo
Hook name
CivHooks::CvGameSpeedInfo_getBarbPercent

Hooks

static bool BeforeCvGameSpeedInfo_getBarbPercent(const CvGameSpeedInfo* self, int& result);static void AfterCvGameSpeedInfo_getBarbPercent(const CvGameSpeedInfo* self, int& result);static int ReplaceCvGameSpeedInfo_getBarbPercent(int (*original)(const CvGameSpeedInfo*), const CvGameSpeedInfo* self);CivRegisterBefore<CivHooks::CvGameSpeedInfo_getBarbPercent>(host, &BeforeCvGameSpeedInfo_getBarbPercent);CivRegisterAfter<CivHooks::CvGameSpeedInfo_getBarbPercent>(host, &AfterCvGameSpeedInfo_getBarbPercent);CivRegisterReplace<CivHooks::CvGameSpeedInfo_getBarbPercent>(host, &ReplaceCvGameSpeedInfo_getBarbPercent);

Code

3384int CvGameSpeedInfo::getBarbPercent() const3385{3386	return m_iBarbPercent;3387}

Called by