mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
21 lines
665 B
C#
21 lines
665 B
C#
using EggLink.DanhengServer.Server.Packet.Send.Tutorial;
|
|
using EggLink.DanhengServer.Util;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace EggLink.DanhengServer.Server.Packet.Recv.Tutorial
|
|
{
|
|
[Opcode(CmdIds.GetTutorialCsReq)]
|
|
public class HandlerGetTutorialCsReq : Handler
|
|
{
|
|
public override void OnHandle(Connection connection, byte[] header, byte[] data)
|
|
{
|
|
if (ConfigManager.Config.ServerOption.EnableMission) // If missions are enabled
|
|
connection.SendPacket(new PacketGetTutorialScRsp(connection.Player!));
|
|
}
|
|
}
|
|
}
|