View Single Post
12/08/17, 03:38 PM   #2
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
look at bankmanager code?

don't use PickupInventoryItem and then PlaceInTransfer, they're made for base UI, not addons which automoves.

Lua Code:
  1. if IsProtectedFunction("RequestMoveItem") then
  2.     CallSecureProtected("RequestMoveItem", bagIdFrom, slotIdFrom, bagIdTo, slotIdTo, qtyToMove)
  3. else
  4.     RequestMoveItem(bagIdFrom, slotIdFrom, bagIdTo, slotIdTo, qtyToMove)
  5. end
  Reply With Quote