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

@@ -771,6 +771,21 @@ public:
{
return sEluna->OnCanJoinLfg(player, roles, dungeons, comment);
}
void OnQuestRewardItem(Player* player, Item* item, uint32 count) override
{
sEluna->OnQuestRewardItem(player, item, count);
}
void OnCreateItem(Player* player, Item* item, uint32 count) override
{
sEluna->OnCreateItem(player, item, count);
}
void OnStoreNewItem(Player* player, Item* item, uint32 count) override
{
sEluna->OnStoreNewItem(player, item, count);
}
};
class Eluna_ServerScript : public ServerScript