Hooks
static bool BeforeCvDllGameDeals_GetHistoricDeal(CvDllGameDeals* self, PlayerTypes ePlayer, unsigned int indx, ICvDeal1*& result);static void AfterCvDllGameDeals_GetHistoricDeal(CvDllGameDeals* self, PlayerTypes ePlayer, unsigned int indx, ICvDeal1*& result);static ICvDeal1* ReplaceCvDllGameDeals_GetHistoricDeal(ICvDeal1* (*original)(CvDllGameDeals*, PlayerTypes, unsigned int), CvDllGameDeals* self, PlayerTypes ePlayer, unsigned int indx);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameDeals_GetHistoricDeal::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameDeals_GetHistoricDeal);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameDeals_GetHistoricDeal::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameDeals_GetHistoricDeal);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameDeals_GetHistoricDeal::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameDeals_GetHistoricDeal);