Bazaar developer reference

CvGlobals::getGreatPersonInfo()

Defined in
CvGlobals.cpp, line 2745
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getGreatPersonInfo

Hooks

static bool BeforeCvGlobals_getGreatPersonInfo(CvGlobals* self, std::vector<CvGreatPersonInfo*>*& result);static void AfterCvGlobals_getGreatPersonInfo(CvGlobals* self, std::vector<CvGreatPersonInfo*>*& result);static std::vector<CvGreatPersonInfo*>& ReplaceCvGlobals_getGreatPersonInfo(std::vector<CvGreatPersonInfo*>& (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getGreatPersonInfo>(host, &BeforeCvGlobals_getGreatPersonInfo);CivRegisterAfter<CivHooks::CvGlobals_getGreatPersonInfo>(host, &AfterCvGlobals_getGreatPersonInfo);CivRegisterReplace<CivHooks::CvGlobals_getGreatPersonInfo>(host, &ReplaceCvGlobals_getGreatPersonInfo);

Code

2745std::vector<CvGreatPersonInfo*>& CvGlobals::getGreatPersonInfo()2746{2747	return m_paGreatPersonInfo;2748}

Called by