Hooks
static bool BeforeCvLuaCity_lGetFreePromotionCount(lua_State* L, int& result);static void AfterCvLuaCity_lGetFreePromotionCount(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetFreePromotionCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetFreePromotionCount>(host, &BeforeCvLuaCity_lGetFreePromotionCount);CivRegisterAfter<CivHooks::CvLuaCity_lGetFreePromotionCount>(host, &AfterCvLuaCity_lGetFreePromotionCount);CivRegisterReplace<CivHooks::CvLuaCity_lGetFreePromotionCount>(host, &ReplaceCvLuaCity_lGetFreePromotionCount);