GetTalentRowSelectionInfo

From Warcraft Wiki
Jump to navigation Jump to search
Links
Info
Added in 5.0.4

Returns information about the player's talent selection in the specified talent tier.

isFree, talentID = GetTalentRowSelectionInfo(tier)

Arguments

tier
Number - Index of the talent tier to query, ascending from 1.

Returns

isFree
Boolean - true if the player has not yet made a selection in the queried tier; false otherwise. (Experience has shown that isFree can be returned true when in fact a talent has been selected; this could occur if the default for isFree is true and Blizzard has not set or updated the isFree flag before the API call is made. Making the call again after isFree is returned true usually produces the correct outcome, unless the call is made immediately.)
talentID
Number - The unique ID for the selected talent, if a selection has been made; nil otherwise.

Patch changes

See also