Hooks
static bool BeforeCvPlayer_GetFreePromotionCount(const CvPlayer* self, PromotionTypes ePromotion, int& result);static void AfterCvPlayer_GetFreePromotionCount(const CvPlayer* self, PromotionTypes ePromotion, int& result);static int ReplaceCvPlayer_GetFreePromotionCount(int (*original)(const CvPlayer*, PromotionTypes), const CvPlayer* self, PromotionTypes ePromotion);CivRegisterBefore<CivHooks::CvPlayer_GetFreePromotionCount>(host, &BeforeCvPlayer_GetFreePromotionCount);CivRegisterAfter<CivHooks::CvPlayer_GetFreePromotionCount>(host, &AfterCvPlayer_GetFreePromotionCount);CivRegisterReplace<CivHooks::CvPlayer_GetFreePromotionCount>(host, &ReplaceCvPlayer_GetFreePromotionCount);