KafkaSR/RPG.Services.Gameserver/Modules/MailModule.cs
2024-01-30 02:49:21 +03:00

18 lines
487 B
C#

using RPG.Network.Proto;
using RPG.Services.Gameserver.Modules.Attributes;
using RPG.Services.Gameserver.Session;
namespace RPG.Services.Gameserver.Modules;
internal class MailModule : BaseModule
{
[OnCommand(CmdType.CmdGetMailCsReq)]
public Task OnCmdGetMailCsReq(PlayerSession session, ReadOnlyMemory<byte> body)
{
Send(session, CmdType.CmdGetMailScRsp, new GetMailScRsp
{
Retcode = 0
});
return Task.CompletedTask;
}
}