LibInit

15k Downloads

LibInit

API

LibInit should make using Ace3 even more easier and pleasant.

LibInit hard embeds all it's needed dependencies.

  1. LibStub.lua
  2. CallbackHandler-1.0
  3. AceAddon-3.0
  4. AceGUI-3.0
  5. AceConfig-3.0
    1. AceConfigCmd-3.0
    2. AceConfigDialog-3.0
    3. AceConfigRegistry-3.0
  6. AceConsole-3.0
  7. AceDB-3.0
  8. AceDBOptions-3.0
  9. AceEvent-3.0
  10. AceHook-3.0
  11. AceLocale-3.0
  12. AceTimer-3.0

Inside your .pkgmeta

externals:
 libs/LibInit:
 url: https://github.com/alarofrunetotem/LibInit.git/LibInit
 tag: latest

Inside your toc

libs\LibInit\Libinit.xml

Inside your addon

me,ns=...
local myAddon=LibStub("LibInit):NewAddon(me,true) -- to pull all Ace3 embeddable
local myAddon=LibStub("LibInit):NewAddon(me,"AceHook-3.0","Someotherembeddablelibrary",...) -- to specify your needed embed
local myAddon=LibStub("LibInit):NewAddon(me,true,"Someotherembeddablelibrary",...) to pull all Ace3 embeddable and adding more libraries