Hooks
static bool BeforeCvUnit_GetPromotionValue(CvUnit* self, int promotionBonus, int unitExtraValue, int matchFlavorValue, int baseValue, int& result);static void AfterCvUnit_GetPromotionValue(CvUnit* self, int promotionBonus, int unitExtraValue, int matchFlavorValue, int baseValue, int& result);static int ReplaceCvUnit_GetPromotionValue(int (*original)(CvUnit*, int, int, int, int), CvUnit* self, int promotionBonus, int unitExtraValue, int matchFlavorValue, int baseValue);CivRegisterBefore<CivHooks::CvUnit_GetPromotionValue>(host, &BeforeCvUnit_GetPromotionValue);CivRegisterAfter<CivHooks::CvUnit_GetPromotionValue>(host, &AfterCvUnit_GetPromotionValue);CivRegisterReplace<CivHooks::CvUnit_GetPromotionValue>(host, &ReplaceCvUnit_GetPromotionValue);