C_Traits. GetTreeCurrencyInfo
functionimplementedavailable in: camelot
Returns the list of TraitCurrencies related to a TraitTree.
function C_Traits.GetTreeCurrencyInfo( configID: number, treeID: number, excludeStagedChanges: boolean): TreeCurrencyInfo[]Parameters
| name | type | description |
|---|---|---|
configID | number | For TalentTrees this will often be C_ClassTalents.GetActiveConfigID, this is -1 when inspecting a player. For professions, this will be C_ProfSpecs.GetConfigIDForSkillLine. |
treeID | number | For TalentTrees a class specific TreeID, for professions C_ProfSpecs.GetSpecTabIDsForSkillLine. |
excludeStagedChanges | boolean | If true, the committed value is returned; if false, the staged value is returned instead. |
Returns
treeCurrencyInfo · TreeCurrencyInfo[] · For TalentTrees, the first currency returned is for the class points, the second currency is spec points.
| field | type |
|---|---|
traitCurrencyID | number |
quantity | number |
maxQuantity | number? |
spent | number |
spentInTree | number? |
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (SharedTraits system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.