GetItemDescVisual
function · objectlayer · primitive
- Address
0x62ec70· 132 bytes, up to0x62ecf3- Signature
int __thiscall (void *this)- Meaning
- Gives the ItemVisuals id of a weapon's own glow as -1, else of its first enchantment, else 0
- Confidence
- verified, proof one
- Finding
- objectlayer/inventory#enchant-visuals
Finding: Enchant visuals in objectlayer: inventory
A weapon's glow is an ItemVisuals id picked once per weapon record. 0x62ec70(record) returns
−1 when the weapon's own display row names a visual that exists, so the item's own glow stays;
otherwise the ItemVisuals id of the first of the record's seven enchantments whose
SpellItemEnchantment row has a nonzero +0x58, else 0. 0x5eed50(record, point) puts the id on
the model child at the attach point unless it is −1, then refreshes the portrait.
The derivation is in the doc.
Callers 1
- CGPlayer_C::AttachEnchantVisual objectlayer
Callees 1
- GetItemDescDisplayId objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.