API GetSpecializationRoleByID

From Wowpedia
Jump to: navigation, search

Returns the role a specialization is intended to perform.

roleToken = GetSpecializationRoleByID(specID)

Arguments

specID 
Number - Specialization ID, as returned by GetSpecializationInfo or GetInspectSpecialization.

Returns

roleToken 
String - One of "DAMAGER", "TANK", "HEALER"; nil if specID is invalid.

See also

Patch history

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.