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; } } }
public Config() { this.m_Profiles = new ProfileList(); this.m_Servers = new ServerList(); this.Load(); }