Bazaar developer reference

CvEraInfo::getEventChancePerTurn() const

Defined in
CvInfos.cpp, line 6758
Class
CvEraInfo
Hook name
CivHooks::CvEraInfo_getEventChancePerTurn

Hooks

static bool BeforeCvEraInfo_getEventChancePerTurn(const CvEraInfo* self, int& result);static void AfterCvEraInfo_getEventChancePerTurn(const CvEraInfo* self, int& result);static int ReplaceCvEraInfo_getEventChancePerTurn(int (*original)(const CvEraInfo*), const CvEraInfo* self);CivRegisterBefore<CivHooks::CvEraInfo_getEventChancePerTurn>(host, &BeforeCvEraInfo_getEventChancePerTurn);CivRegisterAfter<CivHooks::CvEraInfo_getEventChancePerTurn>(host, &AfterCvEraInfo_getEventChancePerTurn);CivRegisterReplace<CivHooks::CvEraInfo_getEventChancePerTurn>(host, &ReplaceCvEraInfo_getEventChancePerTurn);

Code

6758int CvEraInfo::getEventChancePerTurn() const6759{6760	return m_iEventChancePerTurn;6761}