Bazaar developer reference

CvMap::getWorldInfo() const

Defined in
CvMap.cpp, line 1145
Class
CvMap
Hook name
CivHooks::CvMap_getWorldInfo

Hooks

static bool BeforeCvMap_getWorldInfo(const CvMap* self, const CvWorldInfo*& result);static void AfterCvMap_getWorldInfo(const CvMap* self, const CvWorldInfo*& result);static const CvWorldInfo& ReplaceCvMap_getWorldInfo(const CvWorldInfo& (*original)(const CvMap*), const CvMap* self);CivRegisterBefore<CivHooks::CvMap_getWorldInfo>(host, &BeforeCvMap_getWorldInfo);CivRegisterAfter<CivHooks::CvMap_getWorldInfo>(host, &AfterCvMap_getWorldInfo);CivRegisterReplace<CivHooks::CvMap_getWorldInfo>(host, &ReplaceCvMap_getWorldInfo);

Code

1145const CvWorldInfo& CvMap::getWorldInfo() const1146{1147	return CvPreGame::worldInfo();1148}

Calls

Called by