Bazaar developer reference

CvGlobals::getNumCommandInfos() const

Defined in
CvGlobals.cpp, line 6368
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getNumCommandInfos

Hooks

static bool BeforeCvGlobals_getNumCommandInfos(const CvGlobals* self, int& result);static void AfterCvGlobals_getNumCommandInfos(const CvGlobals* self, int& result);static int ReplaceCvGlobals_getNumCommandInfos(int (*original)(const CvGlobals*), const CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getNumCommandInfos>(host, &BeforeCvGlobals_getNumCommandInfos);CivRegisterAfter<CivHooks::CvGlobals_getNumCommandInfos>(host, &AfterCvGlobals_getNumCommandInfos);CivRegisterReplace<CivHooks::CvGlobals_getNumCommandInfos>(host, &ReplaceCvGlobals_getNumCommandInfos);

Code

6368int CvGlobals::getNumCommandInfos() const6369{6370	return NUM_COMMAND_TYPES;6371}