CGPlayer_C::CheckItemForSlot
function · objectlayer · primitive
- Address
0x5ea720· 214 bytes, up to0x5ea7f5- Meaning
- Refuses a non-empty bag outside the bag slots, else asks the item's check with the class's ranged rule
- Confidence
- verified, proof one
- Finding
- objectlayer/playercombat#using-an-item
Finding: Using an item in objectlayer: player spells and combat
0x5ea930(record, &error) says whether the player can use an item record: no record is
ERR_ITEM_NOT_FOUND; a missing proficiency for its class and subclass ERR_PROFICIENCY_NEEDED;
too low a level, a class or race outside its masks, too low a required skill, an unknown required
spell (nor a higher rank), too low an honor rank, a missing medal bit, or too low a standing with
its faction, ERR_CANT_USE_ITEM.
The derivation is in the doc.
Callers 3
Callees 2
- ClntObjMgrObjectPtr objectlayer
- CGItem_C::FitsSlot objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.