v0.13.8

GetPvpTalentInfoByID

functionguessedavailable in: camelot

Returns information about a PvP (honor) talent.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
talentIDnumberTalent ID.
specGroupIndexnumber?Index of active specialization group (GetActiveSpecGroup); if nil, the selected/available return values will always be false.
isInspectboolean?If non-nil, returns information based on inspectedUnit.
inspectedUnitstring?Inspected unitId.

Returns

#nametypedescription
1talentIDnumberTalent ID.
2namestringTalent name.
3iconnumberFileID
4selectedbooleantrue if the talent is chosen, false otherwise.
5availablebooleantrue if the talent tier is chosen, or if it is level-appropriate for the player and the player has no talents selected in that tier, false otherwise.
6spellIDnumberSpell ID that is added to the spellbook.
7unlockedbooleanWhether the talent is unlocked.
8rownumberThe row the talent is from.
9columnnumberThe column the talent is from.
10knownbooleantrue if the talent is known, false otherwise.
11grantedByAurabooleantrue if the talent is granted by an aura (i.e., an effect on an item), false otherwise. The Conflict and Strife Azerite Essence uses this instead of selected.

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

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.