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,91 @@
local CreatureInfo =
{
Name = "CreatureInfo",
Type = "System",
Namespace = "C_CreatureInfo",
Functions =
{
{
Name = "GetClassInfo",
Type = "Function",
Arguments =
{
{ Name = "classID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "classInfo", Type = "ClassInfo", Nilable = true },
},
},
{
Name = "GetFactionInfo",
Type = "Function",
Arguments =
{
{ Name = "raceID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "factionInfo", Type = "FactionInfo", Nilable = true },
},
},
{
Name = "GetRaceInfo",
Type = "Function",
Arguments =
{
{ Name = "raceID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "raceInfo", Type = "RaceInfo", Nilable = true },
},
},
},
Events =
{
},
Tables =
{
{
Name = "ClassInfo",
Type = "Structure",
Fields =
{
{ Name = "className", Type = "string", Nilable = false },
{ Name = "classFile", Type = "string", Nilable = false },
{ Name = "classID", Type = "number", Nilable = false },
},
},
{
Name = "FactionInfo",
Type = "Structure",
Fields =
{
{ Name = "name", Type = "cstring", Nilable = false },
{ Name = "groupTag", Type = "cstring", Nilable = false },
},
},
{
Name = "RaceInfo",
Type = "Structure",
Fields =
{
{ Name = "raceName", Type = "string", Nilable = false },
{ Name = "clientFileString", Type = "string", Nilable = false },
{ Name = "raceID", Type = "number", Nilable = false },
},
},
},
};
APIDocumentation:AddDocumentationTable(CreatureInfo);