Bazaar developer reference

CvGlobals::getNumBuildingInfos()

Defined in
CvGlobals.cpp, line 3356
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getNumBuildingInfos

Hooks

static bool BeforeCvGlobals_getNumBuildingInfos(CvGlobals* self, int& result);static void AfterCvGlobals_getNumBuildingInfos(CvGlobals* self, int& result);static int ReplaceCvGlobals_getNumBuildingInfos(int (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getNumBuildingInfos>(host, &BeforeCvGlobals_getNumBuildingInfos);CivRegisterAfter<CivHooks::CvGlobals_getNumBuildingInfos>(host, &AfterCvGlobals_getNumBuildingInfos);CivRegisterReplace<CivHooks::CvGlobals_getNumBuildingInfos>(host, &ReplaceCvGlobals_getNumBuildingInfos);

Code

3356int CvGlobals::getNumBuildingInfos()3357{3358	return m_pBuildings->GetNumBuildings();3359}

Calls

Called by

53 functions in 19 files