Browse Source

茶话会支持GM控制

huangxiaoyue 1 year ago
parent
commit
e4dc8fb9d7
1 changed files with 10 additions and 1 deletions
  1. 10 1
      GameClient/Assets/Game/HotUpdate/ServerProxy/LeagueSproxy.cs

+ 10 - 1
GameClient/Assets/Game/HotUpdate/ServerProxy/LeagueSproxy.cs

@@ -4,7 +4,16 @@ using ET;
 
 
 namespace GFGGame
 namespace GFGGame
 {
 {
-
+    //通知茶会状态
+    public class TeapartyStatus : AMHandler<S2C_TeapartyStatus>
+    {
+        protected override async ETTask Run(Session session, S2C_TeapartyStatus message)
+        {
+            LeagueDataManager.Instance.TeaPartyId = message.TeapartyId;
+            LeagueDataManager.Instance.TeaPartyStatus = message.Status;
+            await ETTask.CompletedTask;
+        }
+    }
     //通知联盟解散了
     //通知联盟解散了
     public class NoticeDisbandLeague : AMHandler<L2C_NoticeDisbandLeague>
     public class NoticeDisbandLeague : AMHandler<L2C_NoticeDisbandLeague>
     {
     {