First commit, step 4 completed
This commit is contained in:
+150
@@ -0,0 +1,150 @@
|
||||
local FrameAPITooltip =
|
||||
{
|
||||
Name = "FrameAPITooltip",
|
||||
Type = "ScriptObject",
|
||||
Environment = "All",
|
||||
|
||||
Functions =
|
||||
{
|
||||
{
|
||||
Name = "AddFontStrings",
|
||||
Type = "Function",
|
||||
CheckAllowChangeParent = true,
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
ChecksForbiddenAspects = { { Argument = "leftFontString", Aspect = Enum.ForbiddenAspect.RemoveSecretAspects }, { Argument = "rightFontString", Aspect = Enum.ForbiddenAspect.RemoveSecretAspects } },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "leftFontString", Type = "SimpleFontString", Nilable = false },
|
||||
{ Name = "rightFontString", Type = "SimpleFontString", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "ClearPadding",
|
||||
Type = "Function",
|
||||
Documentation = { "Set all padding values to 0.0 and remove the Padding SecretAspect." },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetLeftLine",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "line", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "leftFontString", Type = "SimpleFontString", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetMinimumWidth",
|
||||
Type = "Function",
|
||||
SecretReturnsForAspect = { Enum.SecretAspect.MinimumWidth },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "width", Type = "number", Nilable = false },
|
||||
{ Name = "forced", Type = "bool", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetPadding",
|
||||
Type = "Function",
|
||||
SecretReturnsForAspect = { Enum.SecretAspect.Padding },
|
||||
|
||||
Arguments =
|
||||
{
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "right", Type = "number", Nilable = false },
|
||||
{ Name = "bottom", Type = "number", Nilable = false },
|
||||
{ Name = "left", Type = "number", Nilable = false },
|
||||
{ Name = "top", Type = "number", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "GetRightLine",
|
||||
Type = "Function",
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "line", Type = "luaIndex", Nilable = false },
|
||||
},
|
||||
|
||||
Returns =
|
||||
{
|
||||
{ Name = "rightFontString", Type = "SimpleFontString", Nilable = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetMinimumWidth",
|
||||
Type = "Function",
|
||||
SecretArgumentsAddAspect = { Enum.SecretAspect.MinimumWidth },
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "width", Type = "number", Nilable = false },
|
||||
{ Name = "force", Type = "bool", Nilable = false, Default = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetPadding",
|
||||
Type = "Function",
|
||||
SecretArgumentsAddAspect = { Enum.SecretAspect.Padding },
|
||||
SecretArguments = "AllowedWhenUntainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "right", Type = "number", Nilable = false },
|
||||
{ Name = "bottom", Type = "number", Nilable = false },
|
||||
{ Name = "left", Type = "number", Nilable = true },
|
||||
{ Name = "top", Type = "number", Nilable = true },
|
||||
},
|
||||
},
|
||||
{
|
||||
Name = "SetText",
|
||||
Type = "Function",
|
||||
SecretArgumentsAddAspect = { Enum.SecretAspect.Text },
|
||||
SecretArguments = "AllowedWhenTainted",
|
||||
|
||||
Arguments =
|
||||
{
|
||||
{ Name = "text", Type = "cstring", Nilable = false, ConditionalSecret = true },
|
||||
{ Name = "colorR", Type = "number", Nilable = false },
|
||||
{ Name = "colorG", Type = "number", Nilable = false },
|
||||
{ Name = "colorB", Type = "number", Nilable = false },
|
||||
{ Name = "alpha", Type = "number", Nilable = false, ConditionalSecret = true, Default = 1 },
|
||||
{ Name = "wrap", Type = "bool", Nilable = false, ConditionalSecret = true, Default = false },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Events =
|
||||
{
|
||||
},
|
||||
|
||||
Tables =
|
||||
{
|
||||
},
|
||||
|
||||
Predicates =
|
||||
{
|
||||
},
|
||||
};
|
||||
|
||||
APIDocumentation:AddDocumentationTable(FrameAPITooltip);
|
||||
Reference in New Issue
Block a user