WoW:API GetGuildInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (first draft.)
 
Line 2: Line 2:


===Usage===
===Usage===
guildName = GetGuildInfo(unit);
guildName, guildRankName, guildRankIndex = GetGuildInfo(unit);


===Description===
===Description===


Returns the name of the unit's guild. Which is information of a kind, I guess.
Returns the name of the unit's guild, that unit's rank title in the guild and its rank index.


===Example===
===Example===


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

Revision as of 12:10, 26 March 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");