GetTrainerSelectionIndex
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 1.0.0 |
Returns the index of the selected trainer service.
selectionIndex = GetTrainerSelectionIndex()
- Returns
- selectionIndex
- number : The index of the selected trainer service (the index changes when a subclass header is collapsed or expanded. And the subclass headers are included in the index).
- Example
Prints the index of the selected trainer service to the chatwindow.
ChatFrame1:AddMessage(GetTrainerSelectionIndex());