API C ClassTalents.GetLastSelectedSavedConfigID

Returns your selected talent loadout, if any
 configID = C_ClassTalents.GetLastSelectedSavedConfigID(specID)
==Arguments==
:;specID: - SpecializationID e.g. PlayerUtil.GetCurrentSpecID()
==Returns==
:;configID:
==Details==
This will return whatever was set with . Which means that if a badly written addon applies a loadout (through ), 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==
* which sets the value retrieved with this API
* to retrieve the loadout name
* to list talent loadouts