2024-04-13 04:53:57 +00:00
|
|
|
|
using MessagePack;
|
|
|
|
|
|
|
|
|
|
namespace AscNet.GameServer.Handlers
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
#region MsgPackScheme
|
|
|
|
|
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
|
|
|
|
|
[MessagePackObject(true)]
|
|
|
|
|
public class BossSingleRankInfoRequest
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[MessagePackObject(true)]
|
|
|
|
|
public class BossSingleRankInfoResponse
|
|
|
|
|
{
|
|
|
|
|
public int Code;
|
|
|
|
|
}
|
2024-04-13 04:56:55 +00:00
|
|
|
|
|
|
|
|
|
[MessagePackObject(true)]
|
|
|
|
|
public class GetActivityBossDataRequest
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[MessagePackObject(true)]
|
|
|
|
|
public class GetActivityBossDataResponse
|
|
|
|
|
{
|
|
|
|
|
public int Code;
|
|
|
|
|
}
|
2024-04-13 04:53:57 +00:00
|
|
|
|
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
internal class BossModule
|
|
|
|
|
{
|
2024-04-13 06:30:53 +00:00
|
|
|
|
// TODO: Pain Cage entry
|
2024-04-13 04:53:57 +00:00
|
|
|
|
[RequestPacketHandler("BossSingleRankInfoRequest")]
|
|
|
|
|
public static void BossSingleRankInfoRequestHandler(Session session, Packet.Request packet)
|
|
|
|
|
{
|
|
|
|
|
session.SendResponse(new BossSingleRankInfoResponse() { Code = 1 }, packet.Id);
|
|
|
|
|
}
|
2024-04-13 04:56:55 +00:00
|
|
|
|
|
2024-04-13 06:30:53 +00:00
|
|
|
|
// TODO: Co-op entry
|
2024-04-13 04:56:55 +00:00
|
|
|
|
[RequestPacketHandler("GetActivityBossDataRequest")]
|
|
|
|
|
public static void GetActivityBossDataRequestHandler(Session session, Packet.Request packet)
|
|
|
|
|
{
|
|
|
|
|
session.SendResponse(new GetActivityBossDataResponse() { Code = 1 }, packet.Id);
|
|
|
|
|
}
|
2024-04-13 04:53:57 +00:00
|
|
|
|
}
|
|
|
|
|
}
|