ff1dfa54ae
* Do a small pass on SPT's config's to reduce warnings and cleanup * Revert * Revert EFT models * Set list as null
24 lines
389 B
C#
24 lines
389 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SPTarkov.Server.Core.Models.Spt.Server;
|
|
|
|
/// <summary>
|
|
/// Model for Assets/database/server.json
|
|
/// </summary>
|
|
public record ServerBase
|
|
{
|
|
[JsonPropertyName("ip")]
|
|
public required string Ip
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("port")]
|
|
public required int Port
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|