PlayerHasToy
functionimplementedavailable in: camelot
Determines if player has a specific toy in their toybox
The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.
Parameters
| name | type | description |
|---|---|---|
itemId | number | itemId of a toy. |
Returns
hasToy · boolean · True if player has itemId in their toybox, false if not.
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 ↗.