C_ToyBox.GetToyInfo

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 6.0.2 / 1.15.0

Returns toy info.

itemID, toyName, icon, isFavorite, hasFanfare, itemQuality = C_ToyBox.GetToyInfo(itemID)

Arguments

itemID
number - The itemID returned from C_ToyBox.GetToyFromIndex(); possible values listed at ToyID.

Returns

itemID
number - The Item ID of the toy.
toyName
string - The name of the toy.
icon
number - The icon texture (FileID).
isFavorite
boolean - Whether the toy is set to favorite.
hasFanfare
boolean - Shows a highlight for the toy.
itemQuality
Enum.ItemQuality🔗

Patch changes

Warlords of Draenor Patch 6.0.2 (2014-10-14): Added.