Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

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[]


Advertisement