1.6 Addon API Feedback
Feel free to post any questions or concerns about the 1.6 Addon API changes here.
|
Admit it! You are actually testing your updates against our addons to ensure maximum mayhem :p
I just tried my addons on the pts and most of them won't run without some fixes. Also a bit sad that there are no updates to the trading house search API. Could use a few improvements. Other than that I haven't looked to deeply into the changes yet. Will save that for the weekend. |
Quote:
|
Maybe a dumb question but where can I find the changes to the API with patch 1.6 listed?
|
Quote:
btw... is there an issue with existing version of LibMapPins-1.0 in 1.6? I can't see any changes made to the API that should affect my Destinations addon, but there are no tooltips on ANY of the pins. |
Quote:
Quote:
|
I haven't really started banging on any of mine yet, but I was pleasantly surprised to log in to only one error message from an addon under my care.
The error was in Dye Station Achievement Links, had to change ZO_Dyeing to DYEING (which was originally how I thought it should have worked, but didn't). I noticed in the source code some inconsistencies with the usage of collectible/collectable. Might consider ironing that out :) I'm excited to see what may be possible with the champion UI, collections UI, and crown store UI. |
Quote:
http://www.esoui.com/forums/showthre...8442#post18442 |
In one of my addons I'm using item link in the label text:
Lua Code:
Text is set in this code (actualy it is in LibAddonMenu-2.0, this is just simplified version): Lua Code:
The same goes for tooltip: Lua Code:
|
Chip thank you for GetAPIVersion. It is small thing but nice to have. I only had a chance to play PTS for a couple hours so far and not delved into add-on parts yet.
|
Quote:
Would be nice to see any or all of them in the future :cool: |
I wasn't able to get the main API functions to work for setting pending points or adjusting them. ClearPendingChampionPoints doesn't take any arguments, but wouldn't work from /script. I could get a dump of the points in each skill but feeding those same indices back in didn't do anything.
However, I was able to directly update the controls on the ui with something like this: Lua Code:
What's the correct syntax for AddPendingChampionPoints and such? Does it need to be prefixed by particular calls or is it just not working? |
Quote:
1) Clear the pending point storage in the client. 2) Add points that you want to spend by passing the discipline (constellation) index, skill index, and number of points to spend. 3) Call SpendPendingChampion points. If are just adding points, pass in false and the pending points will be interpreted as points to add to each skill. If you are respecing, pass in true and the pending points will be interpreted as the final point values for each skill. These functions have no impact on the UI. They are just used to pass all of the requested points to the client. |
Actually I was hoping for the Object function SetShapeType to do something usefull :rolleyes:.
At least for controlls like Scroll. Values to be passed are SHAPE_BOX and SHAPE_CIRCLE, but it is well known that this function doesn't do anything. So, my question is - are there any plans on to make SetShapeType do anything at all? |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
There are 4 (or 5) variables leaking to global. ;)
http://www.esoui.com/forums/showpost...1&postcount=16 |
All times are GMT -6. The time now is 06:19 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI