GetSpecializationInfoForClassID
functionguessedavailable in: camelot
Returns info for a specialization.
function GetSpecializationInfoForClassID( classID: number, index: number, gender: UnitSex?): (number, string, string, number, string, boolean, boolean, number?, number?)Parameters
| name | type | description |
|---|---|---|
classID | number | ClassId |
index | number | |
gender | UnitSex? | UnitSex |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | id | number | SpecializationID |
| 2 | name | string | Specialization name, e.g. "Balance". |
| 3 | description | string | 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." |
| 4 | icon | number | |
| 5 | role | string | The intended role in a party: "DAMAGER", "TANK", "HEALER" |
| 6 | recommended | boolean | If this specialization is recommended for beginners to the class. |
| 7 | allowedForBoost | boolean | If the player is allowed to use this specialization. |
| 8 | masterySpell1 | number? | |
| 9 | masterySpell2 | number? |
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (SpecializationShared system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.