Navigation menu

WoW:TOC format: Difference between revisions

Jump to navigation Jump to search
No change in size ,  24 October 2022
Line 67: Line 67:
There are two big reasons:
There are two big reasons:
# Code differences
# Code differences
#: There are big enough differences between two editions of WoW for an addon, that it would be easier to just use two or more different code or XML files. And then eould need different .toc files to load different sets of code for an edition.
#: There are big enough differences between two editions of WoW for an addon, that it would be easier to just use two or more different code or XML files. And then would need different .toc files to load different sets of code for an edition.
# The 'Interface' version numbers
# The 'Interface' version numbers
#: Each edition has its own series of interface version numbers. Because of this and because you only have one '## Interface:' line to specify the number, you will actually need a .toc file for each supported edition. Otherwise, users will have to click the 'load outdated' checkbox to load your addon.
#: Each edition has its own series of interface version numbers. Because of this and because you only have one '## Interface:' line to specify the number, you will actually need a .toc file for each supported edition. Otherwise, users will have to click the 'load outdated' checkbox to load your addon.