WoW API: GetRepairAllCost

From AddOn Studio
Revision as of 16:00, 16 May 2007 by WoWWiki>Hobinheim (upgraded code block)
Jump to navigation Jump to search

WoW API < GetRepairAllCost

repairAllCost, canRepair = GetRepairAllCost()

Parameters

Arguments none

Returns

repairAllCost, canRepair
repairAllCost
Number - repair cost
canRepair
Boolean - repairs needed?

Details

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