2023-03-03 19:25:33 +00:00
|
|
|
/* ServerSetting.cs
|
|
|
|
* License: NCSA Open Source License
|
|
|
|
*
|
2024-05-21 20:15:19 +01:00
|
|
|
* Copyright: SPT
|
2023-03-03 19:25:33 +00:00
|
|
|
* AUTHORS:
|
|
|
|
* waffle.lord
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2024-09-02 07:53:58 +00:00
|
|
|
using SPT.Launcher.Utilities;
|
2023-03-03 19:25:33 +00:00
|
|
|
|
2024-05-21 20:15:19 +01:00
|
|
|
namespace SPT.Launcher.Models.Launcher
|
2023-03-03 19:25:33 +00:00
|
|
|
{
|
2024-09-02 07:53:58 +00:00
|
|
|
public class ServerSetting : NotifyPropertyChangedBase
|
2023-03-03 19:25:33 +00:00
|
|
|
{
|
|
|
|
public LoginModel AutoLoginCreds { get; set; } = null;
|
|
|
|
|
2024-09-02 07:53:58 +00:00
|
|
|
private string _name;
|
2023-03-03 19:25:33 +00:00
|
|
|
public string Name
|
|
|
|
{
|
2024-09-02 07:53:58 +00:00
|
|
|
get => _name;
|
|
|
|
set => SetProperty(ref _name, value);
|
2023-03-03 19:25:33 +00:00
|
|
|
}
|
|
|
|
|
2024-09-02 07:53:58 +00:00
|
|
|
private string _url;
|
2023-03-03 19:25:33 +00:00
|
|
|
public string Url
|
|
|
|
{
|
2024-09-02 07:53:58 +00:00
|
|
|
get => _url;
|
|
|
|
set => SetProperty(ref _url, value);
|
2023-03-03 19:25:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|