Method Guild:SwapItemsWithInventory [-] [+]

Swap an item from a specific tab and location in the [guild] bank to the bags and locations in the inventory of a specific [player] and vice versa.

Synopsis

Guild:SwapItemsWithInventory( player, toChar, tabId, slotId, playerBag, playerSlotId, splitedAmount )

Arguments

Player player

Who Swap the item.

boolean toChar

The item goes to the Player's inventory or comes from the Player's inventory.

number tabId

Tab id.

Valid numbers: integers from 0 to 255.

number slotId

Slot id.

Valid numbers: integers from 0 to 255.

number playerBag

Bag id.

Valid numbers: integers from 0 to 255.

number playerSlotId

Slot id.

Valid numbers: integers from 0 to 255.

number splitedAmount

If the item is stackable, how much should be swaped.

Valid numbers: integers from 0 to 4,294,967,295.

Returns

Nothing.

Generated on
©2016 - Eluna Lua Engine