Hooks
static bool BeforeCvUnit_HasPromotion(const CvUnit* self, PromotionTypes iPromotionType, bool& result);static void AfterCvUnit_HasPromotion(const CvUnit* self, PromotionTypes iPromotionType, bool& result);static bool ReplaceCvUnit_HasPromotion(bool (*original)(const CvUnit*, PromotionTypes), const CvUnit* self, PromotionTypes iPromotionType);CivRegisterBefore<CivHooks::CvUnit_HasPromotion>(host, &BeforeCvUnit_HasPromotion);CivRegisterAfter<CivHooks::CvUnit_HasPromotion>(host, &AfterCvUnit_HasPromotion);CivRegisterReplace<CivHooks::CvUnit_HasPromotion>(host, &ReplaceCvUnit_HasPromotion);