WoW:API GetRepairAllCost: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API GetRepairAllCost to API GetRepairAllCost without leaving a redirect)
 
(No difference)

Latest revision as of 04:46, 15 August 2023

WoW API < GetRepairAllCost

repairAllCost, canRepair = GetRepairAllCost()

Parameters[edit]

Arguments none

Returns

repairAllCost, canRepair
repairAllCost
Number - repair cost in copper
canRepair
Number - returns 1 if merchant can repair and player has damaged items, nil otherwise

Details[edit]

Used by MerchantFrame when the MerchantRepairAllButton button is clicked
Does NOT work without the proper type of merchant window open