Bazaar developer reference

CvGlobals::getTerrainInfo()

Defined in
CvGlobals.cpp, line 2770
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getTerrainInfo

Hooks

static bool BeforeCvGlobals_getTerrainInfo(CvGlobals* self, std::vector<CvTerrainInfo*>*& result);static void AfterCvGlobals_getTerrainInfo(CvGlobals* self, std::vector<CvTerrainInfo*>*& result);static std::vector<CvTerrainInfo*>& ReplaceCvGlobals_getTerrainInfo(std::vector<CvTerrainInfo*>& (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getTerrainInfo>(host, &BeforeCvGlobals_getTerrainInfo);CivRegisterAfter<CivHooks::CvGlobals_getTerrainInfo>(host, &AfterCvGlobals_getTerrainInfo);CivRegisterReplace<CivHooks::CvGlobals_getTerrainInfo>(host, &ReplaceCvGlobals_getTerrainInfo);

Code

2770std::vector<CvTerrainInfo*>& CvGlobals::getTerrainInfo()2771{2772	return m_paTerrainInfo;2773}

Called by