Script::GetTrainerServiceDescription
function · ui · primitive
- Address
0x4d9b40· 616 bytes, up to0x4d9da7- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the expanded description of a trainer service
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/trainerverbs#description
Finding: Description in ui: trainer window getters and filters
GetTrainerServiceDescription(row) returns the expanded description of the sent spell. For a type 1 trainer's used row, or a
sent spell without a description, it first tries the spell named by the learn effect: its description, else the description of
the item that spell creates when it has attribute 0x20 and a create-item effect (0x18). It then falls back to the sent spell's
description and gives nil when that is empty too.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 9
- __ftol crt
- GetTrainerService ui
- ExpandSpellText ui
- DBCache_ItemStats_C_int_HASHKEY_INT_::GetRecord dbcache
- 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.