WoW:API GetSpecializationInfo: Difference between revisions

m
Move page script moved page API GetSpecializationInfo to WoW:API GetSpecializationInfo without leaving a redirect
mNo edit summary
m (Move page script moved page API GetSpecializationInfo to WoW:API GetSpecializationInfo without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
Returns information about the player's specializations.
Returns information about the player's specializations.
  local id, name, description, icon, background, role = GetSpecializationInfo(specIndex [, isInspect [, isPet]])
  local id, name, description, icon, background, role = GetSpecializationInfo(specIndex [, isInspect [, isPet [, ? [, genderCode]]]])


== Arguments ==
== Arguments ==
Line 7: Line 7:
;isInspect : Optional boolean - If true, query specialization information for the inspected unit.
;isInspect : Optional boolean - If true, query specialization information for the inspected unit.
;isPet : Optional boolean - If true, query specialization information for the player's pet.
;isPet : Optional boolean - If true, query specialization information for the player's pet.
;genderCode : Number - Index returned by {{Api|UnitSex}}().


== Returns ==
== Returns ==
Anonymous user