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