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

491 lines
9.4 KiB
Lua

local SimpleAnimAPI =
{
Name = "SimpleAnimAPI",
Type = "ScriptObject",
Environment = "All",
Functions =
{
{
Name = "GetDuration",
Type = "Function",
Arguments =
{
},
Returns =
{
{ Name = "durationSec", Type = "number", Nilable = false },
},
},
{
Name = "GetElapsed",
Type = "Function",
ChecksForbiddenAspects = { { Argument = "self", Aspect = Enum.ForbiddenAspect.QueryAnimationProgress } },
Arguments =
{
},
Returns =
{
{ Name = "elapsedSec", Type = "number", Nilable = false },
},
},
{
Name = "GetEndDelay",
Type = "Function",
Arguments =
{
},
Returns =
{
{ Name = "delaySec", Type = "number", Nilable = false },
},
},
{
Name = "GetOrder",
Type = "Function",
Arguments =
{
},
Returns =
{
{ Name = "order", Type = "number", Nilable = false },
},
},
{
Name = "GetProgress",
Type = "Function",
ChecksForbiddenAspects = { { Argument = "self", Aspect = Enum.ForbiddenAspect.QueryAnimationProgress } },
Arguments =
{
},
Returns =
{
{ Name = "progress", Type = "number", Nilable = false },
},
},
{
Name = "GetRegionParent",
Type = "Function",
Arguments =
{
},
Returns =
{
{ Name = "region", Type = "CScriptObject", Nilable = false },
},
},
{
Name = "GetScript",
Type = "Function",
RequiresSupportedScript = true,
ConstSecretAccessor = true,
SecretArguments = "AllowedWhenUntainted",
ChecksForbiddenAspects = { { Argument = "self", Aspect = Enum.ForbiddenAspect.ScriptBindings } },
Arguments =
{
{ Name = "scriptTypeName", Type = "ScriptTypeName", Nilable = false },
{ Name = "bindingType", Type = "ScriptBindingType", Nilable = false, Default = "Extrinsic" },
},
Returns =
{
{ Name = "script", Type = "LuaFunctionReference", Nilable = false },
},
},
{
Name = "GetSmoothProgress",
Type = "Function",
ChecksForbiddenAspects = { { Argument = "self", Aspect = Enum.ForbiddenAspect.QueryAnimationProgress } },
Arguments =
{
},
Returns =
{
{ Name = "progress", Type = "number", Nilable = false },
},
},
{
Name = "GetSmoothing",
Type = "Function",
Arguments =
{
},
Returns =
{
{ Name = "weights", Type = "SmoothingType", Nilable = false },
},
},
{
Name = "GetStartDelay",
Type = "Function",
Arguments =
{
},
Returns =
{
{ Name = "delaySec", Type = "number", Nilable = false },
},
},
{
Name = "GetTarget",
Type = "Function",
Arguments =
{
},
Returns =
{
{ Name = "target", Type = "CScriptObject", Nilable = false },
},
},
{
Name = "HasScript",
Type = "Function",
SecretReturnsForAspect = { Enum.SecretAspect.ObjectType },
ConstSecretAccessor = true,
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "scriptName", Type = "cstring", Nilable = false },
},
Returns =
{
{ Name = "hasScript", Type = "bool", Nilable = false },
},
},
{
Name = "HookScript",
Type = "Function",
RequiresAssignableScript = true,
SecretArguments = "AllowedWhenUntainted",
ChecksForbiddenAspects = { { Argument = "self", Aspect = Enum.ForbiddenAspect.ScriptBindings } },
Arguments =
{
{ Name = "scriptTypeName", Type = "ScriptTypeName", Nilable = false },
{ Name = "script", Type = "LuaFunctionReference", Nilable = false },
{ Name = "bindingType", Type = "ScriptBindingType", Nilable = false, Default = "Extrinsic" },
},
Returns =
{
{ Name = "success", Type = "bool", Nilable = false },
},
},
{
Name = "IsDelaying",
Type = "Function",
ChecksForbiddenAspects = { { Argument = "self", Aspect = Enum.ForbiddenAspect.QueryAnimationProgress } },
Arguments =
{
},
Returns =
{
{ Name = "isDelaying", Type = "bool", Nilable = false },
},
},
{
Name = "IsDone",
Type = "Function",
ChecksForbiddenAspects = { { Argument = "self", Aspect = Enum.ForbiddenAspect.QueryAnimationProgress } },
Arguments =
{
},
Returns =
{
{ Name = "isDone", Type = "bool", Nilable = false },
},
},
{
Name = "IsPaused",
Type = "Function",
ChecksForbiddenAspects = { { Argument = "self", Aspect = Enum.ForbiddenAspect.QueryAnimationProgress } },
Arguments =
{
},
Returns =
{
{ Name = "isPaused", Type = "bool", Nilable = false },
},
},
{
Name = "IsPlaying",
Type = "Function",
ChecksForbiddenAspects = { { Argument = "self", Aspect = Enum.ForbiddenAspect.QueryAnimationProgress } },
Arguments =
{
},
Returns =
{
{ Name = "isPlaying", Type = "bool", Nilable = false },
},
},
{
Name = "IsStopped",
Type = "Function",
ChecksForbiddenAspects = { { Argument = "self", Aspect = Enum.ForbiddenAspect.QueryAnimationProgress } },
Arguments =
{
},
Returns =
{
{ Name = "isStopped", Type = "bool", Nilable = false },
},
},
{
Name = "Pause",
Type = "Function",
Arguments =
{
},
},
{
Name = "Play",
Type = "Function",
Arguments =
{
},
},
{
Name = "Restart",
Type = "Function",
Arguments =
{
},
},
{
Name = "SetChildKey",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
ChecksForbiddenAspects = { { Argument = "self", Aspect = Enum.ForbiddenAspect.ChangeAnimationTarget } },
Arguments =
{
{ Name = "childKey", Type = "cstring", Nilable = false },
},
Returns =
{
{ Name = "success", Type = "bool", Nilable = false },
},
},
{
Name = "SetDuration",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "durationSec", Type = "number", Nilable = false },
{ Name = "recomputeGroupDuration", Type = "bool", Nilable = false, Default = true },
},
},
{
Name = "SetEndDelay",
Type = "Function",
SecretArguments = "NotAllowed",
Arguments =
{
{ Name = "delaySec", Type = "number", Nilable = false },
{ Name = "recomputeGroupDuration", Type = "bool", Nilable = false, Default = true },
},
},
{
Name = "SetOrder",
Type = "Function",
SecretArguments = "NotAllowed",
Arguments =
{
{ Name = "newOrder", Type = "number", Nilable = false },
},
},
{
Name = "SetParent",
Type = "Function",
CheckAllowChangeParent = true,
SecretArguments = "AllowedWhenUntainted",
ChecksForbiddenAspects = { { Argument = "parent", Aspect = Enum.ForbiddenAspect.AddAnimations } },
Arguments =
{
{ Name = "parent", Type = "SimpleAnimGroup", Nilable = false },
{ Name = "order", Type = "number", Nilable = true },
},
},
{
Name = "SetPlaying",
Type = "Function",
SecretArguments = "NotAllowed",
Arguments =
{
{ Name = "play", Type = "bool", Nilable = false },
},
},
{
Name = "SetScript",
Type = "Function",
RequiresAssignableScript = true,
SecretArguments = "AllowedWhenUntainted",
ChecksForbiddenAspects = { { Argument = "self", Aspect = Enum.ForbiddenAspect.ScriptBindings } },
Arguments =
{
{ Name = "scriptTypeName", Type = "ScriptTypeName", Nilable = false },
{ Name = "script", Type = "LuaFunctionReference", Nilable = true },
},
},
{
Name = "SetSmoothProgress",
Type = "Function",
SecretArguments = "NotAllowed",
Arguments =
{
{ Name = "durationSec", Type = "number", Nilable = false },
},
},
{
Name = "SetSmoothing",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "weights", Type = "SmoothingType", Nilable = false },
},
},
{
Name = "SetStartDelay",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
Arguments =
{
{ Name = "delaySec", Type = "number", Nilable = false },
{ Name = "recomputeGroupDuration", Type = "bool", Nilable = false, Default = true },
},
},
{
Name = "SetTarget",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
ChecksForbiddenAspects = { { Argument = "self", Aspect = Enum.ForbiddenAspect.ChangeAnimationTarget } },
Arguments =
{
{ Name = "target", Type = "CScriptObject", Nilable = false },
},
Returns =
{
{ Name = "success", Type = "bool", Nilable = false },
},
},
{
Name = "SetTargetKey",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
ChecksForbiddenAspects = { { Argument = "self", Aspect = Enum.ForbiddenAspect.ChangeAnimationTarget } },
Arguments =
{
{ Name = "key", Type = "cstring", Nilable = false },
},
Returns =
{
{ Name = "success", Type = "bool", Nilable = false },
},
},
{
Name = "SetTargetName",
Type = "Function",
SecretArguments = "AllowedWhenUntainted",
ChecksForbiddenAspects = { { Argument = "self", Aspect = Enum.ForbiddenAspect.ChangeAnimationTarget } },
Arguments =
{
{ Name = "name", Type = "cstring", Nilable = false },
},
Returns =
{
{ Name = "success", Type = "bool", Nilable = false },
},
},
{
Name = "SetTargetParent",
Type = "Function",
ChecksForbiddenAspects = { { Argument = "self", Aspect = Enum.ForbiddenAspect.ChangeAnimationTarget } },
Arguments =
{
},
Returns =
{
{ Name = "success", Type = "bool", Nilable = false },
},
},
{
Name = "Stop",
Type = "Function",
Arguments =
{
},
},
},
Events =
{
},
Tables =
{
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(SimpleAnimAPI);