benilla-re systems structs docs

Script::SelectStationery

function · ui · primitive

Address
0x4ae380 · 97 bytes, up to 0x4ae3e0
Signature
int __fastcall (lua_State *L)
Meaning
Stores a usable stationery's id as the selection, or 0 outside the list
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/mailsend#stationery-lookups

Finding: Stationery lookups in ui: composing and sending mail

GetStationeryInfo(index) returns three values for a usable entry: the item name, the icon path and the buy price, nil in place of the price when the player carries the item. An index outside the usable list, or an uncached item, gives three nils; a non-number raises Usage: GetStationeryInfo(index). SelectStationery(index) stores the entry's id as the selection, or 0 for an index outside the list, and returns nothing. GetSelectedStationeryTexture() returns the selection's bare texture name from the store, nil for 0, a negative or an unknown id.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

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