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
| name | type | description |
|---|---|---|
unit | string | UnitId - The unit whose guild information you wish to query. |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | guildName | string? | The name of the guild the unit is in (or nil?). |
| 2 | guildRankName | string | unit's rank in unit's guild. |
| 3 | guildRankIndex | number | unit's rank (index). - zero based index (0 is Guild Master, 1 and above are lower ranks) |
| 4 | realm | string? | 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 ↗.