benilla-re systems structs docs

Script::GetStationeryInfo

function · ui · primitive

Address
0x4ae230 · 333 bytes, up to 0x4ae37c
Signature
int __fastcall (lua_State *L)
Meaning
Returns a usable stationery's item name, icon path and buy price, or three nils
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 11

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