API C Traits.GetTreeCurrencyInfo

Returns the list of TraitCurrencies related to a TraitTree.
 treeCurrencyInfo = C_Traits.GetTreeCurrencyInfo(configID, treeID, excludeStagedChanges)
==Arguments==
:;configID: - For TalentTrees this will often be , this is -1 when inspecting a player. For professions, this will be .
:;treeID: - For TalentTrees a class specific TreeID, for professions .
:;excludeStagedChanges: - If true, the committed value is returned; if false, the staged value is returned instead.
==Returns==
:;treeCurrencyInfo: - For TalentTrees, the first currency returned is for the class points, the second currency is spec points.
Field 	Type	Description
traitCurrencyID	 	Can be used in e.g. and
quantity 	 	How much currency is available to be used, e.g. available talent points, or profession knowledge.
maxQuantity 	 	For TalentsTrees, the amount of points available at your current level.
spent 	 	The amount of currency already spent on traits.