Hooks
static bool BeforeCvLuaTeam_lGetOpenBordersTradingAllowedCount(lua_State* L, int& result);static void AfterCvLuaTeam_lGetOpenBordersTradingAllowedCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetOpenBordersTradingAllowedCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetOpenBordersTradingAllowedCount>(host, &BeforeCvLuaTeam_lGetOpenBordersTradingAllowedCount);CivRegisterAfter<CivHooks::CvLuaTeam_lGetOpenBordersTradingAllowedCount>(host, &AfterCvLuaTeam_lGetOpenBordersTradingAllowedCount);CivRegisterReplace<CivHooks::CvLuaTeam_lGetOpenBordersTradingAllowedCount>(host, &ReplaceCvLuaTeam_lGetOpenBordersTradingAllowedCount);