public void Disconnect() { _client.Disconnect(); }
// Server public bool Kick(string characterName) { ClientSession session = Sessions.FirstOrDefault(s => s.Character != null && s.Character.Name.Equals(characterName)); if (session == null) { return(false); } session.Disconnect(); return(true); }