PerformShortcutDrop (Bank)

From LoTROInterface Wiki

Jump to: navigation, search


Function to handle dropping or moving items into the bank vault. If the item is already in the bank vault an item swap will be performed with the item at the destination index.

Syntax

Lua
function Bank:PerformShortcutDrop(shortcut, destinationIndex, split);

Parameters

shortcut
Type: Shortcut
The LuaShortcut containing the BankItem needed for handling drag and drop. This MUST be generated by a valid drag and drop message or moving things from the vaults and housing hooks will generate errors!


destinationIndex
Type: number
The index into the bank vault where you are trying to drop the item


split
Type: boolean
Whether or not we want to split the item's stack while dragging it

Remarks

Personal tools