Bazaar developer reference

CvGlobals::GetColorInfo()

Defined in
CvGlobals.cpp, line 2637
Class
CvGlobals
Hook name
CivHooks::CvGlobals_GetColorInfo

Hooks

static bool BeforeCvGlobals_GetColorInfo(CvGlobals* self, std::vector<CvColorInfo*>*& result);static void AfterCvGlobals_GetColorInfo(CvGlobals* self, std::vector<CvColorInfo*>*& result);static std::vector<CvColorInfo*>& ReplaceCvGlobals_GetColorInfo(std::vector<CvColorInfo*>& (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_GetColorInfo>(host, &BeforeCvGlobals_GetColorInfo);CivRegisterAfter<CivHooks::CvGlobals_GetColorInfo>(host, &AfterCvGlobals_GetColorInfo);CivRegisterReplace<CivHooks::CvGlobals_GetColorInfo>(host, &ReplaceCvGlobals_GetColorInfo);

Code

2637std::vector<CvColorInfo*>& CvGlobals::GetColorInfo()2638{2639	return m_paColorInfo;2640}

Called by