Sol.data.items.GetBagItemData

Sol.data.items.GetBagItemData = function(index, tooltip)

Attempts to retrieve all known info about an equipment item in the inventory

Parameters: + index  - The bag index of the item, as used by GetBagItemInfo + tooltip - Optionally specify a tooltip to use; default is GameTooltip

Returns: + A table of data about the equipment item

Example: local data = Sol.data.items.GetBagItemData(1) for key, val in pairs(data) do   Sol.io.Print(key .. " = " .. val) end