Files
SessionGoldTracker/docs/blizzard-api/Blizzard_APIDocumentationGenerated/ToyBoxInfoDocumentation.lua
T
2026-10-15 14:27:00 +11:00

110 lines
1.8 KiB
Lua

local ToyBoxInfo =
{
Name = "ToyBoxInfo",
Type = "System",
Namespace = "C_ToyBoxInfo",
Environment = "All",
Functions =
{
{
Name = "ClearFanfare",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "itemID", Type = "number", Nilable = false },
},
},
{
Name = "HasAnyToy",
Type = "Function",
Returns =
{
{ Name = "hasToy", Type = "bool", Nilable = false },
},
},
{
Name = "IsToySourceValid",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "source", Type = "luaIndex", Nilable = false },
},
Returns =
{
{ Name = "isToySourceValid", Type = "bool", Nilable = false },
},
},
{
Name = "IsUsingDefaultFilters",
Type = "Function",
Returns =
{
{ Name = "isUsingDefaultFilters", Type = "bool", Nilable = false },
},
},
{
Name = "NeedsFanfare",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "itemID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "needsFanfare", Type = "bool", Nilable = false },
},
},
{
Name = "SetDefaultFilters",
Type = "Function",
},
},
Events =
{
{
Name = "NewToyAdded",
Type = "Event",
LiteralName = "NEW_TOY_ADDED",
SynchronousEvent = true,
Payload =
{
{ Name = "itemID", Type = "number", Nilable = false },
},
},
{
Name = "ToysUpdated",
Type = "Event",
LiteralName = "TOYS_UPDATED",
SynchronousEvent = true,
UniqueEvent = true,
Payload =
{
{ Name = "itemID", Type = "number", Nilable = true },
{ Name = "isNew", Type = "bool", Nilable = true },
{ Name = "hasFanfare", Type = "bool", Nilable = true },
},
},
},
Tables =
{
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(ToyBoxInfo);