Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API C Traits.CanPurchaseRank

Last wiki revision 2023-07-06

Checks whether a node entry is purchasable. canPurchase = C_Traits.CanPurchaseRank(configID, nodeID, nodeEntryID)

  • configID:
  • nodeID:
  • nodeEntryID:
  • canPurchase:

There is generally little value in calling this API, instead, you can call or directly, and check their return values.

Currently, the default UI only uses this API for profession nodes, to check whether unlocking a node, or spending points on the node is possible, and not for generic talents or class talents.

Source

https://warcraft.wiki.gg/wiki/API_C_Traits.CanPurchaseRank · 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.