Ejemplo n.º 1
0
 void OnDeserialized(StreamingContext context) {
     // WORKAROUND F'ING DATALOSS POSSIBILITIES
     if (Collection != null && Collection.Id == Guid.Empty)
         Collection = null;
     if (Mission != null && Mission.Key == null)
         Mission = null;
     if (Server != null && Server.Address == null)
         Server = null;
 }
Ejemplo n.º 2
0
 public void AddRecent(Server server) {
     var recentServer = new RecentServer(server);
     Recent.Add(recentServer);
     server.LastJoinedOn = null;
     SaveSettings();
 }