benilla-re systems structs docs

ReadGuildCommandResult

function · objectlayer · primitive

Address
0x5e7520 · 642 bytes, up to 0x5e77a1
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Shows a guild command's success or error message
Confidence
verified, proof one
Finding
objectlayer/party#guild-notices

Finding: Guild notices in objectlayer: party, guild and petitions

opcodehandlerdoes
0x830x5e6f20inviter (0x30) and guild (0x60): 0x48f450, ERR_INVITED_TO_GUILD_SS
0x860x5e6f80ERR_GUILD_DECLINE_S
0x880x5e6fb0name (0x60) and five u32: GUILD_NAME_TEMPLATE and GUILD_INFO_TEMPLATE to the chat frame
0x930x5e7520the command result
0x1f10x5e70f0the emblem result
0x1f20x5e70c0opens the tabard vendor (0x4f5840)

0x93 reads a command, a name (0x60) and a result. Result 0 shows ERR_GUILD_CREATE_S, _INVITE_S, _QUIT_S or _FOUNDER_S for commands 0, 1, 3 and 14, and calls 0x4d1160(1) for 19 and 20. Results 1 to 20 show, in order: ERR_GUILD_INTERNAL, ERR_ALREADY_IN_GUILD, its _S, ERR_INVITED_TO_GUILD, ERR_ALREADY_INVITED_TO_GUILD_S, ERR_GUILD_NAME_INVALID, _NAME_EXISTS_S, _LEADER_LEAVE for command 3 else _PERMISSIONS, _PLAYER_NOT_IN_GUILD, its _S, _PLAYER_NOT_FOUND_S, _NOT_ALLIED, _RANK_TOO_HIGH_S, _RANK_TOO_LOW_S, nothing twice, _RANKS_LOCKED, _RANK_IN_USE, ERR_IGNORING_YOU_S, and 0x4d1160(1) for command 5.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.