This commit is contained in:
Nekura
2025-07-25 18:39:48 +02:00
commit b9d7b1c9f7
14 changed files with 1335 additions and 0 deletions

22
ServerInfo.cs Normal file
View File

@@ -0,0 +1,22 @@
// 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; }
}
}