Bazaar developer reference

CvEraInfo::getWarmongerPercent() const

Defined in
CvInfos.cpp, line 6812
Class
CvEraInfo
Hook name
CivHooks::CvEraInfo_getWarmongerPercent

Hooks

static bool BeforeCvEraInfo_getWarmongerPercent(const CvEraInfo* self, int& result);static void AfterCvEraInfo_getWarmongerPercent(const CvEraInfo* self, int& result);static int ReplaceCvEraInfo_getWarmongerPercent(int (*original)(const CvEraInfo*), const CvEraInfo* self);CivRegisterBefore<CivHooks::CvEraInfo_getWarmongerPercent>(host, &BeforeCvEraInfo_getWarmongerPercent);CivRegisterAfter<CivHooks::CvEraInfo_getWarmongerPercent>(host, &AfterCvEraInfo_getWarmongerPercent);CivRegisterReplace<CivHooks::CvEraInfo_getWarmongerPercent>(host, &ReplaceCvEraInfo_getWarmongerPercent);

Code

6812int CvEraInfo::getWarmongerPercent() const6813{6814	return m_iWarmongerPercent;6815}