Returns information about a currency by ID


See also Currency functions.

Signature:

name, amount, texturePath, earnedThisWeek, weeklyMax, totalMax, isDiscovered, quality = GetCurrencyInfo(id)

Arguments:

Returns:

  • name - Name of the currency (string)
  • amount - Amount of the currency the player has (number)
  • texturePath - Path of the texture for the currency's icon (string)
  • earnedThisWeek - Amount of this currency earned this week (number)
  • weeklyMax - Maximum amount of the currency the player can get per week (number)
  • totalMax - Maximum amount of the currency the player can get in total (number)
  • isDiscovered - Whether the character ever got some of this currency (boolean)
  • quality - Quality (rarity) of the currency. (number, itemQuality)