public Database.Player GetPlayer(int playerID) { Database.Player p = null; if (playerList.TryGetValue(playerID, out p)) { return(p); } else { return(null); } }
public void DeletePlayer(Database.Player p) { playerList.Remove(p.PlayerPID); }
public void AddPlayer(Database.Player p) { playerList.Add(p.PlayerPID, p); }