Bazaar developer reference

CvGlobals::GetNumColorInfos()

Defined in
CvGlobals.cpp, line 2632
Class
CvGlobals
Hook name
CivHooks::CvGlobals_GetNumColorInfos

Hooks

static bool BeforeCvGlobals_GetNumColorInfos(CvGlobals* self, int& result);static void AfterCvGlobals_GetNumColorInfos(CvGlobals* self, int& result);static int ReplaceCvGlobals_GetNumColorInfos(int (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_GetNumColorInfos>(host, &BeforeCvGlobals_GetNumColorInfos);CivRegisterAfter<CivHooks::CvGlobals_GetNumColorInfos>(host, &AfterCvGlobals_GetNumColorInfos);CivRegisterReplace<CivHooks::CvGlobals_GetNumColorInfos>(host, &ReplaceCvGlobals_GetNumColorInfos);

Code

2632int CvGlobals::GetNumColorInfos()2633{2634	return (int)m_paColorInfo.size();2635}

Calls

Called by