API GetProfessions

104,993pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetProfessions

Gives all of the current character's professions

prof1, prof2, archaeology, fishing, cooking, firstAid = GetProfessions();

Returns Edit

prof1, prof2, archaeology, fishing, cooking, firstAid
Number - the index of the first profession
Number - the index of the second profession
Number - the index of Archaeology
Number - the index of Fishing
Number - the index of Cooking
Number - the index of First Aid

Details Edit

The indices returned can be passed into the API GetProfessionInfo function. The indices are not fixed and can change when a character learns or unlearns a profession. If you do not have one of the skills the value returned will be nil.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.