benilla-re systems structs docs

Script::GetSelectedStationeryTexture

function · ui · orchestration

Address
0x4ae3f0 · 57 bytes, up to 0x4ae428
Signature
int __fastcall (lua_State *L)
Meaning
Returns the selected stationery's texture name or nil
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 2

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