文档

支持

Multiplay Hosting

Multiplay Hosting

保留流程

Understand how the reservation process allows your game servers to notify Multiplay Hosting they are in use.
阅读时间1 分钟最后更新于 15 天前

对于因为不使用 Matchmaker 等而无法使用分配的客户来说,保留与分配类似。 保留可以与采用服务器浏览器模型的游戏搭配使用,在这种模型中,玩家选择要加入的服务器,而不是由 Matchmaker 代替他们决定。在这种情况下,客户使用 Multiplay Hosting 来利用其缩放技术和基础设施管理功能。 下面概述了保留流程的步骤。
  1. 游戏客户端直接连接到游戏服务器。
  2. 游戏服务器调用保留 API 终端来将自己标记为保留。
  3. Multiplay Hosting 的保留处理程序会查询所调用的游戏服务器,然后将其从可用服务器池中移除。这样做是为了帮助制定缩放决策,而不是为了防止它被重复分配。