I'm thinking of just diving in an writing a couple of plugins ... but, before I begin, I'd like to know if the API supports access to the following data:
For a boss mod style addon, can the API support:
1. Capturing an event that would place boss text in the chat window. For instance, if a boss says "I'm going to gnaw your bones", I would like to be able to capture when the boss says something, parse it for certain keywords, perhaps in this case the word "Gnaw", and then put up a large warning in the middle of the screen directing the player to some action to take, perhaps "Boss about to AoE, move away from him".
2. Can the API capture what area one is located in? For instance, within some distance from a specific boss ... or the name of the area ... or location via X/Y coordinates, so that the addon can know which boss the player is currently near, and activate that section of the addon for warnings.
For a gear switching type addon:
I've read the API, and apparently the API can access the backpack. Which is good. But, can it,
1. Equip gear from a specific backpack slot (or a quickslot, created for this purpose, think gear profiles) without any mouse interaction, purely in code? For example, if I have two or four items in specific backpack slots (or quickslots), with a single mouse click on a UI button, can the code then equip all two, three or four of those items?
2. And if I have an addon that allows a player to create, let's say, up to five gear profiles, each profile containing upto five pieces of gear, can the API save the quickslot data (what gear is stored in each profiles quickslots) to some location, so that when reloading the addon at some future time, they do not have to repopulate their quickslots. (I have looked at my Palantir addon, and cannot seem to locate a file that stores the information contained in the 4 quickslot items that the addon uses.)
(To be honest, I've never got the quickslot potion buttons to work in Palantir. They only show up during setup, and I can place potions in them, but I have never had them appear during actual combat. Even though I have relevant options clicked.)
(For my questions above, if you could supply the relevant API classes to delve into further, that would be another big help.)