v0.13.8

GetTrainerServiceIcon

functionimplementedavailable in: camelot

Returns the icon texture for a specific trainer service.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
indexnumberIndex of the trainer service to retrieve information about. Note that indices are affected by the trainer filter. (See GetTrainerServiceTypeFilter and SetTrainerServiceTypeFilter.)

Returns

icon · number? · The icon texture for a particular trainer service. nil if id is a header rather than a spell line.

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 ↗.