Add country
This commit is contained in:
parent
462d68df6b
commit
615c49e395
@ -22,6 +22,9 @@ namespace RageCoop.Server
|
||||
{
|
||||
[JsonProperty("ip")]
|
||||
public string Address { get; set; }
|
||||
|
||||
[JsonProperty("country")]
|
||||
public string Country { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -142,6 +145,7 @@ namespace RageCoop.Server
|
||||
"{ " +
|
||||
"\"address\": \"" + info.Address + "\", " +
|
||||
"\"port\": \"" + Settings.Port + "\", " +
|
||||
"\"country\": \"" + info.Country + "\", " +
|
||||
"\"name\": \"" + Settings.Name + "\", " +
|
||||
"\"version\": \"" + _compatibleVersion.Replace("_", ".") + "\", " +
|
||||
"\"players\": \"" + MainNetServer.ConnectionsCount + "\", " +
|
||||
|
Loading…
x
Reference in New Issue
Block a user