AddOn: Difference between revisions

114 bytes added ,  24 April 2008
no edit summary
m (Corrected spelling/grammar)
No edit summary
Line 13: Line 13:


Major version numbers as part of AddOn directory names might work, though.
Major version numbers as part of AddOn directory names might work, though.
Look at [[Getting started with writing addons]] to get a better idea of the structure of an addon.


== What is this .toc file? ==
== What is this .toc file? ==
Line 18: Line 20:
A functioning AddOn will need a file named <code>&lt;YourAddOnDirectoryName&gt;.toc</code> in "<code>Interface\AddOns\YourAddOnDirectoryName\</code>".
A functioning AddOn will need a file named <code>&lt;YourAddOnDirectoryName&gt;.toc</code> in "<code>Interface\AddOns\YourAddOnDirectoryName\</code>".


This file needs to have two things - an interface keyword with a correct interface number, and the name(s) of one or more files to load. However, Blizzard asks that you include at least these three comment lines:
This file needs to have two things - an interface keyword with a correct interface number, and the name(s) of one or more files to load. However, Blizzard asks that you include at least these three client recognized tag lines:


  ## Interface: 20400
  ## Interface: 20400
Anonymous user