mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
22 lines
613 B
C#
22 lines
613 B
C#
using EggLink.DanhengServer.Kcp;
|
|
using EggLink.DanhengServer.Proto;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.MapRotation;
|
|
|
|
public class PacketDeployRotaterScRsp : BasePacket
|
|
{
|
|
public PacketDeployRotaterScRsp(RotaterData rotaterData, int curNum, int maxNum) : base(CmdIds.DeployRotaterScRsp)
|
|
{
|
|
var proto = new DeployRotaterScRsp
|
|
{
|
|
EnergyInfo = new RotaterEnergyInfo
|
|
{
|
|
MaxNum = (uint)maxNum,
|
|
CurNum = (uint)curNum
|
|
},
|
|
RotaterData = rotaterData
|
|
};
|
|
|
|
SetData(proto);
|
|
}
|
|
} |