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