Inspect.Item.List

From Riftui Wiki

Jump to: navigation, search

Generate a list of item IDs from a slot specifier or set of slot specifiers.

Contents

Signature

items = Inspect.Item.List()		-- table <- void
item = Inspect.Item.List(slot)		-- item <- slot
items = Inspect.Item.List(slot)		-- table <- slot
items = Inspect.Item.List(slots)	-- table <- table

Parameters

slot: A single slot specifier.
slots: A table of slot specifiers.

Return Value

item: A single item ID. This will be returned only if the input is a single fully-specified slot specifier.
items: A lookup table of item IDs. The key is the slot specifier, the value is the item ID.

Slot Identifiers

Slot identifiers are strings used to denote the exact location of items, whether in the bank, worn on the character, in the wardrobe, or in inventory. Slots are designated by the following code:

Examples

Utilities

The API has provided a number of utilities to make it easier to create the slot identifiers without necessarily remembering all the above information

Example

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox