Bazaar developer reference

CvTechEntry::GetGridX() const

Defined in
CvTechClasses.cpp, line 310
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_GetGridX

Hooks

static bool BeforeCvTechEntry_GetGridX(const CvTechEntry* self, int& result);static void AfterCvTechEntry_GetGridX(const CvTechEntry* self, int& result);static int ReplaceCvTechEntry_GetGridX(int (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_GetGridX>(host, &BeforeCvTechEntry_GetGridX);CivRegisterAfter<CivHooks::CvTechEntry_GetGridX>(host, &AfterCvTechEntry_GetGridX);CivRegisterReplace<CivHooks::CvTechEntry_GetGridX>(host, &ReplaceCvTechEntry_GetGridX);

Code

309/// X location on tech tree page310int CvTechEntry::GetGridX() const311{312	return m_iGridX;313}

Called by