Bazaar developer reference

CvTechEntry::GetGridY() const

Defined in
CvTechClasses.cpp, line 316
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_GetGridY

Hooks

static bool BeforeCvTechEntry_GetGridY(const CvTechEntry* self, int& result);static void AfterCvTechEntry_GetGridY(const CvTechEntry* self, int& result);static int ReplaceCvTechEntry_GetGridY(int (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_GetGridY>(host, &BeforeCvTechEntry_GetGridY);CivRegisterAfter<CivHooks::CvTechEntry_GetGridY>(host, &AfterCvTechEntry_GetGridY);CivRegisterReplace<CivHooks::CvTechEntry_GetGridY>(host, &ReplaceCvTechEntry_GetGridY);

Code

315/// Y location on tech tree page316int CvTechEntry::GetGridY() const317{318	return m_iGridY;319}