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