C_ClassTalents.GetConfigIDsBySpecID

From Warcraft Wiki
Jump to navigation Jump to search

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