ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   Global variables removed in API Version 100020? (https://www.esoui.com/forums/showthread.php?t=7276)

Solvaring 08/08/17 01:23 AM

Global variables removed in API Version 100020?
 
So I'm looking at the 100019 ESOUIDocumentation.txt and comparing it to the 100020 version and the first thing i notice is that there are sections present in the previous version that are no longer present in the newest version.

h5. AchievementRewardType is gone
h5. ArmorDamageStyle is gone

I found those by manually comparing each section with find in np++, copying and pasting a section name present in the 100019 version into the find tool, then jumping over to the 100020 version and then initiating a search until it got too tedious, but i'm sure there could be more sections missing besides just these 2. I'll probably have to end up writing a regex to compare each version of the file to completely satisfy my questions.

I only started writing addons with version 100019 so im not sure how common this is to see with an update to the API. Could it be possible that since the ESOUIDocumentation.txt is a dump file provided by ZOS and is already an incomplete representation of the entire API, that those variables are still present and they just didnt make it in this time?

I really want to know because it's important for my upkeep of my autocomplete plugin for Zerobrane Studio. I don't want to update my plugin based on this latest dump file and end up removing autocomplete entries that are still present in the game.

Ayantir 08/08/17 02:45 AM

I can already tell you that there is a ****ton of constants missing in patchnotes.
Just look at http://wiki.esoui.com/Globals & http://wiki.esoui.com/Constant_Values ..

Patchnotes is providden as is, it's more a guide than an exhaustive reference for constants.

sirinsidiator 08/08/17 03:12 AM

As far as I am aware, the ESOUIDocumentation.txt is just a dump of their internal wiki or something. Probably a sideproduct written by some humans, so like almost every documentation on earth it won't reflect what is really in the game. Your best bet is to use Ayantir's Dumper addon and only use the txt as a reference for what you have in the dump. The stuff that is missing after you did that, you will have to check against what is in the wiki and the ui source code, or just experiment with it ingame.

ZOS_ChipHilseberg 08/09/17 08:07 AM

It's formatted for a wiki but it's automatically generated from our event, enum, function, etc specifications. So it should always reflect what is in game (of course it does not cover the globals created by our lua code).

sirinsidiator 08/09/17 11:51 AM

Quote:

Originally Posted by ZOS_ChipHilseberg (Post 32224)
It's formatted for a wiki but it's automatically generated from our event, enum, function, etc specifications. So it should always reflect what is in game (of course it does not cover the globals created by our lua code).

That's strange then, because it is missing quite a few things that are clearly not Lua.
For example all EVENT_GUILD_MEMBER_* have been missing since forever. :confused:

ZOS_ChipHilseberg 08/09/17 12:19 PM

Looks like all the events that are shared between ingame and pregame weren't part of the documentation script. I just fixed it.

sirinsidiator 08/09/17 12:25 PM

Quote:

Originally Posted by ZOS_ChipHilseberg (Post 32237)
Looks like all the events that are shared between ingame and pregame weren't part of the documentation script. I just fixed it.


Please? :)

ZOS_ChipHilseberg 08/09/17 01:06 PM

1 Attachment(s)
Here you go.

Also for next release, all of the places where you see *integer* for an enum value it will now have the specific enum type there instead :banana:.

sirinsidiator 08/09/17 01:34 PM


Looking forward to the next release. Finally no more guessing what enum it is from the argument name. :banana:


All times are GMT -6. The time now is 07:22 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI