Hooks
static bool BeforeCvDllGameContext_GetPlayerColorInfo(CvDllGameContext* self, PlayerColorTypes e, ICvPlayerColorInfo1*& result);static void AfterCvDllGameContext_GetPlayerColorInfo(CvDllGameContext* self, PlayerColorTypes e, ICvPlayerColorInfo1*& result);static ICvPlayerColorInfo1* ReplaceCvDllGameContext_GetPlayerColorInfo(ICvPlayerColorInfo1* (*original)(CvDllGameContext*, PlayerColorTypes), CvDllGameContext* self, PlayerColorTypes e);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetPlayerColorInfo::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetPlayerColorInfo);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetPlayerColorInfo::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetPlayerColorInfo);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetPlayerColorInfo::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetPlayerColorInfo);