WowAddons

World of Warcraft Forever API · SpecializationShared.md, for your AI

SpecializationShared (global functions)

5 functions, 2 tables, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

GetSpecializationInfoForClassID

id, name, description, icon, role, recommended, allowedForBoost, masterySpell1, masterySpell2 = GetSpecializationInfoForClassID(classID, index, [gender])

Arguments

classIDnumber
indexluaIndex
genderUnitSex may be nil

Returns

idnumber
namecstring
descriptionstring
iconfileID
rolecstring
recommendedbool
allowedForBoostbool
masterySpell1number may be nil
masterySpell2number may be nil

GetSpecializationInfoForSpecID

id, name, description, icon, role, recommended, allowedForBoost, masterySpell1, masterySpell2 = GetSpecializationInfoForSpecID(specID, [gender])

Arguments

specIDnumber
genderUnitSex may be nil

Returns

idnumber
namecstring
descriptionstring
iconfileID
rolecstring
recommendedbool
allowedForBoostbool
masterySpell1number may be nil
masterySpell2number may be nil

GetSpecializationNameForSpecID

name = GetSpecializationNameForSpecID(specID, [gender])

Arguments

specIDnumber
genderUnitSex may be nil

Returns

namecstring may be nil

GetSpecializationSystem

system = GetSpecializationSystem()

Returns

systemSpecializationSystem

HasLootSpecializations

hasLootSpecializations = HasLootSpecializations()

Returns

hasLootSpecializationsbool

Tables

Enum.SpecializationSystem enumeration

TalentTab0
ChrSpecialization1

SpecializationInfoResult structure

idnumber
namecstring
descriptionstring
iconfileID
rolecstring
recommendedbool
allowedForBoostbool
masterySpell1number may be nil
masterySpell2number may be nil

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows