Thread Tools Display Modes
10/02/19, 03:34 PM   #1
Anceane
 
Anceane's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 306
questions on the .txt manifest

I apologize in advance for the question that may be dumb but i always wondered what is the difference between those two in the .txt manifest ? (i dont mean the number by itself but version and addonversion

Its not pointing at the addon version in both case ?

Code:
## Version: 6.8.1
## AddOnVersion: 680
  Reply With Quote
10/02/19, 03:43 PM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
Version was there at first.
Version is not used by the game itsself afaik but is used within Minion e.g. to check for the version of the addon. Maybe in other tools as well.

AddOnVersion was added later and must be an unsigned integer value so the ingame vanilla addon manager can check if you got multiple versions of the same addon (it's meant to be used with libraries!) and ONLY loads the newest version. This tag replaces the usage of the library LibStub which also assures that you only load the newest version (newest = locally available "with the highest integer value") of a library and no older ones.

Last edited by Baertram : 10/02/19 at 04:00 PM.
  Reply With Quote
10/02/19, 03:50 PM   #3
Anceane
 
Anceane's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 306
oh ok understood.

Thank you
  Reply With Quote

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » questions on the .txt manifest

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off