KafkaSR/RPG.Services.Gameserver/Modules/MailModule.cs

19 lines
487 B
C#
Raw Normal View History

2024-01-29 23:49:21 +00:00
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;
}
}