Core/BattlePets: Implemented CMSG_BATTLE_PET_UPDATE_NOTIFY

Port From (https://github.com/TrinityCore/TrinityCore/commit/966430dc449f6ac259262cb996051dfd04a6e5fb)
This commit is contained in:
hondacrx
2022-05-09 12:30:19 -04:00
parent 381f7bc02a
commit 0c186f35bb
3 changed files with 38 additions and 25 deletions
@@ -301,7 +301,18 @@ namespace Game.Networking.Packets
public ObjectGuid PetGuid;
}
class BattlePetUpdateNotify : ClientPacket
{
public ObjectGuid PetGuid;
public BattlePetUpdateNotify(WorldPacket packet) : base(packet) { }
public override void Read()
{
PetGuid = _worldPacket.ReadPackedGuid();
}
}
//Structs
public struct BattlePetStruct
{