Bazaar developer reference

CvGlobals::getNumPlayerOptionInfos() const

Defined in
CvGlobals.cpp, line 6376
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getNumPlayerOptionInfos

Hooks

static bool BeforeCvGlobals_getNumPlayerOptionInfos(const CvGlobals* self, int& result);static void AfterCvGlobals_getNumPlayerOptionInfos(const CvGlobals* self, int& result);static int ReplaceCvGlobals_getNumPlayerOptionInfos(int (*original)(const CvGlobals*), const CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getNumPlayerOptionInfos>(host, &BeforeCvGlobals_getNumPlayerOptionInfos);CivRegisterAfter<CivHooks::CvGlobals_getNumPlayerOptionInfos>(host, &AfterCvGlobals_getNumPlayerOptionInfos);CivRegisterReplace<CivHooks::CvGlobals_getNumPlayerOptionInfos>(host, &ReplaceCvGlobals_getNumPlayerOptionInfos);

Code

6376int CvGlobals::getNumPlayerOptionInfos() const6377{6378	return m_paPlayerOptionInfos.size();6379}

Calls

Called by