Lore archive · Warcraft Wiki, 2023 dump
API GetSpecializationInfo
Last wiki revision 2023-03-10
Returns info for a specialization. id, name, description, icon, role, primaryStat = GetSpecializationInfo(specIndex [, isInspect, isPet, inspectTarget, sex]) id, name, description, icon, role, classFile, className = GetSpecializationInfoByID(specID) id, name, description, icon, role, isRecommended, isAllowed = GetSpecializationInfoForClassID(classID, specIndex) id, name, description, icon, role, isRecommended, isAllowed = GetSpecializationInfoForSpecID(specID [, sex])
- specIndex: - Index of the specialization to query, ascending from 1 to.
- isInspect: - Whether to query specialization information for the inspected unit.
- Does not actually seem to work, you need to use instead.
- isPet: - Whether to query specialization information for the player's pet.
- inspectTarget: - The unit to request data for, when inspecting.
- sex: - Player's sex as returned by
- specID: : SpecializationID
- classID: : ClassId
- specIndex:
- specID: : SpecializationID
- sex:
- id: : SpecializationID
- name: - Specialization name, e.g. "Balance".
- description: - Description of the specialization, e.g. "Can take on the form of a powerful Moonkin, balancing the power of Arcane and Nature magic to destroy enemies at a distance."
- icon: : FileID
- role: - The intended role in a party:
- primaryStat: - The primary stat as listed in SPEC_STAT_STRINGS :
- classFile: - Locale-independent class name, e.g.
- className: - Localized class name, e.g.
- isRecommended: - If this specialization is recommended for beginners to the class.
- isAllowed: - If the player is allowed to use this specialization.
- Linked from: SpecializationID
Source
https://warcraft.wiki.gg/wiki/API_GetSpecializationInfo · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.