mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 19:35:42 +00:00
Core/Packet: SMSG_LEVELUP_INFO (#10884)
This commit is contained in:
committed by
GitHub
parent
204043ccd2
commit
86e438a1e7
@@ -31,6 +31,20 @@ WorldPacket const* WorldPackets::Misc::Weather::Write()
|
||||
return &_worldPacket;
|
||||
}
|
||||
|
||||
WorldPacket const* WorldPackets::Misc::LevelUpInfo::Write()
|
||||
{
|
||||
_worldPacket << uint32(Level);
|
||||
_worldPacket << uint32(HealthDelta);
|
||||
|
||||
for (uint32 power : PowerDelta)
|
||||
_worldPacket << power;
|
||||
|
||||
for (uint32 stat : StatDelta)
|
||||
_worldPacket << stat;
|
||||
|
||||
return &_worldPacket;
|
||||
}
|
||||
|
||||
WorldPacket const* WorldPackets::Misc::PlayMusic::Write()
|
||||
{
|
||||
_worldPacket << SoundKitID;
|
||||
|
||||
Reference in New Issue
Block a user