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

30 lines
842 B
C#
Raw Normal View History

2023-10-14 16:27:53 +00:00
using AscNet.Common.MsgPack;
using MessagePack;
namespace AscNet.GameServer.Handlers
{
internal class ShopModule
{
/* TODO: Needs types
[RequestPacketHandler("GetShopBaseInfoRequest")]
public static void GetShopBaseInfoRequestHandler(Session session, Packet.Request packet)
{
}
*/
[RequestPacketHandler("GetShopInfoReceiveRequest")]
public static void GetShopInfoReceiveRequestHandler(Session session, Packet.Request packet)
{
GetShopInfoRequest req = MessagePackSerializer.Deserialize<GetShopInfoRequest>(packet.Content);
GetShopInfoResponse rsp = new GetShopInfoResponse()
{
Code = 0,
ClientShop = { }
};
2023-10-14 17:16:45 +00:00
session.SendResponse(rsp, packet.Id);
2023-10-14 16:27:53 +00:00
}
}
}