Bazaar developer reference

CvGlobals::getNumMPOptions() const

Defined in
CvGlobals.cpp, line 6360
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getNumMPOptions

Hooks

static bool BeforeCvGlobals_getNumMPOptions(const CvGlobals* self, int& result);static void AfterCvGlobals_getNumMPOptions(const CvGlobals* self, int& result);static int ReplaceCvGlobals_getNumMPOptions(int (*original)(const CvGlobals*), const CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getNumMPOptions>(host, &BeforeCvGlobals_getNumMPOptions);CivRegisterAfter<CivHooks::CvGlobals_getNumMPOptions>(host, &AfterCvGlobals_getNumMPOptions);CivRegisterReplace<CivHooks::CvGlobals_getNumMPOptions>(host, &ReplaceCvGlobals_getNumMPOptions);

Code

6360int CvGlobals::getNumMPOptions() const6361{6362	return NUM_MPOPTION_TYPES;6363}