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

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