WoW:API GetSpecializationRole: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with "{{wowapi}} Returns the role a specialization is intended to perform. local roleToken = GetSpecializationRole(specIndex[, isInspect[, isPet]]) == Arguments == ; specIndex : N...")
 
m (Move page script moved page API GetSpecializationRole to API GetSpecializationRole without leaving a redirect)
 
(No difference)

Latest revision as of 04:46, 15 August 2023

WoW API < GetSpecializationRole

Returns the role a specialization is intended to perform.

local roleToken = GetSpecializationRole(specIndex[, isInspect[, isPet]])

Arguments[edit]

specIndex
Number - Specialization index, ascending from 1.

Returns[edit]

roleToken
String - One of "DAMAGER", "TANK", "HEALER"; 0 if the query is invalid.

Notes[edit]

Patch history[edit]

Template:Mists-inline <span style="" title="Patch 5.0.4">Patch 5.0.4</span> (patch date::28-August-2012): Added.

See also[edit]