![]() |
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Attempt change the current selection for a selection node (aka choice node). Changes are not applied until they are committed (through C_Traits.CommitConfig or C_ClassTalents.CommitConfig).
success = C_Traits.SetSelection(configID, nodeID [, nodeEntryID])
Arguments[]
- configID
- number
- nodeID
- number
- nodeEntryID
- number? pass nil to unselect the node, effectively the equivalent of C_Traits.RefundRank.
Returns[]
- success
- boolean
Details[]
This API can be used to set the initial selection, change a selection, or unselect a selection node (aka choice node). Unselecting a selection node, may result in other talents being refunded, e.g. if you no longer meet a gate criterium, or if the selection node is the only path to a set of selected talents.
You should not use the C_Traits.PurchaseRank or C_Traits.RefundRank APIs on selection nodes. C_Traits.SetSelection is the only API used to modify selection node choices.
| |||||||||||||||||||||||||||||||||||||||||||||||
