Advertisement
Kreiri

Rift: more bugs

Nov 11th, 2011
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.96 KB | None | 0 0
  1. -- I'm trying to get player's name and buffs and load buff bars accordingly
  2. table.insert(Event.Addon.SavedVariables.Load.End, {
  3.     function (addonId)
  4.         if (addonId == addonInfo.toc.Identifier) then
  5.             print("Event.Addon.SavedVariables.Load.End")
  6.             print("Inspect.Unit.Detail(\"player\")")
  7.             Library.KLH.tdump(Inspect.Unit.Detail("player"))
  8.             print("Inspect.Buff.List(\"player\")")
  9.             Library.KLH.tdump(Inspect.Buff.List("player"))
  10.         --  LoadSavedVariables()
  11.         end
  12.     end,
  13.     addonInfo.toc.Identifier, "LoadSavedVariables"})
  14.  
  15.  
  16.  
  17. table.insert(Event.Addon.Startup.End, {
  18.     function ()
  19.         print("Event.Addon.Startup.End")
  20.         print("Inspect.Unit.Detail(\"player\")")
  21.         Library.KLH.tdump(Inspect.Unit.Detail("player"))
  22.         print("Inspect.Buff.List(\"player\")")
  23.         Library.KLH.tdump(Inspect.Buff.List("player"))
  24.     --  LoadGroups()
  25.     end,
  26.     addonInfo.toc.Identifier, "LoadGroups"})
  27.  
  28. -- on logging in: http://i.imgur.com/TtXSR.jpg
  29. -- after /reloadui: http://i.imgur.com/1OFjo.jpg
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement