Feature:Asynchronous Operation & Formatting Code

- Now the async operation is enabled!
- Code formatted by Resharper plugin <3
This commit is contained in:
Somebody
2024-07-22 17:12:03 +08:00
parent e983375620
commit 87d228eb79
793 changed files with 34764 additions and 40190 deletions

View File

@@ -1,25 +1,20 @@
using EggLink.DanhengServer.Game.ChessRogue.Cell;
using EggLink.DanhengServer.Proto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EggLink.DanhengServer.Server.Packet.Send.ChessRogue
namespace EggLink.DanhengServer.Server.Packet.Send.ChessRogue;
public class PacketChessRogueCellUpdateNotify : BasePacket
{
public class PacketChessRogueCellUpdateNotify : BasePacket
public PacketChessRogueCellUpdateNotify(ChessRogueCellInstance cell, int boardId) : base(
CmdIds.ChessRogueCellUpdateNotify)
{
public PacketChessRogueCellUpdateNotify(ChessRogueCellInstance cell, int boardId) : base(CmdIds.ChessRogueCellUpdateNotify)
var proto = new ChessRogueCellUpdateNotify
{
var proto = new ChessRogueCellUpdateNotify()
{
BoardId = (uint)boardId,
};
BoardId = (uint)boardId
};
proto.CellList.Add(cell.ToProto());
proto.CellList.Add(cell.ToProto());
SetData(proto);
}
SetData(proto);
}
}
}