diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2016-11-19 00:18:44 +0100 |
|---|---|---|
| committer | Yehonal <yehonal.azeroth@gmail.com> | 2016-11-19 00:18:44 +0100 |
| commit | 7e56f3f1fcd690f1c55f9b06ddcaf1fbd37d53f0 (patch) | |
| tree | ff9fd7abf7fd268aff2f76db6c075ca4c536110c /src/game/Scripting/ScriptMgr.cpp | |
| parent | e6f1dd8ead5de97c94f42b41abafcd1f82b29d7f (diff) | |
Implemented hook for Player::MoveItemFromInventory
Diffstat (limited to 'src/game/Scripting/ScriptMgr.cpp')
| -rw-r--r-- | src/game/Scripting/ScriptMgr.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/Scripting/ScriptMgr.cpp b/src/game/Scripting/ScriptMgr.cpp index 730ce93aa6..d717649c61 100644 --- a/src/game/Scripting/ScriptMgr.cpp +++ b/src/game/Scripting/ScriptMgr.cpp @@ -1328,6 +1328,11 @@ void ScriptMgr::OnAfterPlayerSetVisibleItemSlot(Player* player, uint8 slot, Item FOREACH_SCRIPT(PlayerScript)->OnAfterSetVisibleItemSlot(player, slot,item); } +void ScriptMgr::OnAfterPlayerMoveItemFromInventory(Player* player, Item* it, uint8 bag, uint8 slot, bool update) +{ + FOREACH_SCRIPT(PlayerScript)->OnAfterMoveItemFromInventory(player, it, bag, slot, update); +} + // Guild void ScriptMgr::OnGuildAddMember(Guild* guild, Player* player, uint8& plRank) { |
