2023-10-14 15:05:58 +00:00
|
|
|
|
using AscNet.Common.MsgPack;
|
|
|
|
|
|
|
|
|
|
namespace AscNet.GameServer.Handlers
|
|
|
|
|
{
|
2023-10-14 16:13:29 +00:00
|
|
|
|
public class GuideGroupFinishRequest
|
|
|
|
|
{
|
|
|
|
|
public int GroupId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class GuideGroupFinishResponse
|
|
|
|
|
{
|
|
|
|
|
public int Code;
|
|
|
|
|
public List<dynamic>? RewardGoodsList;
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-14 15:05:58 +00:00
|
|
|
|
internal class GuideModule
|
|
|
|
|
{
|
|
|
|
|
[RequestPacketHandler("GuideOpenRequest")]
|
|
|
|
|
public static void GuideOpenRequestHandler(Session session, Packet.Request packet)
|
|
|
|
|
{
|
|
|
|
|
session.SendResponse(new GuideOpenResponse(), packet.Id);
|
|
|
|
|
}
|
2023-10-14 16:13:29 +00:00
|
|
|
|
|
|
|
|
|
// TODO: Invalid, need proper types
|
2023-10-14 15:05:58 +00:00
|
|
|
|
[RequestPacketHandler("GuideGroupFinishRequest")]
|
|
|
|
|
public static void GuideGroupFinishRequestHandler(Session session, Packet.Request packet)
|
|
|
|
|
{
|
2023-10-14 16:13:29 +00:00
|
|
|
|
session.SendResponse(new GuideGroupFinishResponse(), packet.Id);
|
2023-10-14 15:05:58 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|