API GetSpecializationRole

Returns the role a specialization is intended to perform.
 roleToken = GetSpecializationRole(specIndex [, isInspect, isPet])
==Arguments==
:;specIndex: - Specialization index, ascending from 1.
==Returns==
:;roleToken: - One of "DAMAGER", "TANK", "HEALER"; 0 if the query is invalid.
==Details==
* While the inspection/pet arguments are suggested by the syntax error message, the function only returns 0 when those arguments are used. FrameXML uses ("unit") in conjunction with (id) instead.
==See also==
* 
* 
* 
==Patch changes==