benilla-re systems structs docs

ResolveChatTypeName

function · ui · primitive

Address
0x49f7a0 · 246 bytes, up to 0x49f895
Meaning
Returns whether a chat type name matches one of 13 names and stores its type number
Confidence
verified, proof one
Finding
ui/chatsend#arguments-of-sendchatmessage

Finding: Arguments of SendChatMessage in ui: sending chat

SendChatMessage(text [, type] [, language] [, target]) needs a local player (else it does nothing) and a string or number text (else it raises Usage: SendChatMessage(text [,type] [,language] [,targetPlayer])). The type is a name looked up without case in a 13-entry table (SAY 0, PARTY 1, RAID 2, GUILD 3, OFFICER 4, YELL 5, WHISPER 6, EMOTE 8, CHANNEL 14, AFK 20, DND 21, RAID_WARNING 88, BATTLEGROUND 92); an unknown name raises Unknown chat type; no type is SAY. An empty text sends nothing unless the type is AFK or DND. The language is the race's default (GetDefaultLanguage) unless named, an unknown name raising Unknown language.

The derivation is in the doc.

Callers 2

Callees 1

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