## Interface: 11100 ## Title: StockBoy |cff007fff -Ace- |r ## Version: Beta $Rev: 3397 $ ## Notes: ## Author: Ratbert ## DefaultState: enabled ## SavedVariables: StockBoyDB ## SavedVariablesPerCharacter: StockBoyDB Ace2\AceLibrary\AceLibrary.lua Ace2\AceOO-2.0\AceOO-2.0.lua Ace2\AceEvent-2.0\AceEvent-2.0.lua Ace2\AceHook-2.0\AceHook-2.0.lua Ace2\AceDB-2.0\AceDB-2.0.lua Ace2\AceDebug-2.0\AceDebug-2.0.lua Ace2\AceLocale-2.0\AceLocale-2.0.lua Ace2\AceConsole-2.0\AceConsole-2.0.lua Ace2\AceAddon-2.0\AceAddon-2.0.lua Ace2\AceModuleCore-2.0\AceModuleCore-2.0.lua SpecialEventsEmbedBags\SEEmbedBags.lua DewdropLib\DewdropLib.lua PeriodicTable\Core\PTEmbed.lua PeriodicTable\Elements\Misc\PTEmbedElemMisc.lua PeriodicTable\Elements\EquipSets\PTEmbedElemEquipSets.lua PeriodicTable\Elements\Food\PTEmbedElemFood.lua PeriodicTable\Elements\Instance\PTEmbedElemInstance.lua PeriodicTable\Elements\Raid\PTEmbedElemRaid.lua PeriodicTable\Elements\Tradeskills\PTEmbedElemTradeskill.lua PeriodicTable\Elements\AQ\PTEmbedElemAhnQiraj.lua PeriodicTable\Elements\ZG\PTEmbedElemZulGurub.lua StockBoy.lua --[[(( File separator ))]]-- StockBoy = AceLibrary("AceAddon-2.0"):new("AceDB-2.0", "AceEvent-2.0", "AceHook-2.0", "AceDebug-2.0", "AceConsole-2.0", "AceModuleCore-2.0") --local L = AceLibrary("AceLocale-2.0"):new("StockBoy") --local compost = CompostLib:GetInstance("compost-1") --local quartermaster = QuartermasterLib:GetInstance("1.0") local se = SpecialEventsEmbed:GetInstance("Bags 1") local pt = PeriodicTableEmbed:GetInstance("1") local dewdrop = DewdropLib:GetInstance('1.0') StockBoy:RegisterDB("StockBoyDB", "StockBoyCharDB") function StockBoy:OnInitialize() self.super.OnInitialize(self) self.ActionLists = { } -- list name = { PTSet = "PT set", Default = <> } self.ButtonList = { } -- ActionID = list name self.ItemLists = { } -- list name = { order = bagslot!value!link } self:Print("Initialized") end function StockBoy:OnEnable() --self:ScanInventory() --se:RegisterEvent(self, "SPECIAL_BAGSLOT_UPDATE", "ProcessBagSlotEvent") self:Print("Enabled") end