Bazaar developer reference

CvGameSpeedInfo::getPeaceDealDuration() const

Defined in
CvInfos.cpp, line 3454
Class
CvGameSpeedInfo
Hook name
CivHooks::CvGameSpeedInfo_getPeaceDealDuration

Hooks

static bool BeforeCvGameSpeedInfo_getPeaceDealDuration(const CvGameSpeedInfo* self, int& result);static void AfterCvGameSpeedInfo_getPeaceDealDuration(const CvGameSpeedInfo* self, int& result);static int ReplaceCvGameSpeedInfo_getPeaceDealDuration(int (*original)(const CvGameSpeedInfo*), const CvGameSpeedInfo* self);CivRegisterBefore<CivHooks::CvGameSpeedInfo_getPeaceDealDuration>(host, &BeforeCvGameSpeedInfo_getPeaceDealDuration);CivRegisterAfter<CivHooks::CvGameSpeedInfo_getPeaceDealDuration>(host, &AfterCvGameSpeedInfo_getPeaceDealDuration);CivRegisterReplace<CivHooks::CvGameSpeedInfo_getPeaceDealDuration>(host, &ReplaceCvGameSpeedInfo_getPeaceDealDuration);

Code

3454int CvGameSpeedInfo::getPeaceDealDuration() const3455{3456	return m_iPeaceDealDuration;3457}

Called by