Links
|
|
Info
|
Added in 1.0.0
|
![shroom shroom](/images/thumb/0/02/Inv_mushroom_11.png/32px-Inv_mushroom_11.png) |
This no longer exists on any flavor of the game.
|
![Icon-remove-48x48.png](/images/c/cd/Icon-remove-48x48.png) |
This is no longer a part of the World of Warcraft API.
- Replaced by table-returning GetMacroIcons and GetMacroItemIcons.
- It was removed in patch 4.3.0.
|
Returns the number of possible macro icons.
numIcons = GetNumMacroIcons();
Returns
- numIcons
- Number - Number of available macro icons.
Example
local numIcons = GetNumMacroIcons()
for i=1,numIcons do
DEFAULT_CHAT_FRAME:AddMessage(string.format("Icon %d: %s",i,GetMacroIconInfo(i)));
end
Result
Outputs the IDs and texture names for all available macro icons to the default chat frame.
Notes
This function must be called before using GetMacroIconInfo(index) to retrieve texture information.
Patch changes