Bazaar developer reference

CvGlobals::getNumVictoryInfos()

Defined in
CvGlobals.cpp, line 3964
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getNumVictoryInfos

Hooks

static bool BeforeCvGlobals_getNumVictoryInfos(CvGlobals* self, int& result);static void AfterCvGlobals_getNumVictoryInfos(CvGlobals* self, int& result);static int ReplaceCvGlobals_getNumVictoryInfos(int (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getNumVictoryInfos>(host, &BeforeCvGlobals_getNumVictoryInfos);CivRegisterAfter<CivHooks::CvGlobals_getNumVictoryInfos>(host, &AfterCvGlobals_getNumVictoryInfos);CivRegisterReplace<CivHooks::CvGlobals_getNumVictoryInfos>(host, &ReplaceCvGlobals_getNumVictoryInfos);

Code

3964int CvGlobals::getNumVictoryInfos()3965{3966	return (int)m_paVictoryInfo.size();3967}

Calls

Called by