→What is this .toc file?
mNo edit summary |
|||
| Line 22: | Line 22: | ||
Minimal .toc file contents: | Minimal .toc file contents: | ||
## Interface: | ## Interface: 1600 | ||
## Title: My Add On | ## Title: My Add On | ||
## Description: What my addon does | ## Description: What my addon does | ||
| Line 31: | Line 31: | ||
The interface number can be seen in the WoW login screen, at the lower left. The number in the .toc file must match the current build or the add on will not be loaded/active. | The interface number can be seen in the WoW login screen, at the lower left. The number in the .toc file must match the current build or the add on will not be loaded/active. | ||
Note: '' | Note: ''Use the Interface Customization Kit that Blizzard provides to determine the real Interface number.'' | ||
Use the Interface Customization Kit that Blizzard provides to determine the real Interface number.'' | |||
It's also probably a good idea to add a short description of your AddOn, since this is now displayed in the Addon List UI. To do so, simply add a line like the following after the Title or Description line: | It's also probably a good idea to add a short description of your AddOn, since this is now displayed in the Addon List UI. To do so, simply add a line like the following after the Title or Description line: | ||
| Line 41: | Line 39: | ||
== Special case : [[Bindings.xml]] == | == Special case : [[Bindings.xml]] == | ||
If you include a [[Bindings.xml]] file, it does not have to be included in your .toc list of files to load - WoW loads this file automatically. | If you include a [[Bindings.xml]] file, it does not have to be included in your .toc list of files to load - WoW loads this file automatically. This file is used to set key bindings specific to the AddOn. | ||
== What other keywords are there in the .toc file? == | == What other keywords are there in the .toc file? == | ||