Bazaar developer reference

CvQuestInfo::getDuration() const

Defined in
CvQuestInfo.cpp, line 79
Class
CvQuestInfo
Hook name
CivHooks::CvQuestInfo_getDuration

Hooks

static bool BeforeCvQuestInfo_getDuration(const CvQuestInfo* self, int& result);static void AfterCvQuestInfo_getDuration(const CvQuestInfo* self, int& result);static int ReplaceCvQuestInfo_getDuration(int (*original)(const CvQuestInfo*), const CvQuestInfo* self);CivRegisterBefore<CivHooks::CvQuestInfo_getDuration>(host, &BeforeCvQuestInfo_getDuration);CivRegisterAfter<CivHooks::CvQuestInfo_getDuration>(host, &AfterCvQuestInfo_getDuration);CivRegisterReplace<CivHooks::CvQuestInfo_getDuration>(host, &ReplaceCvQuestInfo_getDuration);

Code

79int CvQuestInfo::getDuration() const80{81	return m_iDuration;82}

Called by