MasterServer 主服务器
The Master Server is used to make matchmaking between servers and clients easy.
主服务器能够使服务器和客户端很容易的进行连接。
You can advertise game hosts or fetch host lists for you game type. The functions here are used to communicate with the Master Server itself which resides on a separate server. If necessary the server itself can be customized. For an overview of the Master Server as well as a technical description see the Master Server manual page.
你可以发布游戏主机或者获取你的游戏类型的主机列表。这里的这些函数用来和主服务器进行通信,而它们本身驻留在独立的服务器中。如果需要,服务器本身可以被定制。获取主服务器的概述以及技术说明,参阅Master Server manual page页面。
Messages Sent发送消息
-
Called on clients or servers when there is a problem connecting to the master server.
在客户端或服务器端调用,连接到主服务器出现问题。 -
Called on clients or servers when reporting events from the MasterServer.
当从主服务器报告事件时,在客户端或服务器端调用。
Class Variables类变量
-
The IP address of the master server.
主服务器的IP地址。 -
The connection port of the master server.
主服务器的连接端口。 -
Set the minimum update rate for master server host information update.
设置主服务器主机信息更新的最小更新率。 -
Report this machine as a dedicated server.
声明本机为专用服务器。
Class Functions类函数
-
Request a host list from the master server.
从主服务器请求一个主机列表。 -
Check for the latest host list received by using MasterServer.RequestHostList.
检索由MasterServer.RequestHostList获取的最新主机列表。 -
Register this server on the master server.
在主服务器上注册本地服务器。 -
Unregister this server from the master server.
从主服务器上注销本地服务器。 -
Clear the host list which was received by MasterServer.PollHostList.
清空由MasterServer.PollHostList获取的主机列表。
最后修改:2011年9月16日 Friday 14:59