WoW:API GetRepairAllCost: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
(upgraded code block)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}}
 
repairAllCost, canRepair = GetRepairAllCost()
 
<!-- Describe the purpose of the function, exhausting detail can be saved for a later section -->
One line summary description of function.
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
{{Code/Begin}}
repairAllCost, canRepair = GetRepairAllCost()
{{Code/End}}
 


== Parameters ==
== Parameters ==

Revision as of 16:00, 16 May 2007

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