GetItem (Shortcut)
From LoTROInterface Wiki
API Reference > Turbine.UI.Lotro.Shortcut.GetItem()
If the shortcut is an item shortcut, this function attempts to build and return a LuaItem.
Syntax
Lua | |
---|---|
function Shortcut:GetItem(); |
Returns
Type: Item
The LuaItem that was built (or NIL if we couldn't make one)