Backpack

From LoTROInterface Wiki

Jump to: navigation, search


Provides access to a player's backpack.


Methods

Name Description
GetItem Gets an item from the player's backpack.
GetSize Gets the size of the player's backpack.
PerformItemDrop Function to handle moving or swapping an item in our inventory. This DOES NOT handle dragging items from any of the character banks or housing hooks. For that functionality please use PerformShortcutDrop.
PerformShortcutDrop Function to handle dropping any kind of item into the backpack. If the item is already in the backpack or is coming from a housing hook, it will perform a swap with anything at the destination index.


Events

Name Description
ItemAdded Event fired when an item is added to the backpack.
ItemMoved Event fired when an item is moved in the backpack.
ItemRemoved Event fired when an item is removed from the backpack.
SizeChanged Event fired when the size of the backpack has changed.


Remarks

The backpack holds all the items that a player is carrying. This class can be used to get the size of the backpack and to access any specific item contained within.


Inheritance Hierarchy

Turbine.Object

Turbine.Gameplay.Backpack
Personal tools