feat: add PLAYER_EVENT_ON_QUEST_REWARD_ITEM, add PLAYER_EVENT_ON_CREATE_ITEM, add PLAYER_EVENT_ON_STORE_NEW_ITEM (#88)

Co-authored-by: Axel Cocat <ax.cocat@gmail.com>
This commit is contained in:
veserine
2023-01-30 21:18:28 +08:00
committed by GitHub
parent 63d6ebab01
commit 695c6b7d7c
7 changed files with 57 additions and 0 deletions

View File

@@ -370,6 +370,9 @@ public:
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);
void OnQuestRewardItem(Player* player, Item* item, uint32 count);
void OnCreateItem(Player* player, Item* item, uint32 count);
void OnStoreNewItem(Player* player, Item* item, uint32 count);
/* Item */
void OnDummyEffect(WorldObject* pCaster, uint32 spellId, SpellEffIndex effIndex, Item* pTarget);