Include Blizzard_APIDocumentation and Search API Button to Code Editor with Wrath Classic Data (#57)

This commit is contained in:
NoM0Re
2025-07-05 19:08:53 +02:00
committed by GitHub
parent ad68aa2f97
commit 0971189346
319 changed files with 47180 additions and 18 deletions
@@ -0,0 +1,67 @@
local Spell =
{
Name = "Spell",
Type = "System",
Namespace = "C_Spell",
Functions =
{
{
Name = "DoesSpellExist",
Type = "Function",
Arguments =
{
{ Name = "spellID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "spellExists", Type = "bool", Nilable = false },
},
},
{
Name = "IsSpellDataCached",
Type = "Function",
Arguments =
{
{ Name = "spellID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "isCached", Type = "bool", Nilable = false },
},
},
{
Name = "RequestLoadSpellData",
Type = "Function",
Arguments =
{
{ Name = "spellID", Type = "number", Nilable = false },
},
},
},
Events =
{
{
Name = "SpellDataLoadResult",
Type = "Event",
LiteralName = "SPELL_DATA_LOAD_RESULT",
Payload =
{
{ Name = "spellID", Type = "number", Nilable = false },
{ Name = "success", Type = "bool", Nilable = false },
},
},
},
Tables =
{
},
};
APIDocumentation:AddDocumentationTable(Spell);