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 TutorialModule : BaseModule
|
|
|
|
|
{
|
2024-01-23 17:54:53 +00:00
|
|
|
|
public TutorialModule(ModuleManager moduleManager) : base(moduleManager)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-19 14:45:18 +00:00
|
|
|
|
[OnCommand(CmdType.CmdGetTutorialCsReq)]
|
|
|
|
|
public Task OnCmdGetTutorialCsReq(PlayerSession session, ReadOnlyMemory<byte> _)
|
|
|
|
|
{
|
|
|
|
|
Send(session, CmdType.CmdGetTutorialScRsp, new GetTutorialScRsp
|
|
|
|
|
{
|
|
|
|
|
Retcode = 0,
|
|
|
|
|
TutorialList = { }
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
return Task.CompletedTask;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[OnCommand(CmdType.CmdGetTutorialGuideCsReq)]
|
|
|
|
|
public Task OnCmdGetTutorialGuideCsReq(PlayerSession session, ReadOnlyMemory<byte> _)
|
|
|
|
|
{
|
|
|
|
|
Send(session, CmdType.CmdGetTutorialGuideScRsp, new GetTutorialGuideScRsp
|
|
|
|
|
{
|
|
|
|
|
Retcode = 0,
|
|
|
|
|
TutorialGuideList = { }
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
return Task.CompletedTask;
|
|
|
|
|
}
|
|
|
|
|
}
|