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