Hooks
static bool BeforeCvDllGameContext_QueryInterface(CvDllGameContext* self, GUID guidInterface, void*& result);static void AfterCvDllGameContext_QueryInterface(CvDllGameContext* self, GUID guidInterface, void*& result);static void* ReplaceCvDllGameContext_QueryInterface(void* (*original)(CvDllGameContext*, GUID), CvDllGameContext* self, GUID guidInterface);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_QueryInterface::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_QueryInterface);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_QueryInterface::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_QueryInterface);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_QueryInterface::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_QueryInterface);