Script::GetSpellTexture
function · ui · orchestration
- Address
0x4b3e50· 109 bytes, up to0x4b3ebc- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the icon path of a book slot's spell, or nil
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/spellbook#book-icons
Finding: Book icons in ui: the spell book
GetSpellTexture (0x4b3e50) returns the SpellIcon path of the slot's spell through 0x4b3f50, always
from SpellIconID (+0x1d4) and never from the active icon. A spell whose first effect is 78 or that
repeats with the ranged slot returns the attack or ranged weapon icon instead (ui/actionbar#attack-and-ranged-icons).
A slot of no spell, or an icon id outside the SpellIcon table, gives nil.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 5
- ReadBookSlotArgs ui
- GetBookSpellIconPath ui
- lua_pushnil lua
- lua_pushstring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.