Hooks
static bool BeforeCvDllDealAI_DoHumanDemand(CvDllDealAI* self, ICvDeal1* pDeal, int& result);static void AfterCvDllDealAI_DoHumanDemand(CvDllDealAI* self, ICvDeal1* pDeal, int& result);static int ReplaceCvDllDealAI_DoHumanDemand(int (*original)(CvDllDealAI*, ICvDeal1*), CvDllDealAI* self, ICvDeal1* pDeal);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllDealAI_DoHumanDemand::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllDealAI_DoHumanDemand);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDealAI_DoHumanDemand::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllDealAI_DoHumanDemand);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDealAI_DoHumanDemand::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllDealAI_DoHumanDemand);