API C Traits.GetTraitCurrencyInfo

Returns meta information about a TraitCurrency, use if you're looking for TraitCurrency spent/available instead.
 flags, type, currencyTypesID, icon = C_Traits.GetTraitCurrencyInfo(traitCurrencyID)
==Arguments==
:;traitCurrencyID:
==Returns==
:;flags: - any combination of bit flags of 
:;type: - indicates how the TraitCurrency is sourced
:;currencyTypesID: - CurrencyID, if non-empty, the TraitCurrency is directly linked to the specified Currency
:;icon: - IconID
 Enum.TraitCurrencyFlag
Value	Field 	Description
0x1 	ShowQuantityAsSpent	Currently not used by any TraitCurrency
0x2 	TraitSourcedShowMax	Currently not used by any TraitCurrency
0x4 	UseClassIcon 	Currently, all currencies with this flag are TalentTree class talent points
0x8 	UseSpecIcon 	Currently, all currencies with this flag are TalentTree spec talent points
 Enum.TraitCurrencyType
Value	Field 	Description
0 	Gold 	Currency used is gold
1 	CurrencyTypesBased	TraitCurrencies of this type will spend regular CurrencyID, see currencyTypesID return value
2 	TraitSourced 	This TraitCurrency can be earned through being above a certain level (e.g. for talent points), earning achievements (e.g. for some profession unlocks,or dragon riding), or by spending points in another TraitNode (e.g. profession unlocks). See TraitCurrencySource.db2