WoW:AddOn loading process: Difference between revisions

No edit summary
Line 15: Line 15:
=== AddOn Load ===
=== AddOn Load ===


AddOn loading occurs when the player logs in. The dependency information in the .toc files is used, in part, to compute the order in which the addons files will be loaded, as well as the natural order in which the AddOns were discovered during hte scan process. For AddOns with dependancies, an individual addon may '''not''' assume that all of the other addons that it depends on will be loaded first, without taking specific steps to ensure its dependancies are already loaded and available. When WoW loads a particular AddOn it uses the information in its [[TOC file]] discovered during initial scan and loads each file in order that it is found inside the TOC.
AddOn loading occurs when the player logs in. The dependency information in the .toc files is used, in part, to compute the order in which the addons files will be loaded, as well as the natural order in which the AddOns were discovered during the scan process. For AddOns with dependancies, an individual addon may '''not''' assume that all of the other addons that it depends on will be loaded first, without taking specific steps to ensure its dependancies are already loaded and available. When WoW loads a particular AddOn it uses the information in its [[TOC file]] discovered during initial scan and loads each file in order that it is found inside the TOC.


== Inside the TOC file ==
== Inside the TOC file ==
Anonymous user