WoW:API GetGuildInfo: Difference between revisions

From AddOn Studio
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");


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


__NOTOC__
[[API_PrototypeStyle]]
{{Template:WoW API}}

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");


API_PrototypeStyle