public MainSettings() { this._GeneralSettings = new GeneralSettings(); this._AccountSettings = new AccountSettings(); this._SaveSettings = new SaveSettings(); this._ClientSettings = new ClientSettings(); }
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; } } }