mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
20 lines
508 B
C#
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);
|
|
}
|
|
} |