Bazaar developer reference

CvGlobals::getYieldInfo()

Defined in
CvGlobals.cpp, line 3128
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getYieldInfo

Hooks

static bool BeforeCvGlobals_getYieldInfo(CvGlobals* self, std::vector<CvYieldInfo*>*& result);static void AfterCvGlobals_getYieldInfo(CvGlobals* self, std::vector<CvYieldInfo*>*& result);static std::vector<CvYieldInfo*>& ReplaceCvGlobals_getYieldInfo(std::vector<CvYieldInfo*>& (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getYieldInfo>(host, &BeforeCvGlobals_getYieldInfo);CivRegisterAfter<CivHooks::CvGlobals_getYieldInfo>(host, &AfterCvGlobals_getYieldInfo);CivRegisterReplace<CivHooks::CvGlobals_getYieldInfo>(host, &ReplaceCvGlobals_getYieldInfo);

Code

3128std::vector<CvYieldInfo*>& CvGlobals::getYieldInfo()3129{3130	return m_paYieldInfo;3131}

Called by