예제 #1
0
 public MainSettings()
 {
     this._GeneralSettings = new GeneralSettings();
     this._AccountSettings = new AccountSettings();
     this._SaveSettings = new SaveSettings();
     this._ClientSettings = new ClientSettings();
 }
예제 #2
0
        private void Deserialize(GenericReader reader)
        {
            int version = reader.ReadInt();

            switch (version)
            {
                case 0:
                    {
                        this._AccountSettings = new AccountSettings(reader);
                        this._SaveSettings = new SaveSettings(reader);
                        this._ClientSettings = new ClientSettings(reader);
                        this._GeneralSettings = new GeneralSettings(reader);
                        break;
                    }
            }
        }