mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-14 22:04:36 +01:00
32 lines
1.0 KiB
C#
32 lines
1.0 KiB
C#
using KianaBH.Data;
|
|
using KianaBH.KcpSharp;
|
|
using KianaBH.Proto;
|
|
|
|
namespace KianaBH.GameServer.Server.Packet.Send.Mission;
|
|
|
|
public class PacketGetRecommendMissionPanelListRsp : BasePacket
|
|
{
|
|
public PacketGetRecommendMissionPanelListRsp() : base(CmdIds.GetRecommendMissionPanelListRsp)
|
|
{
|
|
//var proto = new GetRecommendMissionPanelListRsp
|
|
//{
|
|
// Retcode = GetRecommendMissionPanelListRsp.Types.Retcode.NotOpen, // set to NotOpen to prevent null reference error pop up
|
|
// RecommendMissionPanelList =
|
|
// {
|
|
// GameData.RecommendPanelData.Values.Select(x => new RecommendMissionPanel
|
|
// {
|
|
// PanelId = x.PanelId,
|
|
// IsPanelShow = true,
|
|
// })
|
|
// }
|
|
//};
|
|
|
|
var proto = new GetRecommendMissionPanelListRsp
|
|
{
|
|
Retcode = GetRecommendMissionPanelListRsp.Types.Retcode.NotOpen, // set to NotOpen to prevent null reference error pop up
|
|
};
|
|
|
|
SetData(proto);
|
|
}
|
|
}
|