Type: 1nil

An argument or return that is described as 1nil is a boolean flag that returns 1 for true and nil for false. These value can be tested using the basic if not flag then test, however they cannot be listed as boolean since if flag == true will not work.

Type: ah-list-type

There are three different auction house listing types:

Type: backdrop

A backdrop definition is a Lua table with specific attributes, that match directly with the elements in the <Backdrop> definition in an XML definition. It has the following structure:

 {
   bgFile = "Interface\\DialogFrame\\UI-DialogBox-Background",
   tileSize = 32
   edgeFile = "Interface\\DialogFrame\\UI-DialogBox-Border",
   tile = 1,
   edgeSize = 32,
   insets = {
     top = 12,
     right = 12,
     left = 12,
     bottom = 12,
   }
 }

Type: bitfield

A value combining several binary flags into one number; the flags can be inspected individually using bitlib functions. For example (using GetItemFamily and related constants):

 GetItemFamily("Crystallized Air") 
 -- returns 1224
 bit.bor(0x0008,0x0040,0x0080,0x0400)
 -- returns 1224
 -- these are the masks for Leatherworking, Enchanting, Engineering, and Mining bags

 bit.band(GetItemFamily("Crystallized Air"), 0x0040)
 -- returns 64, or 0x0040: the item fits in an Enchanting Bag
 bit.band(GetItemFamily("Crystallized Air"), 0x0020)
 -- returns 0, or 0x0040: the item does not fit in an Herb Bag

Type: bagIndex

Type: containerID

Identifies one of the player's bags or other containers. Possible values:

Type: slotIndex

Type: containerSlotID

Index of an item slot within a container. Slots are numbered (as presented in the default UI) left-to-right, top-to-bottom, starting with the leftmost slot on the top row.

Type: glyphIndex

Glyph indices are ordered by the level at which they are discovered. Specifically:

  1. The major glyph at the top of the user interface (level 15)
  2. The minor glyph at the bottom of the user interface (level 15)
  3. The minor glyph at the top left of the user interface (level 30)
  4. The major glyph at the bottom right of the user interface (level 50)
  5. The minor glyph at the top right of the user interface (level 70)
  6. The major glyph at the bottom left of the user interface (level 80)

Type: hyperlink

Type: inventoryID

Identifies an inventory slot used (mostly) for the equipping of items. Inventory ID numbers exist not only for the armor and weapon slots seen in the default UI's Character window, but also for bag slots, bank bag slots, the contents of the bank's main storage area, and the contents of the keyring. Inventory slots are not defined as constants in the default UI; to obtain the inventoryID for a slot, use one of the following functions:

Type: itemQuality

Indicates the quality (or rarity) of an item. Possible values and examples:

  1. Poor (gray): Broken I.W.I.N. Button
  2. Common (white): Archmage Vargoth's Staff
  3. Uncommon (green): X-52 Rocket Helmet
  4. Rare / Superior (blue): Onyxia Scale Cloak
  5. Epic (purple): Talisman of Ephemeral Power
  6. Legendary (orange): Fragment of Val'anyr
  7. Artifact / Heirloom (light yellow): Bloodied Arcanite Reaper

Type: layer

One of the graphical layers present in World of Warcraft (presented from lowest to highest). Any graphics on the HIGHLIGHT layer are only displayed when the mouse is over the parent frame.

Type: rollID

The default user interface assigns a unique numeric identifier for all items that are able to be rolled on by the party. This identifier can be obtained by checking the rollID member of the specific group loot frame. For example: /run print(GroupLootFrame1.rollID).

Type: standingID

Identifies a level of reputation:

  1. Hated
  2. Hostile
  3. Unfriendly
  4. Neutral
  5. Friendly
  6. Honored
  7. Revered
  8. Exalted

The default UI provides constants which can be helpful in displaying standing information. Prepending "FACTION_STANDING_LABEL" to a standingID results in the name of a global containing the localized name for that standing (e.g. FACTION_STANDING_LABEL5 == "Friendly"). Color values for each standing (as seen in reputation status bars in the default UI) can be found in the tableFACTIONBARCOLORS`.

Type: unitid

Type: auraFilter

This parameter can be any of "HELPFUL", "HARMFUL", "PLAYER", "RAID", "CANCELABLE", "NOT_CANCELABLE". You can also specify several filters separated by a | or space character to chain multiple filters together (e.g. "HELPFUL|RAID" or "HELPFUL RAID" == helpful buffs that you can cast on your raid). By default UnitAura has "HELPFUL" as an implicit filter - you cannot get back BOTH helpful and harmful at the same time. Neither "HELPFUL" or "HARMFUL" have meaning for UnitBuff/UnitDebuff, and will be ignored.