示例#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;
            }
            }
        }
示例#3
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;
                    }
            }
        }