49
edits
| Line 62: | Line 62: | ||
frame.xml | frame.xml | ||
In this example the AddOn has alternate .toc files for both Classic and WotLK, as well as the default .toc file. When the WotLK edition loads, it will look first for 'MyAddOn_Wrath.toc' then for 'MyAddOn.toc', if 'MyAddOn_Wrath.toc' is not found. if 'MyAddOn_Wrath.toc' is found it will only load that toc and ignore | In this example the AddOn has alternate .toc files for both Classic and WotLK, as well as the default .toc file. When the WotLK edition loads, it will look first for 'MyAddOn_Wrath.toc' then for 'MyAddOn.toc', if 'MyAddOn_Wrath.toc' is not found. | ||
So if 'MyAddOn_Wrath.toc' is found, it will only load that .toc and ignore any others. If it's not found, it will load the default 'MyAddOn.toc', ignoring any others. | |||
=== Why multiple .toc files === | === Why multiple .toc files === | ||