Wowpedia
Advertisement
Shadowlands-Icon-Inline.png C_CurrencyInfo.SetCurrencyUnused
+ 9.0.1   Townlong-Yak Globe.png  Townlong-Yak BAD.png  ProfIcons engineering.png
SetCurrencyUnused
+ 3.0.2   - 9.0.1   Townlong-Yak Globe.png  Wowprogramming.png

Marks or unmarks a currency as unused.

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

Advertisement