Files
RAGECOOP-V/RageCoop.Core/Networking/ServerInfo.cs

35 lines
924 B
C#
Raw Normal View History

2022-08-12 18:10:56 +08:00
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace RageCoop.Core
{
internal class ServerInfo
{
2022-08-13 11:42:15 +08:00
public string address { get; set; }
public string port { get; set; }
public string name { get; set; }
public string version { get; set; }
public string players { get; set; }
public string 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; }
2022-08-12 18:10:56 +08:00
2022-08-13 11:42:15 +08:00
public bool useP2P { get; set; }
2022-08-12 18:10:56 +08:00
2022-08-13 11:42:15 +08:00
public bool useZT { get; set; }
2022-08-12 18:10:56 +08:00
2022-08-13 11:42:15 +08:00
public string ztID { get; set; }
2022-08-12 18:10:56 +08:00
2022-08-13 11:42:15 +08:00
public string ztAddress { get; set; }
2022-08-18 17:45:08 +08:00
public string publicKeyModulus{get;set;}
public string publicKeyExponent{get;set;}
2022-08-12 18:10:56 +08:00
}
}