benilla-re systems structs docs

ResolveLanguageName

function · ui · primitive

Address
0x49f8a0 · 125 bytes, up to 0x49f91c
Meaning
Returns whether a name matches a Languages row and stores its id
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 1

Callees 1

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