Bazaar developer reference

CvTechEntry::GetEra() const

Defined in
CvTechClasses.cpp, line 244
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_GetEra

Hooks

static bool BeforeCvTechEntry_GetEra(const CvTechEntry* self, int& result);static void AfterCvTechEntry_GetEra(const CvTechEntry* self, int& result);static int ReplaceCvTechEntry_GetEra(int (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_GetEra>(host, &BeforeCvTechEntry_GetEra);CivRegisterAfter<CivHooks::CvTechEntry_GetEra>(host, &AfterCvTechEntry_GetEra);CivRegisterReplace<CivHooks::CvTechEntry_GetEra>(host, &ReplaceCvTechEntry_GetEra);

Code

243/// Historical era within tech tree244int CvTechEntry::GetEra() const245{246	return m_iEra;247}

Called by