Init
This commit is contained in:
22
ServerInfo.cs
Normal file
22
ServerInfo.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user