Snowflake/RPG.Services.Gameserver/Modules/QuestModule.cs
2024-01-19 17:45:18 +03:00

19 lines
534 B
C#

using RPG.Network.Proto;
using RPG.Services.Gameserver.Modules.Attributes;
using RPG.Services.Gameserver.Session;
namespace RPG.Services.Gameserver.Modules;
internal class QuestModule : BaseModule
{
[OnCommand(CmdType.CmdGetQuestDataCsReq)]
public Task OnCmdGetQuestDataCsReq(PlayerSession session, ReadOnlyMemory<byte> _)
{
Send(session, CmdType.CmdGetQuestDataScRsp, new GetQuestDataScRsp
{
Retcode = 0,
QuestList = { }
});
return Task.CompletedTask;
}
}