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

24 lines
641 B
C#

using RPG.Network.Proto;
using RPG.Services.Gameserver.Modules.Attributes;
using RPG.Services.Gameserver.Session;
namespace RPG.Services.Gameserver.Modules;
internal class InventoryModule : BaseModule
{
public InventoryModule(ModuleManager moduleManager) : base(moduleManager)
{
}
[OnCommand(CmdType.CmdGetBagCsReq)]
public Task OnCmdGetBagCsReq(PlayerSession session, ReadOnlyMemory<byte> _)
{
Send(session, CmdType.CmdGetBagScRsp, new GetBagScRsp
{
Retcode = 0,
EquipmentList = { },
MaterialList = { }
});
return Task.CompletedTask;
}
}