benilla-re systems structs docs

Script::SendAddonMessage

function · ui · primitive

Address
0x49f920 · 522 bytes, up to 0x49fb29
Signature
int __fastcall (lua_State *L)
Meaning
Sends an addon message as prefix, tab and message with the language 0xffffffff after the escape check
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/chatsend#sendaddonmessage

Finding: SendAddonMessage in ui: sending chat

SendAddonMessage(prefix, message [, type]) sends nothing without a local player. With both strings empty it raises Usage: SendAddonMessage("prefix", "message" [,"type"]). The text is prefix, a tab and message (2047 characters at most); after the escape check the type must be PARTY, RAID, GUILD or BATTLEGROUND (no type is PARTY), else it raises Unknown addon chat type. RAID with no raid becomes PARTY, and PARTY with nobody in a party sends nothing without an error. The packet is opcode 0x95, the type, the language 0xffffffff and the text.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 13

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