forked from PGR/ascnet
1
0
Fork 0

Partial shop fixes

This commit is contained in:
Kyle Belanger 2023-10-14 12:27:53 -04:00
parent a2e27effff
commit 9b1a2179fe
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
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 = { }
};
session.SendResponse(rsp);
}
}
}