mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-27 01:00:13 +00:00
BuyMerchantItem(index, count) purchases an item from the current vendor by merchant slot index. Resolves itemId and slot from the vendor's ListInventoryData. SellContainerItem(bag, slot) sells an item from the player's inventory to the vendor. Supports backpack (bag=0) and bags 1-4. Enables auto-sell addons (Scrap, AutoVendor) and vendor UI addons to buy/sell items programmatically. |
||
|---|---|---|
| .. | ||
| addon_manager.cpp | ||
| lua_engine.cpp | ||
| toc_parser.cpp | ||