<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>组队系统 on PlumePHP</title><link>https://plumephp.com/tags/%E7%BB%84%E9%98%9F%E7%B3%BB%E7%BB%9F/</link><description>Recent content in 组队系统 on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Fri, 14 Jul 2023 12:08:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/%E7%BB%84%E9%98%9F%E7%B3%BB%E7%BB%9F/index.xml" rel="self" type="application/rss+xml"/><item><title>游戏组队与小队服务架构设计</title><link>https://plumephp.com/game-server-party-team-service-architecture/</link><pubDate>Fri, 14 Jul 2023 12:08:00 +0800</pubDate><guid>https://plumephp.com/game-server-party-team-service-architecture/</guid><description>&lt;h2 id="问题背景"&gt;问题背景&lt;/h2&gt;
&lt;p&gt;组队服务看起来像社交功能，实际却是很多玩法的入口控制器。副本、排位、世界 Boss、语音房、跨服活动都要问它：这个玩家能不能进，队伍是否满员，队长是谁，成员是否在线，是否已经锁定匹配。若组队状态散落在客户端、聊天服、匹配服和副本服之间，常见事故就是玩家被踢后仍进入副本，队长掉线后无人能开始，邀请过期但仍能加入。稳定的小队服务必须把队伍当成有生命周期和状态机的服务端对象。&lt;/p&gt;</description></item></channel></rss>