View Single Post
Unread 10-03-11, 06:25 PM   #7
Sunspots
Claw of Regulos
 
Sunspots's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2011
Posts: 23
Quote:
Originally Posted by Dolby View Post
These are the known fields for the riftAddon.toc http://wiki.riftui.com/RiftAddon.toc. I don't see anything for dependency, something to bring up to ZorbaTHut.
It's just commented out for the example.
Code:
-- This line would set up dependencies with several other addons.
--[[
Dependencies = {
  LibUnitChange = {"required", "before"}, -- LibUnitChange must be installed for this to work, and must be loaded before this addon is loaded.
  Visualizer = {"required"}, -- Visualizer must be installed for this to work. It may be loaded either before or after this addon.
 
  SomeLibrary = {"required"}, -- Embedded libraries are not added to the dependencies automatically. If the embedded library fails to load due to a conflict, your addon will still load unless it's set as a required dependency.
 
  OptionalHelper = {"optional", "before"}, -- This addon is optional, but if it's loaded, it must be loaded before this addon is loaded.
  SomethingThatNeedsToBeHooked = {"optional", "after"}, -- This addon is optional, but if it's loaded, it must be loaded *after* this addon is loaded.
  DataHelper = {"optional"},  -- This addon is optional and we don't care about load order.
}
]]
Sunspots is offline   Reply With Quote