WoW:API GetProfessionInfo: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}} __NOTOC__
<!-- Describe the purpose of the function, exhausting detail can be saved for a later section -->
Gets details on a profession from its index including name, icon, and skill level.
Gets details on a profession from its index including name, icon, and skill level.
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
 
<pre style="font-size:x-small;">
  name, icon, skillLevel, maxSkillLevel, numAbilities, spelloffset,
  name, icon, skillLevel, maxSkillLevel, numAbilities, spelloffset, skillLine,  
    skillLine, skillModifier, specializationIndex,
skillModifier, specializationIndex, specializationOffset
    specializationOffset = GetProfessionInfo(index)
= GetProfessionInfo(index)
</pre>


== Arguments ==
== Arguments ==