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,67 @@
local LuaDurationManualClockAPI =
{
Name = "LuaDurationManualClockAPI",
Type = "ScriptObject",
ObjectType = "Userdata",
Environment = "All",
Functions =
{
{
Name = "AdvanceTime",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Documentation = { "Advances the clock by a specified number of seconds." },
Arguments =
{
{ Name = "delta", Type = "Seconds", Nilable = false },
},
},
{
Name = "ResetTime",
Type = "Function",
Documentation = { "Resets the clock to a zero time value." },
Arguments =
{
},
},
{
Name = "RewindTime",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Documentation = { "Rewinds the clock by a specified number of seconds." },
Arguments =
{
{ Name = "delta", Type = "Seconds", Nilable = false },
},
},
{
Name = "SetTime",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Documentation = { "Sets the current clock timestamp to a given value." },
Arguments =
{
{ Name = "time", Type = "FrameTime", Nilable = false },
},
},
},
Events =
{
},
Tables =
{
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(LuaDurationManualClockAPI);