Hooks
static bool BeforeCvCity_getFreePromotionCount(const CvCity* self, PromotionTypes eIndex, int& result);static void AfterCvCity_getFreePromotionCount(const CvCity* self, PromotionTypes eIndex, int& result);static int ReplaceCvCity_getFreePromotionCount(int (*original)(const CvCity*, PromotionTypes), const CvCity* self, PromotionTypes eIndex);CivRegisterBefore<CivHooks::CvCity_getFreePromotionCount>(host, &BeforeCvCity_getFreePromotionCount);CivRegisterAfter<CivHooks::CvCity_getFreePromotionCount>(host, &AfterCvCity_getFreePromotionCount);CivRegisterReplace<CivHooks::CvCity_getFreePromotionCount>(host, &ReplaceCvCity_getFreePromotionCount);