mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user