/
end |
GameTooltip:Show() |
if DirtyGear.GameTooltip_OnTooltipSetItem_Orig then |
-- return DirtyGear.GameTooltip_OnTooltipSetItem_Orig(self, ...) |
return DirtyGear.GameTooltip_OnTooltipSetItem_Orig(self, ...) |
end |
end |
end |
GameTooltip:Hide() |
if DirtyGear.GameTooltip_OnTooltipCleared_Orig then |
-- return DirtyGear.GameTooltip_OnTooltipCleared_Orig(self, ...) |
return DirtyGear.GameTooltip_OnTooltipCleared_Orig(self, ...) |
end |
end |
if not DirtyGear.DB[DirtyGear.DBIndex] then |
DirtyGear.DBIndex = "default" |
end |
DirtyGear.Print("Index: "..DirtyGear.DBIndex) |
end |
function DirtyGear.OnVariablesLoaded() |
DirtyGear.CacheDBIndex() |
end |
function DirtyGear.OnAddOnLoaded(self, arg1, ...) |
if arg1 == "DirtyGear" then |
DirtyGear.Print("OnEvent:ADDON_LOADED") |
end |
function DirtyGear.OnAddOnLoaded() |
DirtyGear.Print("OnEvent:ADDON_LOADED") |
end |
function DirtyGear.OnEvent(self, arg1, ...) |
DirtyGear.OnPlayerLevelUp() |
elseif event == "ACTIVE_TALENT_GROUP_CHANGED" then |
DirtyGear.OnActiveTalentGroupChanged() |
elseif event == "ADDON_LOADED" then |
DirtyGear.OnAddOnLoaded(self, arg1, ...) |
elseif event == "ADDON_LOADED" and arg1 == "DirtyGear" then |
DirtyGear.OnAddOnLoaded() |
end |
end |
## Title: DirtyGear |
## Author: Dirtygurl |
## Version: 1.0-a |
## Version: 1.0-a2 |
## Notes: Shows suggested enchants and gems for current class/spec. |
libs\LibStub\LibStub.lua |