View Single Post
12-05-14, 08:22 PM   #22
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2011
Posts: 194
Originally Posted by cb0111 View Post
Found this and am willing to code it, but I couldn't find the namespace necessary to call it in weakauras and my attempts to embed it seem to be failing as well xD

http://www.curse.com/addons/wow/libbodyguard-1-0

Could you describe the global namespace to use to call the public api functions? I literally cannot find the correct namespace
lua Code:
  1. local LBG = LibStub("LibBodyguard-1.0") -- Get the LibBodyguard object
  2.  
  3. if LBG:Exists() then -- Call methods of the LBG object
  4.     print(LBG:GetHealth())
  5. end
  Reply With Quote