C_ClassTalents .GetConfigIDsBySpecID
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 10.0.0 |
Returns a list of talent loadouts for a given spec
configIDs = C_ClassTalents.GetConfigIDsBySpecID([specID])
Arguments
- specID
- number? - SpecializationID e.g.
PlayerUtil.GetCurrentSpecID()
, defaults to current spec
Returns
- configIDs
- number[] - list of loadout configIDs
Details
The list of loadouts is not available until TRAIT_CONFIG_LIST_UPDATED is fired. And TRAIT_CONFIG_LIST_UPDATED will fire on any changes to this list.
See Also
- C_ClassTalents.GetLastSelectedSavedConfigID to get the currently selected loadout configID
- C_ClassTalents.LoadConfig and C_ClassTalents.UpdateLastSelectedSavedConfigID to change loadouts
- C_Traits.GetConfigInfo to retrieve the loadout name and other information
|