From 869e9113339cce9f0af203413bcae96b24fe6a2e Mon Sep 17 00:00:00 2001 From: Kyle Belanger Date: Sat, 13 Apr 2024 00:56:55 -0400 Subject: [PATCH] GetActivityBossDataRequest stub to prevent softlock when entering Co-op --- AscNet.GameServer/Handlers/BossModule.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/AscNet.GameServer/Handlers/BossModule.cs b/AscNet.GameServer/Handlers/BossModule.cs index 95a0568a..14b6864a 100644 --- a/AscNet.GameServer/Handlers/BossModule.cs +++ b/AscNet.GameServer/Handlers/BossModule.cs @@ -15,6 +15,17 @@ namespace AscNet.GameServer.Handlers { public int Code; } + + [MessagePackObject(true)] + public class GetActivityBossDataRequest + { + } + + [MessagePackObject(true)] + public class GetActivityBossDataResponse + { + public int Code; + } #pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. #endregion @@ -25,5 +36,11 @@ namespace AscNet.GameServer.Handlers { session.SendResponse(new BossSingleRankInfoResponse() { Code = 1 }, packet.Id); } + + [RequestPacketHandler("GetActivityBossDataRequest")] + public static void GetActivityBossDataRequestHandler(Session session, Packet.Request packet) + { + session.SendResponse(new GetActivityBossDataResponse() { Code = 1 }, packet.Id); + } } }