New player event: PLAYER_EVENT_ON_PET_ADDED_TO_WORLD (#3)

Co-authored-by: UltraNix <ultranix@gmail.com>
This commit is contained in:
Yehonal
2021-10-08 08:56:19 +02:00
committed by GitHub
parent 63b2b84e8b
commit a3f12188b8
4 changed files with 14 additions and 3 deletions

View File

@@ -364,6 +364,7 @@ public:
void OnLuaStateClose();
void OnLuaStateOpen();
bool OnAddonMessage(Player* sender, uint32 type, std::string& msg, Player* receiver, Guild* guild, Group* group, Channel* channel);
void OnPetAddedToWorld(Player* player, Creature* pet);
/* Item */
void OnDummyEffect(WorldObject* pCaster, uint32 spellId, SpellEffIndex effIndex, Item* pTarget);