Bazaar developer reference

CvGameSpeedInfo::GetDealDuration() const

Defined in
CvInfos.cpp, line 3319
Class
CvGameSpeedInfo
Hook name
CivHooks::CvGameSpeedInfo_GetDealDuration

Hooks

static bool BeforeCvGameSpeedInfo_GetDealDuration(const CvGameSpeedInfo* self, int& result);static void AfterCvGameSpeedInfo_GetDealDuration(const CvGameSpeedInfo* self, int& result);static int ReplaceCvGameSpeedInfo_GetDealDuration(int (*original)(const CvGameSpeedInfo*), const CvGameSpeedInfo* self);CivRegisterBefore<CivHooks::CvGameSpeedInfo_GetDealDuration>(host, &BeforeCvGameSpeedInfo_GetDealDuration);CivRegisterAfter<CivHooks::CvGameSpeedInfo_GetDealDuration>(host, &AfterCvGameSpeedInfo_GetDealDuration);CivRegisterReplace<CivHooks::CvGameSpeedInfo_GetDealDuration>(host, &ReplaceCvGameSpeedInfo_GetDealDuration);

Code

3319int CvGameSpeedInfo::GetDealDuration() const3320{3321	return m_iDealDuration;3322}

Called by