BlzFrameGetText
- Parameters
-
frame framehandle
- comment
-
Returns(Get) the text of that frame. For user input frames this text probably differs between them. For some frames the child contains the Text.
Should work with the following frame types:
TEXT
,TEXTBUTTON
,EDITBOX
,TEXTAREA
,SIMPLEBUTTON
,SIMPLEFONTSTRING
. - bug
-
Applying this native to
ORIGIN_FRAME_PORTRAIT_HP_TEXT
orORIGIN_FRAME_PORTRAIT_MANA_TEXT
(likely aSIMPLEFONTSTRING
) crashes the game. - async
- This function is asynchronous. The values it returns are not guaranteed to be the same for each player. If you attempt to use it in an synchronous manner it may cause a desync.
- patch
-
1.31.0.11889
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
string
- Source code
-
native BlzFrameGetText takes framehandle frame returns string