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,98 @@
local UITimer =
{
Name = "UITimer",
Type = "System",
Namespace = "C_Timer",
Environment = "All",
Functions =
{
{
Name = "After",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "seconds", Type = "number", Nilable = false },
{ Name = "callback", Type = "TimerCallback", Nilable = false },
},
},
{
Name = "NewTicker",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "seconds", Type = "number", Nilable = false },
{ Name = "callback", Type = "TickerCallback", Nilable = false },
{ Name = "iterations", Type = "number", Nilable = true },
},
Returns =
{
{ Name = "cbObject", Type = "TickerCallback", Nilable = false },
},
},
{
Name = "NewTimedSignalMap",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Documentation = { "Creates a new timed signal map that invokes the supplied callback with each key as it becomes due." },
Arguments =
{
{ Name = "callback", Type = "TimedSignalMapCallback", Nilable = false, Documentation = { "Callback to execute when each entry becomes due." } },
},
Returns =
{
{ Name = "signalMap", Type = "TimedSignalMap", Nilable = false, Documentation = { "The newly created timed signal map." } },
},
},
{
Name = "NewTimer",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "seconds", Type = "number", Nilable = false },
{ Name = "callback", Type = "TickerCallback", Nilable = false },
},
Returns =
{
{ Name = "cbObject", Type = "TickerCallback", Nilable = false },
},
},
},
Events =
{
},
Tables =
{
{
Name = "TickerCallback",
Type = "CallbackType",
Arguments =
{
{ Name = "cb", Type = "TimerCallback", Nilable = false },
},
},
{
Name = "TimerCallback",
Type = "CallbackType",
},
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(UITimer);