First commit, step 4 completed
This commit is contained in:
+67
@@ -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);
|
||||
Reference in New Issue
Block a user