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