From 5fe685d4c6ef558a5021f98258e5b1016a81a122 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sun, 4 May 2025 15:07:07 +0200 Subject: [PATCH] Format --- api/SendAddonMessage.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/SendAddonMessage.lua b/api/SendAddonMessage.lua index 91e8b35..a1465cb 100644 --- a/api/SendAddonMessage.lua +++ b/api/SendAddonMessage.lua @@ -11,9 +11,9 @@ ---| "WHISPER" ---| "target" ----@param prefix string ----@param message string ----@param type chatType ----@param target string +---@param prefix string +---@param message string +---@param type chatType +---@param target string ---Sends a chat-like message receivable by other addons. Allows for client-to-client addon communication. Unlike with SendChatMessage, messages sent via SendAddonMessage: do not appear in receiving players' chat windows (unless an addon explicitly prints them) are not subject to strict server-side spam filtering/throttling (sending too many messages at once can still disconnect the user) are not modified if the sending character is drunk Messages are received via the CHAT_MSG_ADDON event. The client utilizes the prefix string to filter messages; only those prefixes which have been registered will be received. Prefixes can be registered using RegisterAddonMessagePrefix. There is currently no support for sending addon messages to Real ID or BattleTag friends. -function SendAddonMessage(prefix, message, type, target) end +function SendAddonMessage(prefix, message, type, target) end