public void RemoveClient(NetConnection nc) { try { Conns.Remove(nc.GetID()); Logger.Log("SrvMgr: Removed " + nc.GetID()); } catch (Exception e) { Logger.Log("SrvMgr: Failed to remove " + nc.GetID() + " (Already removed from collection?)"); } }
public void AddClient(NetConnection nc) { Conns.Add(nc.GetID(), nc); }