forked from PGR/ascnet
1
0
Fork 0
ascnet/AscNet.GameServer/Handlers/VoteModule.cs

27 lines
850 B
C#
Raw Permalink Normal View History

2023-11-24 13:01:26 +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 GetVoteGroupListResponse
{
public List<dynamic> VoteGroupListCode;
}
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
#endregion
internal class VoteModule
{
[RequestPacketHandler("GetVoteGroupListRequest")]
public static void GetVoteGroupListRequestHandler(Session session, Packet.Request packet)
{
GetVoteGroupListResponse response = new();
session.SendResponse(response, packet.Id);
}
}
}