Script::SelectStationery
function · ui · primitive
- Address
0x4ae380· 97 bytes, up to0x4ae3e0- 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
- __ftol crt
- lua_isnumber lua
- lua_tonumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.