Script::GetGuildInfo
function · ui · primitive
- Address
0x4c9330· 307 bytes, up to0x4c9462- Signature
int __fastcall (lua_State *L)- Meaning
- Pushes the guild name, rank name and rank of a unit that is a player in a cached guild
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/guild#the-units-guild
Finding: The unit's guild in ui: the guild roster and its Lua API
GetGuildInfo(unit) returns the guild name, the rank name and the rank number of a unit that is a player with a
guild, and nil, nil, 0 for any other unit, an unresolved token or a guild not yet cached. The unit comes from the
unit token grammar (unittokens#the-unit-token); a token no prefix matches raises
Unknown unit name: %s. A missing argument raises Usage: GetGuildInfo("unit").
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 10
- MaskProfanity ui
- GetUnitFromToken ui
- DBCache::GuildGetRecord dbcache
- SStrCopy storm
- lua_isstring lua
- lua_tostring lua
- lua_pushnil lua
- lua_pushnumber lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.