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