Files
ListServer/ServerInfo.cs
Nekura b9d7b1c9f7 Init
2025-07-25 18:39:48 +02:00

22 lines
666 B
C#

// ServerInfo.cs
using LiteDB;
namespace FreelancerListServer
{
public class ServerInfo
{
[BsonId] // Primärschlüssel in LiteDB
public string GameId { get; set; }
public string Id { get; set; }
public string Name { get; set; }
public string IP { get; set; }
public int ClientPort { get; set; }
public int GamePort { get; set; }
public bool Active { get; set; }
public DateTime LastSeen { get; set; }
public string MaxPlayers { get; set; }
public string Pass { get; set; }
public string PvP { get; set; }
public string GameOpts { get; set; }
}
}