using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Torch.API.Managers { /// /// API for multiplayer functions that exist on servers and lobbies /// public interface IMultiplayerManagerServer : IMultiplayerManagerBase { /// /// Kicks the player from the game. /// void KickPlayer(ulong steamId); /// /// Bans or unbans a player from the game. /// void BanPlayer(ulong steamId, bool banned = true); /// /// List of the banned SteamID's /// IReadOnlyList BannedPlayers { get; } /// /// Checks if the player with the given SteamID is banned. /// /// The SteamID of the player. /// True if the player is banned; otherwise false. bool IsBanned(ulong steamId); } }