20 lines
542 B
C#
20 lines
542 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|