GetItemClass
function · objectlayer · orchestration
- Address
0x5d9f30· 88 bytes, up to0x5d9f87- Meaning
- Returns the class of an item's record
- Confidence
- verified, proof one
- Finding
- objectlayer/items#the-item-object
Finding: The item object in objectlayer: items
The constructor builds the object part, 42 empty field watcher lists at +0x11c, and clears the
flags +0x314, the expiry +0x320, the seven enchantment expiries +0x324 and the sound row
+0x340; it passes its GUID to 0x468270 and caches five record values as bytes. Bit 0 of
+0x314 is the interface's item lock, bit 1 the record's arrival. The destructor cancels a
record request still pending, unlinks the lists and runs the object's.
+0x318 | +0x319 | +0x31a | +0x31b | +0x31c |
|---|---|---|---|---|
record +0x0 | +0x4 | +0x1b0 | +0x2c | +0x1b4 |
The derivation is in the doc.
Callers 19
- ValidateSpellItemTarget ui
- ClickInventorySlot ui
- Script::GetInventoryItemCount ui
- Script::OffhandHasWeapon ui
- Script::UseContainerItem ui
- Script::UnitAttackSpeed ui
- GameTooltip::SetAuctionCompareItem ui
- GameTooltip::SetMerchantCompareItem ui
- CGItem_C::CGItem_C objectlayer
- CGItem_C::ApplyRecord objectlayer
- CGItem_C::FitsSlot objectlayer
- CGItem_C::GetRepairCost objectlayer
- CGPlayer_C::HasItemOfClassInSlots objectlayer
- CGPlayer_C::AutoEquipCursorItem objectlayer
- FindEquippedItemForSpell objectlayer
- IsItemOfClass objectlayer
- CountFreeSlots objectlayer
- CheckSpellEquippedItem spell
- MatchEquippedAmmoItem spell
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.