Hooks
static bool BeforeCvDllGameContext_SetEngineUserInterface(CvDllGameContext* self, ICvUserInterface2* pUI);static void AfterCvDllGameContext_SetEngineUserInterface(CvDllGameContext* self, ICvUserInterface2* pUI);static void ReplaceCvDllGameContext_SetEngineUserInterface(void (*original)(CvDllGameContext*, ICvUserInterface2*), CvDllGameContext* self, ICvUserInterface2* pUI);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetEngineUserInterface::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_SetEngineUserInterface);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetEngineUserInterface::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_SetEngineUserInterface);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetEngineUserInterface::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_SetEngineUserInterface);