Hooks
static bool BeforeCvDllDealAI_DoAcceptedDemand(CvDllDealAI* self, PlayerTypes eFromPlayer, ICvDeal1* pDeal);static void AfterCvDllDealAI_DoAcceptedDemand(CvDllDealAI* self, PlayerTypes eFromPlayer, ICvDeal1* pDeal);static void ReplaceCvDllDealAI_DoAcceptedDemand(void (*original)(CvDllDealAI*, PlayerTypes, ICvDeal1*), CvDllDealAI* self, PlayerTypes eFromPlayer, ICvDeal1* pDeal);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllDealAI_DoAcceptedDemand::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllDealAI_DoAcceptedDemand);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDealAI_DoAcceptedDemand::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllDealAI_DoAcceptedDemand);host->RegisterHook(host->pluginIndex, CivHooks::CvDllDealAI_DoAcceptedDemand::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllDealAI_DoAcceptedDemand);