Snowflake/RPG.Services.Gameserver/Modules/ShopModule.cs

19 lines
500 B
C#
Raw Normal View History

2024-01-19 14:45:18 +00:00
using RPG.Network.Proto;
using RPG.Services.Gameserver.Modules.Attributes;
using RPG.Services.Gameserver.Session;
namespace RPG.Services.Gameserver.Modules;
internal class ShopModule : BaseModule
{
[OnCommand(CmdType.CmdGetShopListCsReq)]
public Task OnCmdGetShopListCsReq(PlayerSession session, ReadOnlyMemory<byte> _)
{
Send(session, CmdType.CmdGetShopListScRsp, new GetShopListScRsp
{
Retcode = 0
});
return Task.CompletedTask;
}
}