WoW:API RepairAllItems: Difference between revisions

m
Move page script moved page API RepairAllItems to WoW:API RepairAllItems without leaving a redirect
No edit summary
 
m (Move page script moved page API RepairAllItems to WoW:API RepairAllItems without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}}
Repairs all equipped and inventory items.


RepairAllItems([guildBankRepair])


<!-- Describe the purpose of the function, exhausting detail can be saved for a later section -->
----
If a vendor window that can repair is displayed, repairs all equipped and inventory items.
;''Arguments''
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
{{Code/Begin}}
RepairAllItems()
{{Code/End}}


:(Flag guildBankRepair)


== Parameters ==
:;guildBankRepair: Flag <small>''(optional)''</small> - If 1, use guild funds to repair.  If 0, nil, or missing, use player funds.


<big>'''Arguments'''</big>
----
<!-- List each argument, together with its type -->
;''Returns''
:;nil


:''nil''


<big>'''Returns'''</big>
==Notes==
<!-- List each return value, together with its type -->
 
:;nil
The guildBankRepair argument was added in [[Patch 2.3]].
Anonymous user