Files
DanhengServer-OpenSource/GameServer/Server/Packet/Send/Player/PacketUpdateEnergyScNotify.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
508 B
C#

using EggLink.DanhengServer.Proto;
namespace EggLink.DanhengServer.Server.Packet.Send.Player;
public class PacketUpdateEnergyScNotify : BasePacket
{
public PacketUpdateEnergyScNotify(int curNum, int maxNum) : base(CmdIds.UpdateEnergyScNotify)
{
var proto = new UpdateEnergyScNotify
{
EnergyInfo = new RotatorEnergyInfo
{
MaxNum = (uint)maxNum,
CurNum = (uint)curNum
}
};
SetData(proto);
}
}