/signed
twice!
edit: .. and that's without mentioning that we have to manage filters in order to correctly read all crafts, scan again to keep track of cooldowns after an item has been crafted, etc..
To elaborate a bit (based on my experience with the tradeskill API functions), I wonder if there's really a point of only allowing the use of these functions when the TS window is opened. It would be good to have an event when a new recipe is learned too, or when a cooldown is triggered. Put simply: slightly change the functions so that they're not depending on the UI, but on the data. Typically, a function like GetNumTradeSkills() should return the exact number of recipes and not take care of the headers (or maybe it should if a given parameter is passed, there are many ways to do this imo), and not be impacted by the filters.
...
+1 for moar luv ! :>
Last edited by Thaoky : 01-06-09 at 07:37 AM.
|