WoW:TOC file: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (This revision and previous are available under: CC BY-SA 3.0. See list of authors in previous history below.)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{uiaddon}}
{{uiaddon}}
A TOC file is a file with a .toc file extension that provides information about an AddOn for WoW when WoW loads the AddOn. An AddOn must have a TOC file to work.
A TOC file is a file with a .toc file extension that provides information about an AddOn for WoW when WoW loads the AddOn. An AddOn must have a TOC file to work. See also [[TOC format]].


== Summary ==
== Summary ==
WoW TOC, '''T'''able '''O'''f '''C'''ontents, files are a required 'manifest' file for a WoW AddOn.
WoW TOC, Table Of Contents, files are a required 'manifest' file for a WoW AddOn.


TOC files contain information about a particular addon (such as its name, description, saved variables, etc.), as well as instructions on how the addon should be loaded by the client (for example, the order in which lua and xml files should be loaded). The file must be present, and have the same name (plus extension) as its parent folder for the addon to be recognized by the client.
TOC files contain information about a particular addon (such as its name, description, saved variables, etc.), as well as instructions on how the addon should be loaded by the client (for example, the order in which lua and xml files should be loaded). The file must be present, and have the same name (plus extension) as its parent folder for the addon to be recognized by the client.


=== Examples ===
=== Examples ===
## Interface: {{API LatestInterface}}
<pre lang="ini">
## Title: MyAddon
## Interface: 80205
## Notes: Notes about MyAddon
## Title: MyAddon
## Version: 1.0
## Notes: Notes about MyAddon
MyAddon.xml
## Version: 1.0
MyAddon.lua
MyAddon.xml
MyAddon.lua
</pre><!-- {{API LatestInterface}} -->


== Guides ==
== Guides ==

Latest revision as of 21:17, 2 August 2025

WoW AddOn

A TOC file is a file with a .toc file extension that provides information about an AddOn for WoW when WoW loads the AddOn. An AddOn must have a TOC file to work. See also TOC format.

Summary

WoW TOC, Table Of Contents, files are a required 'manifest' file for a WoW AddOn.

TOC files contain information about a particular addon (such as its name, description, saved variables, etc.), as well as instructions on how the addon should be loaded by the client (for example, the order in which lua and xml files should be loaded). The file must be present, and have the same name (plus extension) as its parent folder for the addon to be recognized by the client.

Examples

## Interface: 80205
## Title: MyAddon
## Notes: Notes about MyAddon
## Version: 1.0
MyAddon.xml
MyAddon.lua

Guides

References