fishbait/ServerProject-DONT-IMPORT-INTO-UNITY/Room.cs
2021-04-03 19:50:53 -05:00

28 lines
704 B
C#

using Newtonsoft.Json;
using System.Collections.Generic;
using System.Net;
namespace LightReflectiveMirror
{
[JsonObject(MemberSerialization.OptOut)]
public class Room
{
public int serverId;
public int hostId;
public string serverName;
public string serverData;
public bool isPublic;
public int maxPlayers;
public List<int> clients;
[JsonIgnore]
public bool supportsDirectConnect = false;
[JsonIgnore]
public IPEndPoint hostIP;
[JsonIgnore]
public string hostLocalIP;
[JsonIgnore]
public bool useNATPunch = false;
[JsonIgnore]
public int port;
}
}