Hooks
static bool BeforeCvDealAI_GetDealPercentLeewayWithAI(const CvDealAI* self, int& result);static void AfterCvDealAI_GetDealPercentLeewayWithAI(const CvDealAI* self, int& result);static int ReplaceCvDealAI_GetDealPercentLeewayWithAI(int (*original)(const CvDealAI*), const CvDealAI* self);CivRegisterBefore<CivHooks::CvDealAI_GetDealPercentLeewayWithAI>(host, &BeforeCvDealAI_GetDealPercentLeewayWithAI);CivRegisterAfter<CivHooks::CvDealAI_GetDealPercentLeewayWithAI>(host, &AfterCvDealAI_GetDealPercentLeewayWithAI);CivRegisterReplace<CivHooks::CvDealAI_GetDealPercentLeewayWithAI>(host, &ReplaceCvDealAI_GetDealPercentLeewayWithAI);