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