Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns your selected talent loadout, if any
configID = C_ClassTalents.GetLastSelectedSavedConfigID(specID)
Arguments[]
- specID
- number - SpecializationID e.g.
PlayerUtil.GetCurrentSpecID()
Returns[]
- configID
- number?
Details[]
This will return whatever was set with C_ClassTalents.UpdateLastSelectedSavedConfigID. Which means that if a badly written addon applies a loadout (through C_ClassTalents.LoadConfig), this value might not accurately reflect the current loadout.
If you're currently in a starter build, the configID is -2 (as per Constants.TraitConsts.STARTER_BUILD_TRAIT_CONFIG_ID
)
See Also[]
- C_ClassTalents.UpdateLastSelectedSavedConfigID which sets the value retrieved with this API
- C_Traits.GetConfigInfo to retrieve the loadout name
- C_ClassTalents.GetConfigIDsBySpecID to list talent loadouts
|