WoW:API GetGuildInfo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(conformist layout) |
||
| Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} __NOTOC__ | ||
=GetGuildInfo(unit) | Returns guild-related informationa bout 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). | |||
Revision as of 01:41, 24 December 2006
← WoW API < GetGuildInfo
Returns guild-related informationa bout 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).