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