WoW:API GetSpecializationInfo: Difference between revisions

genderCode argument added
mNo edit summary
(genderCode argument added)
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