public bool AddClient(NetHost.HostClient client) { if (!Pool.Contains(client)) { Pool.Add(client); return(true); } else { return(false); } }
public bool RemoveClient(NetHost.HostClient client) { if (Pool.Contains(client)) { Pool.Remove(client); return(true); } else { return(false); } }
public ClientHandler(NetHost.HostClient hostClient) { HostClient = hostClient; }