Bazaar developer reference

CvGlobals::getNumGameOptions() const

Defined in
CvGlobals.cpp, line 6356
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getNumGameOptions

Hooks

static bool BeforeCvGlobals_getNumGameOptions(const CvGlobals* self, int& result);static void AfterCvGlobals_getNumGameOptions(const CvGlobals* self, int& result);static int ReplaceCvGlobals_getNumGameOptions(int (*original)(const CvGlobals*), const CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getNumGameOptions>(host, &BeforeCvGlobals_getNumGameOptions);CivRegisterAfter<CivHooks::CvGlobals_getNumGameOptions>(host, &AfterCvGlobals_getNumGameOptions);CivRegisterReplace<CivHooks::CvGlobals_getNumGameOptions>(host, &ReplaceCvGlobals_getNumGameOptions);

Code

6356int CvGlobals::getNumGameOptions() const6357{6358	return NUM_GAMEOPTION_TYPES;6359}