class in UnityEngine
This is the data structure for holding individual host information.
这是支持个人主机信息的数据结构。
The host list retreived from a master server uses this class to represent individual hosts.
从主服务器的主机列表检索使用这个类来表示各个主机。
comment | A miscellaneous comment (can hold data). 一个综合评论(可以保留数据)。 |
connectedPlayers | Currently connected players. 当前已连接的玩家。 |
gameName | The name of the game (like John Doe's Game). 该游戏的名称(就像John Doe's Game)。 |
gameType | The type of the game (like “MyUniqueGameType”). 该游戏的类型(例如:MyUniqueGameType)。 |
guid | The GUID of the host, needed when connecting with NAT punchthrough. 当需要与NAT punchthrough连接时的主机GUID。 |
ip | Server IP address. 服务器IP地址。 |
passwordProtected | Does the server require a password? 该服务器是否需要设置密码? |
playerLimit | Maximum players limit. 限制玩家的最大数量。 |
port | Server port. 服务器端口。 |
useNat | Does this server require NAT punchthrough? 该服务器是否需求NAT punchthrough? |