Script::GetTrainerServiceIcon
function · ui · primitive
- Address
0x4d8f50· 481 bytes, up to0x4d9130- 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
- __ftol crt
- GetTrainerService ui
- ClientDBStringLookup unassigned
- DBCache_ItemStats_C_int_HASHKEY_INT_::GetRecord dbcache
- GetInventoryIconByDisplayId objectlayer
- SStrPrintf storm
- lua_isnumber lua
- lua_tonumber lua
- lua_pushnil lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.