FireChatEventAndLog
function · ui · orchestration
- Address
0x49b1b0· 66 bytes, up to0x49b1f1- Signature
void __fastcall (const char *text, int32_t type)- Meaning
- Fires the chat event of a type with only the text, then writes the text to the combat log file while logging
- Confidence
- verified, proof one
- Finding
- ui/chatevents#sources-of-the-chat-type
Finding: Sources of the chat type in ui: chat messages and their events
Every type the client supplies to 0x49b0b0 is 0 or more. The chat line function's
type is a constant from 10 to 86, the chat message's type byte zero-extended, a queued line's type
(the same byte or a constant), or the message catalogue's chat type, 10 or 23 for an index from 0
to 464. The combat log's type is a constant or a type helper's return, from 25 to 94, and 94
sends nothing; the text emote passes 9. 0x496720 bounds the catalogue index only from above
(cmp eax,0x1d1; jge), and the index is 0 to 465 from every value the client supplies ("Catalogue
index sources"); an out-of-range Spell.dbc power type or an unwritten stack word can be negative.
The derivation is in the doc.
Callers 1
- AddCombatLogLine objectlayer
Callees 3
- FireChatEvent ui
- SErrSetLastError storm
- SLogWrite storm
Calls and jumps by a bare address, from tables/calls.tsv.