First commit, step 4 completed

This commit is contained in:
bepis
2026-10-15 14:27:00 +11:00
commit 9a30efa170
5378 changed files with 1136719 additions and 0 deletions
@@ -0,0 +1,86 @@
local SpellActivationOverlay =
{
Name = "SpellActivationOverlay",
Type = "System",
Namespace = "C_SpellActivationOverlay",
Environment = "All",
Functions =
{
{
Name = "IsSpellOverlayed",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "spellID", Type = "number", Nilable = false },
},
Returns =
{
{ Name = "isSpellOverlayed", Type = "bool", Nilable = false },
},
},
},
Events =
{
{
Name = "SpellActivationOverlayGlowHide",
Type = "Event",
LiteralName = "SPELL_ACTIVATION_OVERLAY_GLOW_HIDE",
SynchronousEvent = true,
Payload =
{
{ Name = "spellID", Type = "number", Nilable = false },
},
},
{
Name = "SpellActivationOverlayGlowShow",
Type = "Event",
LiteralName = "SPELL_ACTIVATION_OVERLAY_GLOW_SHOW",
SynchronousEvent = true,
Payload =
{
{ Name = "spellID", Type = "number", Nilable = false },
},
},
{
Name = "SpellActivationOverlayHide",
Type = "Event",
LiteralName = "SPELL_ACTIVATION_OVERLAY_HIDE",
SynchronousEvent = true,
Payload =
{
{ Name = "spellID", Type = "number", Nilable = true },
},
},
{
Name = "SpellActivationOverlayShow",
Type = "Event",
LiteralName = "SPELL_ACTIVATION_OVERLAY_SHOW",
SynchronousEvent = true,
Payload =
{
{ Name = "spellID", Type = "number", Nilable = false },
{ Name = "overlayFileDataID", Type = "number", Nilable = false },
{ Name = "locationType", Type = "ScreenLocationType", Nilable = false },
{ Name = "scale", Type = "number", Nilable = false },
{ Name = "r", Type = "number", Nilable = false },
{ Name = "g", Type = "number", Nilable = false },
{ Name = "b", Type = "number", Nilable = false },
},
},
},
Tables =
{
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(SpellActivationOverlay);