NetworkPlayer 网络玩家
Struct
The NetworkPlayer is a data structure with which you can locate another player over the network.
NetworkPlayer是一个数据结构,保存着你可以从网络定位的另一位玩家的信息。
With this you can, for example, send a message directly to another player.
比如,基于NetworkPlayer你可以向另外一个玩家发送消息。
Variables变量
-
The IP address of this player.
这个玩家使用的IP地址。
-
The port of this player.
这个玩家使用的端口。
-
The GUID for this player, used when connecting with NAT punchthrough.
这个玩家的GUID,当玩家以NAT穿透连接时使用。
-
Returns the external IP address of the network interface.
返回的是这个网络的外部IP地址。
-
Returns the external port of the network interface.
返回的是这个网络的外部端口。
Functions函数
Class Functions类函数
Page last updated: 2011-1-4