benilla-re systems structs docs

Script::GetTrainerServiceIcon

function · ui · primitive

Address
0x4d8f50 · 481 bytes, up to 0x4d9130
Signature
int __fastcall (lua_State *L)
Meaning
Returns the icon path of a trainer service
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/trainerverbs#icon

Finding: Icon in ui: trainer window getters and filters

GetTrainerServiceIcon(row) returns an icon path. For a type 2 trainer whose sent spell teaches another by a learn effect and whose taught spell creates an item, it is that item's inventory icon (nil while the item record is not cached); in every other case it is the sent spell's icon from the icon store.

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.