WoW:API GetGuildInfo: Difference between revisions

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


  local guildName, guildRankName, guildRankIndex = GetGuildInfo("player");
  local guildName, guildRankName, guildRankIndex = GetGuildInfo("player");
[[Category:API Functions|GetGuildInfo]]
[[Category:API Guild Functions|GetGuildInfo]]

Revision as of 14:34, 27 August 2005

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");