Files
DanhengServer-OpenSource/GameServer/Server/Packet/Send/ChessRogue/PacketChessRogueCellUpdateNotify.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

20 lines
542 B
C#

using EggLink.DanhengServer.Game.ChessRogue.Cell;
using EggLink.DanhengServer.Proto;
namespace EggLink.DanhengServer.Server.Packet.Send.ChessRogue;
public class PacketChessRogueCellUpdateNotify : BasePacket
{
public PacketChessRogueCellUpdateNotify(ChessRogueCellInstance cell, int boardId) : base(
CmdIds.ChessRogueCellUpdateNotify)
{
var proto = new ChessRogueCellUpdateNotify
{
BoardId = (uint)boardId
};
proto.CellList.Add(cell.ToProto());
SetData(proto);
}
}