MerchantCanRepair
function · ui · primitive
- Address
0x4fadb0· 62 bytes, up to0x4faded- Signature
uint32_t __cdecl (void)- Meaning
- Returns 1 when the open vendor's NPC flags have the repair bit
- Confidence
- verified, proof one
- Finding
- ui/merchantcursor#the-repair-cursor
Finding: The repair cursor in ui: the vendor cursors
ShowRepairCursor() does nothing while a spell awaits a target or when no vendor that repairs is open. Otherwise it
clears the cursor payload, sets both the base and the shown picture to Repair (17), and returns nothing.
HideRepairCursor() sets both back to Point (1) when the base is Repair. InRepairMode() returns the number 1 when
the base is Repair and nil otherwise; CanMerchantRepair() returns 1 when the open vendor's NPC flags have bit 14
and nil otherwise.
The derivation is in the doc.
Callers 8
- ClickInventorySlot ui
- UseInventorySlot ui
- Script::PickupContainerItem ui
- Script::UseContainerItem ui
- Script::CanMerchantRepair ui
- Script::ShowRepairCursor ui
- Script::GetRepairAllCost ui
- Script::RepairAllItems ui
Callees 1
- ClntObjMgrObjectPtr objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.