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
function C_Traits.GetSubTreeInfo( configID: number, subTreeID: number): TraitSubTreeInfo?Parameters
| name | type | description |
|---|---|---|
configID | number | ID of the trait config. |
subTreeID | number |
Returns
subTreeInfo · TraitSubTreeInfo?
| field | type | description |
|---|---|---|
ID | number | |
name | string? | |
description | string? | |
iconElementID | string? | |
traitCurrencyID | number? | |
isActive | boolean | |
subTreeSelectionNodeIDs | number[] | SubTreeSelectionNodes whose choice entries include this SubTree |
posX | number | Center X node position calculated from the posX values of all of this subTree's nodes |
posY | number | Topmost 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.