GetTrainerServiceAbilityReq
functionimplementedavailable in: camelot
Returns the name of a requirement for training a skill and if the player meets the requirement.
The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.
Parameters
| name | type | description |
|---|---|---|
trainerIndex | number | Index of the trainer service to retrieve information about. Note that indices are affected by the trainer filter. (See GetTrainerServiceTypeFilter and SetTrainerServiceTypeFilter.) |
reqIndex | number | Index of the requirement to retrieve information about. |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | ability | string | The name of the required ability. Not readily available on function call, see SpellMixin:ContinueOnSpellLoad. |
| 2 | hasReq | boolean | Flag for if the player meets the requirement. |
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
sources
Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.