v0.13.7

C_ClassTalents.GetHeroTalentSpecsForClassSpec

functionrecordedavailable in: camelot

Returns the SubTreeIDs of the Hero Talent Specializations available to a Class Specialization and config; Returns nothing if none available

signaturewowlua
function C_ClassTalents.GetHeroTalentSpecsForClassSpec(    configID: number?,    classSpecID: number?): (number[]?, number?)

Parameters

nametypedescription
configIDnumber?If not supplied, defaults to the player's active config
classSpecIDnumber?SpecializationID e.g. PlayerUtil.GetCurrentSpecID(), defaults to current spec

Returns

#nametypedescription
1subTreeIDsnumber[]?SubTreeIDs of each Hero Talent Specialization
2requiredPlayerLevelnumber?The player level at which one of the Hero Talent Specializations can be activated

Blizzard's documentation says it may return nothing.

In wowlua's emulated client

recordedThe answer was recorded from the real client and is played back for the same call. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ClassTalents system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.