Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- I'm trying to get player's name and buffs and load buff bars accordingly
- table.insert(Event.Addon.SavedVariables.Load.End, {
- function (addonId)
- if (addonId == addonInfo.toc.Identifier) then
- print("Event.Addon.SavedVariables.Load.End")
- print("Inspect.Unit.Detail(\"player\")")
- Library.KLH.tdump(Inspect.Unit.Detail("player"))
- print("Inspect.Buff.List(\"player\")")
- Library.KLH.tdump(Inspect.Buff.List("player"))
- -- LoadSavedVariables()
- end
- end,
- addonInfo.toc.Identifier, "LoadSavedVariables"})
- table.insert(Event.Addon.Startup.End, {
- function ()
- print("Event.Addon.Startup.End")
- print("Inspect.Unit.Detail(\"player\")")
- Library.KLH.tdump(Inspect.Unit.Detail("player"))
- print("Inspect.Buff.List(\"player\")")
- Library.KLH.tdump(Inspect.Buff.List("player"))
- -- LoadGroups()
- end,
- addonInfo.toc.Identifier, "LoadGroups"})
- -- on logging in: http://i.imgur.com/TtXSR.jpg
- -- after /reloadui: http://i.imgur.com/1OFjo.jpg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement