Core/Pets: Updated pet summoning for latest client version (5 Call Pet spells and stable size 200)
Port From (https://github.com/TrinityCore/TrinityCore/commit/950db60435e7e513633ff5b22ad7f0ed8b1147e4)
This commit is contained in:
@@ -292,6 +292,22 @@ namespace Game.Networking.Packets
|
||||
public ObjectGuid StableMaster;
|
||||
}
|
||||
|
||||
class SetPetSlot : ClientPacket
|
||||
{
|
||||
public SetPetSlot(WorldPacket packet) : base(packet) { }
|
||||
|
||||
public override void Read()
|
||||
{
|
||||
PetNumber = _worldPacket.ReadUInt32();
|
||||
DestSlot = _worldPacket.ReadUInt8();
|
||||
StableMaster = _worldPacket.ReadPackedGuid();
|
||||
}
|
||||
|
||||
public ObjectGuid StableMaster;
|
||||
public uint PetNumber;
|
||||
public byte DestSlot;
|
||||
}
|
||||
|
||||
//Structs
|
||||
public struct TreasureItem
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user