Files
wow-weakauras/Meta/api/ItemTextGetText.lua
2024-11-07 23:12:37 +01:00

5 lines
510 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@return string text
---Returns the text of the currently viewed text item. Used for readable world objects (plaques, books on tables, etc) and readable inventory items (looted books/parchments/scrolls/etc, saved copies of mail messages). Returns valid data only between the ITEM_TEXT_BEGIN and ITEM_TEXT_CLOSED events, with the ITEM_TEXT_READY event indicating when new text is available (as when changing pages).
function ItemTextGetText() end