Returns a list of the available spell icon filenames for use in macros. The entries in this table are in 'array' form, beginning at index 1, so you can take the length of the list to get the number of available icons. In order to load item icons, you must also use GetMacroItemIcons, passing it the same table. These filenames are not usable directly, they must be prefixed with "INTERFACE\\ICONS\\" in order to be used.


See also Macro functions.

Signature:

icons = GetMacroIcons(tbl)

Arguments:

  • tbl - A table to be filled with the list of icon filenames. If nil, then a new table is returned. (table)

Returns:

  • icons - A table containing a list of icon filenames, with the players spells listed first, followed by the other available icons. (table)