C_CurrencyInfo.SetCurrencyUnused

From Warcraft Wiki
Jump to navigation Jump to search

Marks a currency as unused in the currency tab.

C_CurrencyInfo.SetCurrencyUnused(index, unused)

Arguments

index
number
unused
boolean

Details

  • When a currency is marked as unused, it is is placed under the "Unused" header in the currency list; this is always the last header in the list. This alters the currency's index in the currency list.
  • The isTypeUnused return value of C_CurrencyInfo.GetCurrencyListInfo() can be used to get the current state.

Patch changes

Shadowlands Patch 9.0.1 (2020-10-13): Moved to C_CurrencyInfo.SetCurrencyUnused()
Wrath-Logo-Small.png Patch 3.1.0 (2009-04-14): Added as SetCurrencyUnused()