Lore archive · Warcraft Wiki, 2023 dump
API SetCurrencyUnused
Last wiki revision 2022-09-10
Marks/unmarks a currency as unused. SetCurrencyUnused(id, unused)
- 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.
- 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 can be used to get the current state.
Source
https://warcraft.wiki.gg/wiki/API_SetCurrencyUnused · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.