v0.13.8

C_ToyBox.GetToyInfo

functionimplementedavailable in: camelot

Returns toy info.

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

Parameters

nametypedescription
itemIDnumberThe itemID returned from C_ToyBox.GetToyFromIndex(); possible values listed at ToyID.

Returns

#nametypedescription
1itemIDnumberThe Item ID of the toy.
2toyNamestringThe name of the toy.
3iconnumberThe icon texture (FileID).
4isFavoritebooleanWhether the toy is set to favorite.
5hasFanfarebooleanShows a highlight for the toy.
6itemQualitynumber

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