WoW:API GetGuildInfo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{wowapi}} | |||
=GetGuildInfo(unit)= | =GetGuildInfo(unit)= | ||
| Line 7: | Line 8: | ||
Returns the name of the unit's guild, that unit's rank title in the guild and its rank index. | Returns the name of the unit's guild, that unit's rank title in the guild and its rank index. | ||
===Example=== | ===Example=== | ||
local guildName, guildRankName, guildRankIndex = GetGuildInfo("player"); | |||
[[API_PrototypeStyle]] | |||
Revision as of 22:05, 18 July 2006
← WoW API < GetGuildInfo
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");