Bazaar developer reference

CvWorldInfo::getGridWidth() const

Defined in
CvInfos.cpp, line 5986
Class
CvWorldInfo
Hook name
CivHooks::CvWorldInfo_getGridWidth

Hooks

static bool BeforeCvWorldInfo_getGridWidth(const CvWorldInfo* self, int& result);static void AfterCvWorldInfo_getGridWidth(const CvWorldInfo* self, int& result);static int ReplaceCvWorldInfo_getGridWidth(int (*original)(const CvWorldInfo*), const CvWorldInfo* self);CivRegisterBefore<CivHooks::CvWorldInfo_getGridWidth>(host, &BeforeCvWorldInfo_getGridWidth);CivRegisterAfter<CivHooks::CvWorldInfo_getGridWidth>(host, &AfterCvWorldInfo_getGridWidth);CivRegisterReplace<CivHooks::CvWorldInfo_getGridWidth>(host, &ReplaceCvWorldInfo_getGridWidth);

Code

5986int CvWorldInfo::getGridWidth() const5987{5988	return m_iGridWidth;5989}

Called by