C_ToyBox.GetToyFromIndex

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

Returns a toy by index.

itemID = C_ToyBox.GetToyFromIndex(index)

Arguments

index
number - Ranging from 1 to C_ToyBox.GetNumFilteredToys.

Returns

itemID
number - The Item ID of the toy. Returns -1 if the index is invalid.