WoW:API RepairAllItems: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API RepairAllItems to 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]].

Latest revision as of 04:47, 15 August 2023

WoW API < RepairAllItems

Repairs all equipped and inventory items.

RepairAllItems([guildBankRepair])

Arguments
(Flag guildBankRepair)
guildBankRepair
Flag (optional) - If 1, use guild funds to repair. If 0, nil, or missing, use player funds.

Returns
nil

Notes

The guildBankRepair argument was added in Patch 2.3.