v0.13.8

GetGuildInfo

functionimplementedavailable in: camelot

Returns guild info for a player unit.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
unitstringUnitId - The unit whose guild information you wish to query.

Returns

#nametypedescription
1guildNamestring?The name of the guild the unit is in (or nil?).
2guildRankNamestringunit's rank in unit's guild.
3guildRankIndexnumberunit's rank (index). - zero based index (0 is Guild Master, 1 and above are lower ranks)
4realmstring?The name of the realm the guild is in, or nil if the guild's realm is the same as your current one

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.