mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
19 lines
583 B
C#
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);
|
|
}
|
|
} |