Hooks
static bool BeforeCvDllPlayerColorInfo_GetInstance(CvDllPlayerColorInfo* self, CvPlayerColorInfo*& result);static void AfterCvDllPlayerColorInfo_GetInstance(CvDllPlayerColorInfo* self, CvPlayerColorInfo*& result);static CvPlayerColorInfo* ReplaceCvDllPlayerColorInfo_GetInstance(CvPlayerColorInfo* (*original)(CvDllPlayerColorInfo*), CvDllPlayerColorInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayerColorInfo_GetInstance::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayerColorInfo_GetInstance);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayerColorInfo_GetInstance::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayerColorInfo_GetInstance);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayerColorInfo_GetInstance::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayerColorInfo_GetInstance);