Beispiel #1
0
 protected virtual void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         object obj = (object)ip.GetChild();
         if (obj is ProfileList)
         {
             this.m_Profiles = obj as ProfileList;
         }
         else if (obj is ServerList)
         {
             this.m_Servers = obj as ServerList;
         }
     }
 }
Beispiel #2
0
 public Config()
 {
     this.m_Profiles = new ProfileList();
     this.m_Servers  = new ServerList();
     this.Load();
 }