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

23 lines
570 B
C#
Raw Permalink 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 MailModule : BaseModule
{
public MailModule(ModuleManager moduleManager) : base(moduleManager)
{
}
2024-01-19 14:45:18 +00:00
[OnCommand(CmdType.CmdGetMailCsReq)]
public Task OnCmdGetMailCsReq(PlayerSession session, ReadOnlyMemory<byte> _)
2024-01-19 14:45:18 +00:00
{
Send(session, CmdType.CmdGetMailScRsp, new GetMailScRsp
{
Retcode = 0
});
return Task.CompletedTask;
}
}