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

22 lines
586 B
C#

using RPG.Network.Proto;
using RPG.Services.Gameserver.Modules.Attributes;
using RPG.Services.Gameserver.Session;
namespace RPG.Services.Gameserver.Modules;
internal class ShopModule : BaseModule
{
public ShopModule(ModuleManager moduleManager) : base(moduleManager)
{
}
[OnCommand(CmdType.CmdGetShopListCsReq)]
public Task OnCmdGetShopListCsReq(PlayerSession session, ReadOnlyMemory<byte> _)
{
Send(session, CmdType.CmdGetShopListScRsp, new GetShopListScRsp
{
Retcode = 0
});
return Task.CompletedTask;
}
}