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

20 lines
542 B
C#
Raw 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 ChallengeModule : BaseModule
{
[OnCommand(CmdType.CmdGetChallengeCsReq)]
public Task OnCmdGetChallengeCsReq(PlayerSession session, ReadOnlyMemory<byte> _)
{
Send(session, CmdType.CmdGetChallengeScRsp, new GetChallengeScRsp
{
Retcode = 0,
ChallengeList = { }
});
return Task.CompletedTask;
}
}