84 lines
1.3 KiB
Lua
84 lines
1.3 KiB
Lua
local SimpleControlPointAPI =
|
|
{
|
|
Name = "SimpleControlPointAPI",
|
|
Type = "ScriptObject",
|
|
Environment = "All",
|
|
|
|
Functions =
|
|
{
|
|
{
|
|
Name = "GetOffset",
|
|
Type = "Function",
|
|
|
|
Arguments =
|
|
{
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "offsetX", Type = "uiUnit", Nilable = false },
|
|
{ Name = "offsetY", Type = "uiUnit", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetOrder",
|
|
Type = "Function",
|
|
|
|
Arguments =
|
|
{
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "order", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "SetOffset",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "offsetX", Type = "uiUnit", Nilable = false },
|
|
{ Name = "offsetY", Type = "uiUnit", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "SetOrder",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "order", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "SetParent",
|
|
Type = "Function",
|
|
CheckAllowChangeParent = true,
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "parent", Type = "SimplePathAnim", Nilable = false },
|
|
{ Name = "order", Type = "number", Nilable = true },
|
|
},
|
|
},
|
|
},
|
|
|
|
Events =
|
|
{
|
|
},
|
|
|
|
Tables =
|
|
{
|
|
},
|
|
|
|
Predicates =
|
|
{
|
|
},
|
|
};
|
|
|
|
APIDocumentation:AddDocumentationTable(SimpleControlPointAPI); |