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