benilla-re systems structs docs

s_guildRankRights

global · ui

Address
0xb726d0 · 40 bytes, up to 0xb726f7
Type
uint32_t[10]
Meaning
Holds the rights bit mask of each of the ten ranks
Confidence
verified, proof one
Finding
ui/guild#rank-rights

Finding: Rank rights in ui: the guild roster and its Lua API

Nine functions take no argument and return 1 or nil for one bit of the player's rank rights. The rights are the entry of the rank array 0xb726d0 for the player's PLAYER_GUILDRANK, 0 for a rank past 9. Not in a guild, or the player missing, returns nil. There is no guild-leader shortcut: rank 0 is tested like any other. IsInGuild() is 1 when PLAYER_GUILDID is nonzero; IsGuildLeader() is 1 when PLAYER_GUILDRANK is 0.

functionaddressbit
CanGuildInvite0x4d19a00x10
CanGuildRemove0x4d1a100x20
CanGuildPromote0x4d18c00x80
CanGuildDemote0x4d19300x100
CanEditMOTD0x4d1a800x1000
CanEditPublicNote0x4d1af00x2000
CanViewOfficerNote0x4d1bd00x4000
CanEditOfficerNote0x4d1b600x8000
CanEditGuildInfo0x4d1c400x10000

The derivation is in the doc.