Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Checks whether a node entry is purchasable.

canPurchase = C_Traits.CanPurchaseRank(configID, nodeID, nodeEntryID)

Arguments[]

configID
number
nodeID
number
nodeEntryID
number

Returns[]

canPurchase
boolean

Details[]

There is generally little value in calling this API, instead, you can call C_Traits.PurchaseRank or C_Traits.SetSelection 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.


Advertisement