GetSpecializationInfoForSpecID
functionguessedavailable in: camelot
Returns information about a specialization by its ID. · description by wowlua
function GetSpecializationInfoForSpecID( specID: number, gender: UnitSex?): (number, string, string, number, string, boolean, boolean, number?, number?)Parameters
| name | type | description |
|---|---|---|
specID | number | |
gender | UnitSex? | The gender to word the name for. |
Returns
| # | name | type |
|---|---|---|
| 1 | id | number |
| 2 | name | string |
| 3 | description | string |
| 4 | icon | number |
| 5 | role | string |
| 6 | recommended | boolean |
| 7 | allowedForBoost | boolean |
| 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: written by wowlua where no documentation describes the entry.