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

24 lines
621 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 QuestModule : BaseModule
{
public QuestModule(ModuleManager moduleManager) : base(moduleManager)
{
}
2024-01-19 14:45:18 +00:00
[OnCommand(CmdType.CmdGetQuestDataCsReq)]
public Task OnCmdGetQuestDataCsReq(PlayerSession session, ReadOnlyMemory<byte> _)
{
Send(session, CmdType.CmdGetQuestDataScRsp, new GetQuestDataScRsp
{
Retcode = 0,
QuestList = { }
});
return Task.CompletedTask;
}
}