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,21 @@
local SharedScriptObjectModelLight =
{
Tables =
{
{
Name = "ModelLight",
Type = "Structure",
Fields =
{
{ Name = "omnidirectional", Type = "bool", Nilable = false, Default = false },
{ Name = "point", Type = "vector3", Mixin = "Vector3DMixin", Nilable = false, Documentation = { "If this light is omnidirectional then point refers to a position, otherwise it refers to a direction" } },
{ Name = "ambientIntensity", Type = "number", Nilable = false, Default = 0 },
{ Name = "ambientColor", Type = "colorRGB", Mixin = "ColorMixin", Nilable = true },
{ Name = "diffuseIntensity", Type = "number", Nilable = false, Default = 0 },
{ Name = "diffuseColor", Type = "colorRGB", Mixin = "ColorMixin", Nilable = true },
},
},
},
};
APIDocumentation:AddDocumentationTable(SharedScriptObjectModelLight);