WoW:API GetGuildInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 12: Line 12:
  local guildName, guildRankName, guildRankIndex = GetGuildInfo("player");
  local guildName, guildRankName, guildRankIndex = GetGuildInfo("player");


[[Category:API Functions|GetGuildInfo]]
__NOTOC__
[[Category:API Guild Functions|GetGuildInfo]]
{{Template:WoW API}}

Revision as of 15:35, 4 January 2006

GetGuildInfo(unit)

Usage

guildName, guildRankName, guildRankIndex = GetGuildInfo(unit);

Description

Returns the name of the unit's guild, that unit's rank title in the guild and its rank index.

Example

local guildName, guildRankName, guildRankIndex = GetGuildInfo("player");


Template:WoW API