WoW:API GetProfessionInfo: Difference between revisions

no edit summary
(Added info about the return variable "spelloffset")
No edit summary
Line 3: Line 3:
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 -->
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
  name, icon, skillLevel, maxSkillLevel, numAbilities, spelloffset, skillLine,
<pre style="font-size:x-small;">
    skillModifier, specializationIndex, specializationOffset = GetProfessionInfo(index)
  name, icon, skillLevel, maxSkillLevel, numAbilities, spelloffset, skillLine,  
skillModifier, specializationIndex, specializationOffset
= GetProfessionInfo(index)
</pre>


== Arguments ==
== Arguments ==
Anonymous user