Files
DanhengServer-OpenSource/GameServer/Server/Packet/Send/ChessRogue/PacketChessRogueUpdateAllowedSelectCellScNotify.cs
Somebody 87d228eb79 Feature:Asynchronous Operation & Formatting Code
- Now the async operation is enabled!
- Code formatted by Resharper plugin <3
2024-07-22 17:12:03 +08:00

19 lines
583 B
C#

using EggLink.DanhengServer.Proto;
namespace EggLink.DanhengServer.Server.Packet.Send.ChessRogue;
public class PacketChessRogueUpdateAllowedSelectCellScNotify : BasePacket
{
public PacketChessRogueUpdateAllowedSelectCellScNotify(int boardId, List<int> allowed) : base(
CmdIds.ChessRogueUpdateAllowedSelectCellScNotify)
{
var proto = new ChessRogueUpdateAllowedSelectCellScNotify
{
BoardId = (uint)boardId
};
foreach (var cell in allowed) proto.AllowedSelectCellIdList.Add((uint)cell);
SetData(proto);
}
}