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);