benilla-re systems structs docs

Script::ItemTextGetPage

function · ui · primitive

Address
0x4e3ad0 · 45 bytes, up to 0x4e3afc
Signature
int __fastcall (lua_State *L)
Meaning
Returns the one-based page of the open item text
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/itemtext#moving-between-pages

Finding: Moving between pages in ui: the item text window

ItemTextNextPage() and ItemTextPrevPage() act only when an object is open and it has page text (no single item text): next moves when the list has a page id after the current one, previous when the page index is above 0. Each moves the index by one and shows the page again with translate set. ItemTextGetPage() returns the page index plus 1. ItemTextHasNextPage() returns 1 when the open object has page text and a next page id, else nil. ItemTextGetText() returns the page text buffer.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.