Script::GetTradeSkillIcon
function · ui · primitive
- Address
0x4fdae0· 330 bytes, up to0x4fdc29- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the icon path of the item a recipe creates
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/spellbook#recipe-icons
Finding: Recipe icons in ui: the spell book
GetTradeSkillIcon (0x4fdae0) reads EffectItemType[0] (+0x19c) of the recipe spell without testing its
effect and shows that item's icon; it gives nil when the type is 0 or the template is unknown, and never
shows the spell's own icon. GetCraftIcon (0x4f7160) shows the recipe spell's own SpellIconID and
never reads the item type. The windows differ: the trade skill window shows what a recipe makes, the
craft window the spell.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 10
- __ftol crt
- 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.