-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathinit.lua
More file actions
10 lines (10 loc) · 695 Bytes
/
init.lua
File metadata and controls
10 lines (10 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
-- Runs first, creates root objects and configs
PlayerbotsPanel = AceLibrary("AceAddon-2.0"):new("AceConsole-2.0", "AceDB-2.0", "AceHook-2.1", "AceDebug-2.0", "AceEvent-2.0")
PlayerbotsPanel.rootPath = "Interface\\AddOns\\PlayerbotsPanel\\"
PlayerbotsPanel.rootFrame = CreateFrame("Frame", "PlayerbotsPanelFrame", UIParent)
PlayerbotsPanel.tabs = {} -- table to inject ui objects
PlayerbotsPanel.debug = AceLibrary:GetInstance("AceDebug-2.0")
PlayerbotsPanel:RegisterDB("PlayerbotsPanelDb", "PlayerbotsPanelDbPerChar")
PlayerbotsPanel.broker = PlayerbotsBroker
PlayerbotsPanel.util = PlayerbotsPanel.broker.util
PlayerbotsPanel.updateHandler = PlayerbotsPanel.broker.util.updateHandler.Create()