25 lines
891 B
C#
25 lines
891 B
C#
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 DrawGetDrawGroupListResponse
|
|
{
|
|
public int Code { get; set; }
|
|
public List<dynamic> DrawGroupInfoList { get; set; } = new();
|
|
}
|
|
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
|
|
#endregion
|
|
|
|
internal class DrawModule
|
|
{
|
|
[RequestPacketHandler("DrawGetDrawGroupListRequest")]
|
|
public static void DrawGetDrawGroupListRequestHandler(Session session, Packet.Request packet)
|
|
{
|
|
session.SendResponse(new DrawGetDrawGroupListResponse(), packet.Id);
|
|
}
|
|
}
|
|
}
|