WoW:API GetGuildInfo: Difference between revisions
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 | Returns the name of the unit's guild, that unit's rank title in the guild and its rank index. | ||
===Example=== | ===Example=== | ||
local | 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");