Hooks
static bool BeforeCvPromotionEntry_GetUpgradeDiscount(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetUpgradeDiscount(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetUpgradeDiscount(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetUpgradeDiscount>(host, &BeforeCvPromotionEntry_GetUpgradeDiscount);CivRegisterAfter<CivHooks::CvPromotionEntry_GetUpgradeDiscount>(host, &AfterCvPromotionEntry_GetUpgradeDiscount);CivRegisterReplace<CivHooks::CvPromotionEntry_GetUpgradeDiscount>(host, &ReplaceCvPromotionEntry_GetUpgradeDiscount);