WoW:API UnitGetGuildXP: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:


variable names seem to explain it all
variable names seem to explain it all
frame:RegisterEvent("{{api|t=e|GUILD_XP_UPDATE}}")
should also come in handy

Revision as of 05:55, 15 December 2010

WoW API < UnitGetGuildXP

From Blizzard_GuildUI.lua:

local currentXP, remainingXP, dailyXP, maxDailyXP = UnitGetGuildXP("player");

variable names seem to explain it all

frame:RegisterEvent("GUILD_XP_UPDATE")

should also come in handy