mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-16 08:46:09 +00:00
feat(Core/Unit): Implement GetCompanionPet() helper (#20819)
This commit is contained in:
@@ -1758,6 +1758,7 @@ public:
|
||||
// Pets, guardians, minions...
|
||||
[[nodiscard]] Guardian* GetGuardianPet() const;
|
||||
[[nodiscard]] Minion* GetFirstMinion() const;
|
||||
[[nodiscard]] Creature* GetCompanionPet() const;
|
||||
|
||||
Pet* CreateTamedPetFrom(Creature* creatureTarget, uint32 spell_id = 0);
|
||||
Pet* CreateTamedPetFrom(uint32 creatureEntry, uint32 spell_id = 0);
|
||||
|
||||
Reference in New Issue
Block a user