Bazaar developer reference

CvGameSpeedInfo::getRelationshipDuration() const

Defined in
CvInfos.cpp, line 3459
Class
CvGameSpeedInfo
Hook name
CivHooks::CvGameSpeedInfo_getRelationshipDuration

Hooks

static bool BeforeCvGameSpeedInfo_getRelationshipDuration(const CvGameSpeedInfo* self, int& result);static void AfterCvGameSpeedInfo_getRelationshipDuration(const CvGameSpeedInfo* self, int& result);static int ReplaceCvGameSpeedInfo_getRelationshipDuration(int (*original)(const CvGameSpeedInfo*), const CvGameSpeedInfo* self);CivRegisterBefore<CivHooks::CvGameSpeedInfo_getRelationshipDuration>(host, &BeforeCvGameSpeedInfo_getRelationshipDuration);CivRegisterAfter<CivHooks::CvGameSpeedInfo_getRelationshipDuration>(host, &AfterCvGameSpeedInfo_getRelationshipDuration);CivRegisterReplace<CivHooks::CvGameSpeedInfo_getRelationshipDuration>(host, &ReplaceCvGameSpeedInfo_getRelationshipDuration);

Code

3459int CvGameSpeedInfo::getRelationshipDuration() const3460{3461	return m_iRelationshipDuration;3462}

Called by