benilla-re systems structs docs

Script::GetNumPackages

function · ui · orchestration

Address
0x4ae430 · 23 bytes, up to 0x4ae446
Signature
int __fastcall (lua_State *L)
Meaning
Returns the row count of the Package store
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/mailsend#packages

Finding: Packages in ui: composing and sending mail

GetNumPackages() returns the row count of the Package store. GetPackageInfo(index) returns the localized name, the icon path and the cost for a row, or nil, nil, 0 outside the list. SelectPackage(index) stores the row's id as the package selection, or 0 for an index outside the list. The selection is sent only with an attached item. Non-numbers raise Usage: GetPackageInfo(index) and Usage: SelectPackage(index).

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.