benilla-re systems structs docs

ClientChatHandler

function · ui · primitive

Address
0x49d560 · 1662 bytes, up to 0x49dbdd
Signature
uint32_t __fastcall (void *param, uint32_t opcode, uint32_t time, CDataStore *msg)
Meaning
Handles the chat message: reads the type, language, names, text and tag, then queues or shows the line
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/chatevents#the-chat-message

Finding: The chat message in ui: chat messages and their events

Opcode 0x96, handled by 0x49d560: u8 type, u32 language, then by type. Types 0, 1, 5, 11 and 12 (say, party, yell, monster say, monster yell) first carry a GUID. Types 11, 12, 13, 26, 89 and 90 then carry u32 length and that many bytes of speaker name. Type 14 (channel) carries a channel name (a C string of up to 128 bytes) and a u32 rank. Every type ends with a GUID, u32 length, that many bytes of text and u8 tag.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 20

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