WoW:API GetGuildInfo: Difference between revisions
Jump to navigation
Jump to search
m (→Returns) |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | {{wowapi}} __NOTOC__ | ||
Returns guild-related | Returns guild-related information about a unit. | ||
guildName, guildRankName, guildRankIndex = GetGuildInfo(unit); | guildName, guildRankName, guildRankIndex = GetGuildInfo(unit); | ||
Revision as of 22:46, 22 September 2007
← WoW API < GetGuildInfo
Returns guild-related information about a unit.
guildName, guildRankName, guildRankIndex = GetGuildInfo(unit);
Parameters
Arguments
- unit
- UnitId - The unit whose guild information you wish to query.
Returns
- guildName
- String - The name of the guild the unit is in (or nil?).
- guildRankName
- String - unit's rank in unit's guild.
- guildRankIndex
- Integer - unit's rank (index). - zero based index