2023-03-03 19:25:33 +00:00
|
|
|
/* ClientConfig.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:
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2024-05-21 20:15:19 +01:00
|
|
|
namespace SPT.Launcher
|
2023-03-03 19:25:33 +00:00
|
|
|
{
|
|
|
|
public class ClientConfig
|
|
|
|
{
|
|
|
|
public string BackendUrl;
|
2024-12-26 21:02:26 +00:00
|
|
|
public string MatchingVersion;
|
2024-12-26 22:15:50 +00:00
|
|
|
public string Version;
|
2023-03-03 19:25:33 +00:00
|
|
|
|
|
|
|
public ClientConfig()
|
|
|
|
{
|
|
|
|
BackendUrl = "http://127.0.0.1:6969";
|
2024-12-26 22:15:50 +00:00
|
|
|
Version = "live";
|
2024-12-26 21:02:26 +00:00
|
|
|
MatchingVersion = "live";
|
2023-03-03 19:25:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public ClientConfig(string backendUrl)
|
|
|
|
{
|
|
|
|
BackendUrl = backendUrl;
|
2024-12-26 22:15:50 +00:00
|
|
|
Version = "live";
|
2024-12-26 21:02:26 +00:00
|
|
|
MatchingVersion = "live";
|
2023-03-03 19:25:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|