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
+6
View File
@@ -146,5 +146,11 @@ namespace Game
else
GetBattlePetMgr().DismissPet();
}
[WorldPacketHandler(ClientOpcodes.BattlePetUpdateNotify)]
void HandleBattlePetUpdateNotify(BattlePetUpdateNotify battlePetUpdateNotify)
{
GetBattlePetMgr().UpdateBattlePetData(battlePetUpdateNotify.PetGuid);
}
}
}