---@diagnostic disable: missing-return, lowercase-global
---@meta

---@param prefix string
---@return boolean success
---Registers to receive addon messages with a given prefix. In order for an addon to receive messages sent using SendAddOnMessage they must first register to receive messages with a given prefix. There is a soft cap of 64 prefixes on the server side, and a hard cap of 512 prefixes on the client side. Exceeding the soft cap is not recommended, but addon messages can still be received.
function RegisterAddonMessagePrefix(prefix) end
