v0.13.8

C_ToyBoxInfo

namespaceavailable in: camelot

Status in wowlua

6 functions: 3 implemented, 0 recorded, 3 guessed. 2 events, 1 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
ClearFanfareClears a fanfare for a toy.
(itemID: number)
implemented
HasAnyToyWhether the player has collected any toy. · by wowlua
(): boolean
implemented
IsToySourceValidWhether the given source type is a valid toy source for the toy box filter. · by wowlua
(source: number): boolean
guessed
IsUsingDefaultFiltersWhether the toy box filters are at their defaults. · by wowlua
(): boolean
guessed
NeedsFanfareReturns whether a toy needs a fanfare.
(itemID: number): boolean
implemented
SetDefaultFiltersResets the toy box filters to their defaults. · by wowlua
()
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
NEW_TOY_ADDEDitemID: numbernot implemented
TOYS_UPDATEDitemID: number?, isNew: boolean?, hasFanfare: boolean?implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("NEW_TOY_ADDED").

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ToyBoxInfo system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.