Files
RAGECOOP-V/Core/Networking/ServerInfo.cs
xEntenKoeniqx 478305112f Changed some variables from ServerInfo to an integer. .NET updated to version 7.0
Not compatible with the current MasterServer. `https://test.ragecoop.online/` is compatible
2022-11-19 00:01:38 +01:00

34 lines
1019 B
C#

using System;
namespace RageCoop.Core
{
/// <summary>
/// A json object representing a server's information as annouced to master server.
/// </summary>
[Serializable]
public class ServerInfo
{
#pragma warning disable 1591
public string address { get; set; }
public int port { get; set; }
public string name { get; set; }
public string version { get; set; }
public int players { get; set; }
public int maxPlayers { get; set; }
public string country { get; set; }
public string description { get; set; }
public string website { get; set; }
public string gameMode { get; set; }
public string language { get; set; }
public bool useP2P { get; set; }
public bool useZT { get; set; }
public string ztID { get; set; }
public string ztAddress { get; set; }
public string publicKeyModulus { get; set; }
public string publicKeyExponent { get; set; }
}
}