forked from PGR/ascnet
30 lines
831 B
C#
30 lines
831 B
C#
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);
|
|
}
|
|
}
|
|
}
|