v0.13.8

C_Traits.GetSubTreeInfo

functionguessedavailable in: camelot

Returns information about a sub tree (such as a hero talent tree) of the trait config. · description by wowlua

signaturewowlua
function C_Traits.GetSubTreeInfo(    configID: number,    subTreeID: number): TraitSubTreeInfo?

Parameters

nametypedescription
configIDnumberID of the trait config.
subTreeIDnumber

Returns

subTreeInfo · TraitSubTreeInfo?

TraitSubTreeInfo
fieldtypedescription
IDnumber
namestring?
descriptionstring?
iconElementIDstring?
traitCurrencyIDnumber?
isActiveboolean
subTreeSelectionNodeIDsnumber[]SubTreeSelectionNodes whose choice entries include this SubTree
posXnumberCenter X node position calculated from the posX values of all of this subTree's nodes
posYnumberTopmost Y node position taken from the posY values of all of this subTree's nodes

Blizzard's documentation says it may return nothing.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (SharedTraits system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.