Bazaar developer reference

CvGlobals::getNumTechInfos()

Defined in
CvGlobals.cpp, line 3908
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getNumTechInfos

Hooks

static bool BeforeCvGlobals_getNumTechInfos(CvGlobals* self, int& result);static void AfterCvGlobals_getNumTechInfos(CvGlobals* self, int& result);static int ReplaceCvGlobals_getNumTechInfos(int (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getNumTechInfos>(host, &BeforeCvGlobals_getNumTechInfos);CivRegisterAfter<CivHooks::CvGlobals_getNumTechInfos>(host, &AfterCvGlobals_getNumTechInfos);CivRegisterReplace<CivHooks::CvGlobals_getNumTechInfos>(host, &ReplaceCvGlobals_getNumTechInfos);

Code

3908int CvGlobals::getNumTechInfos()3909{3910	return (int)m_pTechs->GetTechEntries().size();3911}

Calls

Called by

36 functions in 16 files