Files
SessionGoldTracker/docs/blizzard-api/Blizzard_APIDocumentationGenerated/LuaDurationManualClockAPIDocumentation.lua
T
2026-10-15 14:27:00 +11:00

67 lines
1.2 KiB
Lua

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);