Hooks
static bool BeforeCvDllDealAI_GetInstance(CvDllDealAI* self, CvDealAI*& result);static void AfterCvDllDealAI_GetInstance(CvDllDealAI* self, CvDealAI*& result);static CvDealAI* ReplaceCvDllDealAI_GetInstance(CvDealAI* (*original)(CvDllDealAI*), CvDllDealAI* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllDealAI_GetInstance::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllDealAI_GetInstance);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDealAI_GetInstance::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllDealAI_GetInstance);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDealAI_GetInstance::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllDealAI_GetInstance);