Beta Documentation - Subject to change.

Gets and item from the player's bank.

Syntax

Lua
function Bank:GetItem(index);

Parameters

index
Type: number
The index of the item to get.

Returns

Type: (Unrecognized type)
Either nil if there is no item there or the index is invalid, or the Item that is in the given index.

Remarks

This method will return an Item out of the player's bank at the specified index. The index must be in the range of 1 to GetCount.

See Also