Wikia

WoWWiki

API ItemTextGetPage

Talk0
101,362pages on
this wiki
WoW API < ItemTextGetPage

Get the number of the current item text page.

pageNum = ItemTextGetPage()

Parameters Edit

Arguments Edit

()

Returns Edit

pageNum
pageNum 
Number - The page number of the currently displayed page, starting at 1.

Details Edit

This is used one the ITEM_TEXT_READY event has been received for a page.
Note that there is no function to return the total number of pages of the text, it must be found by iterating through until ItemTextHasNextPage returns nil.

Around Wikia's network

Random Wiki