Files
wow_Meta/api/ItemTextGetText.lua
2025-05-04 14:35:26 +02:00

6 lines
506 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