mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 15:50:20 +00:00
Add pet tracking via SMSG_PET_SPELLS and dismiss pet button
This commit is contained in:
parent
a1f73fdd39
commit
74b78cd10b
5 changed files with 45 additions and 2 deletions
|
|
@ -2890,6 +2890,13 @@ network::Packet CancelAuraPacket::build(uint32_t spellId) {
|
|||
return packet;
|
||||
}
|
||||
|
||||
network::Packet PetActionPacket::build(uint64_t petGuid, uint32_t action) {
|
||||
network::Packet packet(wireOpcode(Opcode::CMSG_PET_ACTION));
|
||||
packet.writeUInt64(petGuid);
|
||||
packet.writeUInt32(action);
|
||||
return packet;
|
||||
}
|
||||
|
||||
bool CastFailedParser::parse(network::Packet& packet, CastFailedData& data) {
|
||||
data.castCount = packet.readUInt8();
|
||||
data.spellId = packet.readUInt32();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue