Fandom

WoWWiki

API SetCurrencyUnused

104,637pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < SetCurrencyUnused

Marks/unmarks a currency as unused.

SetCurrencyUnused(id, unused)

Arguments Edit

id 
Number - Index of the currency in the currency list to alter unused status of.
unused 
Number - 1 to mark the currency as unused; 0 to mark the currency as used.

Notes Edit

  • 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 isUnused return value of GetCurrencyListInfo can be used to get the current state.

Also on Fandom

Random Wiki