C_SpecializationInfo. GetSpecializationInfo
functionimplementedavailable in: camelot
Returns info for a specialization.
function C_SpecializationInfo.GetSpecializationInfo( specializationIndex: number, isInspect: boolean, isPet: boolean, inspectTarget: string?, sex: number?, groupIndex: number?, classID: number?): (number, string?, string?, number?, string?, number?, number, string?, number, boolean)Parameters
| name | type | description |
|---|---|---|
specializationIndex | number | |
isInspect | boolean | Default: false. |
isPet | boolean | Default: false. |
inspectTarget | string? | |
sex | number? | UnitSex |
groupIndex | number? | |
classID | number? |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | specId | number | Default: 0. |
| 2 | name | string? | |
| 3 | description | string? | |
| 4 | icon | number? | |
| 5 | role | string? | |
| 6 | primaryStat | number? | |
| 7 | pointsSpent | number | Default: 0. |
| 8 | background | string? | |
| 9 | previewPointsSpent | number | Default: 0. |
| 10 | isUnlocked | boolean | Default: true. |
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (SpecializationInfo system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.