View Single Post
04-18-06, 12:28 PM   #7
Brodrick
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 25
Along with Gello's requests


Show a macro's internal id
Currently GetMacroInfo() is based off the displayed index in the Macro frame, but macros themselves have a consistant, unique identifying number. All of the game's internals appear to be based off this number, and it only gets translated in to the sorted index when displayed to the interface. I'd love to have this internal index be the fifth return of GetMacroInfo();

name, texture, body, local, id = GetMacroInfo(index);

Subsequently, a GetMacroIndexFromId(id) would be nice as well, but not as important. This is mainly for dealing with keeping references to same name macros since the macro sorting appears to be by name only and the order of same-name macros in the index can change each time a macro is added or removed from the list.


GetInboxItemLink
Another "why can't we get an item id here?" place. On one hand this one is understandable since you should technically be able to take the item from your mailbox and link it then. An example of a valid use for this that Iriel came up with is COD items. Being able to link an item you receive COD to your guild / friends to ask if you should accept it for the price. You currently can't link the item unless you accept the COD.

Another example would be you're out of bag space, but that's probably a lesser concern for Blizzard.

itemLink = GetInboxItemLink(index)
__________________
- Brodrick (aka Kirov)
  Reply With Quote