mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 12:46:03 +08:00
28 lines
752 B
C#
28 lines
752 B
C#
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.Player
|
|
{
|
|
public class PacketDeployRotaterScRsp : BasePacket
|
|
{
|
|
public PacketDeployRotaterScRsp(RotaterData rotaterData, int curNum, int maxNum) : base(CmdIds.DeployRotaterScRsp)
|
|
{
|
|
var proto = new DeployRotaterScRsp()
|
|
{
|
|
EnergyInfo = new RotatorEnergyInfo()
|
|
{
|
|
MaxNum = (uint)maxNum,
|
|
CurNum = (uint)curNum,
|
|
},
|
|
RotaterData = rotaterData
|
|
};
|
|
|
|
SetData(proto);
|
|
}
|
|
}
|
|
}
|