Exemple #1
0
 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?)");
     }
 }
Exemple #2
0
 public void AddClient(NetConnection nc) {
     Conns.Add(nc.GetID(), nc);
 }