您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

25 行
522 B

namespace LobbyRelaySample
{
/// <summary>
/// Just for displaying the anonymous Relay IP.
/// </summary>
public class ServerAddress
{
string m_IP;
int m_Port;
public string IP => m_IP;
public int Port => m_Port;
public ServerAddress(string ip, int port)
{
m_IP = ip;
m_Port = port;
}
public override string ToString()
{
return $"{m_IP}:{m_Port}";
}
}
}