local SimpleButtonAPI = { Name = "SimpleButtonAPI", Type = "ScriptObject", Environment = "All", Functions = { { Name = "ClearDisabledTexture", Type = "Function", Arguments = { }, }, { Name = "ClearHighlightTexture", Type = "Function", Arguments = { }, }, { Name = "ClearNormalTexture", Type = "Function", Arguments = { }, }, { Name = "ClearPushedTexture", Type = "Function", Arguments = { }, }, { Name = "Click", Type = "Function", SecretArguments = "NotAllowed", ChecksForbiddenAspects = { { Argument = "self", Aspect = Enum.ForbiddenAspect.ScriptedInput } }, Arguments = { { Name = "button", Type = "cstring", Nilable = false, Default = "LeftButton" }, { Name = "isDown", Type = "bool", Nilable = false, Default = false }, }, }, { Name = "Disable", Type = "Function", IsProtectedFunction = true, Arguments = { }, }, { Name = "Enable", Type = "Function", IsProtectedFunction = true, Arguments = { }, }, { Name = "GetButtonState", Type = "Function", SecretReturnsForAspect = { Enum.SecretAspect.ButtonState }, Arguments = { }, Returns = { { Name = "buttonState", Type = "SimpleButtonStateToken", Nilable = false }, }, }, { Name = "GetDisabledFontObject", Type = "Function", Arguments = { }, Returns = { { Name = "font", Type = "SimpleFont", Nilable = false }, }, }, { Name = "GetDisabledTexture", Type = "Function", Arguments = { }, Returns = { { Name = "texture", Type = "SimpleTexture", Nilable = false }, }, }, { Name = "GetFontString", Type = "Function", Arguments = { }, Returns = { { Name = "fontString", Type = "SimpleFontString", Nilable = false }, }, }, { Name = "GetHighlightFontObject", Type = "Function", Arguments = { }, Returns = { { Name = "font", Type = "SimpleFont", Nilable = false }, }, }, { Name = "GetHighlightTexture", Type = "Function", Arguments = { }, Returns = { { Name = "texture", Type = "SimpleTexture", Nilable = false }, }, }, { Name = "GetMotionScriptsWhileDisabled", Type = "Function", Arguments = { }, Returns = { { Name = "motionScriptsWhileDisabled", Type = "bool", Nilable = false }, }, }, { Name = "GetNormalFontObject", Type = "Function", Arguments = { }, Returns = { { Name = "font", Type = "SimpleFont", Nilable = false }, }, }, { Name = "GetNormalTexture", Type = "Function", Arguments = { }, Returns = { { Name = "texture", Type = "SimpleTexture", Nilable = false }, }, }, { Name = "GetPushedTextOffset", Type = "Function", Arguments = { }, Returns = { { Name = "offsetX", Type = "uiUnit", Nilable = false }, { Name = "offsetY", Type = "uiUnit", Nilable = false }, }, }, { Name = "GetPushedTexture", Type = "Function", Arguments = { }, Returns = { { Name = "texture", Type = "SimpleTexture", Nilable = false }, }, }, { Name = "GetText", Type = "Function", SecretReturnsForAspect = { Enum.SecretAspect.Text }, Arguments = { }, Returns = { { Name = "text", Type = "cstring", Nilable = false }, }, }, { Name = "GetTextHeight", Type = "Function", Arguments = { }, Returns = { { Name = "height", Type = "uiUnit", Nilable = false }, }, }, { Name = "GetTextWidth", Type = "Function", Arguments = { }, Returns = { { Name = "width", Type = "uiUnit", Nilable = false }, }, }, { Name = "IsEnabled", Type = "Function", SecretReturnsForAspect = { Enum.SecretAspect.ButtonState }, Arguments = { }, Returns = { { Name = "isEnabled", Type = "bool", Nilable = false }, }, }, { Name = "RegisterForClicks", Type = "Function", IsProtectedFunction = true, SecretArguments = "NotAllowed", Arguments = { { Name = "buttons", Type = "ClickButton", Nilable = false, StrideIndex = 1 }, }, }, { Name = "RegisterForMouse", Type = "Function", IsProtectedFunction = true, SecretArguments = "NotAllowed", Arguments = { { Name = "buttons", Type = "ClickButton", Nilable = false, StrideIndex = 1 }, }, }, { Name = "SetButtonState", Type = "Function", SecretArgumentsAddAspect = { Enum.SecretAspect.ButtonState }, SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "buttonState", Type = "SimpleButtonStateToken", Nilable = false }, { Name = "lock", Type = "bool", Nilable = false, Default = false }, }, }, { Name = "SetDisabledAtlas", Type = "Function", SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "atlas", Type = "textureAtlas", Nilable = false }, }, }, { Name = "SetDisabledFontObject", Type = "Function", SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "font", Type = "SimpleFont", Nilable = false }, }, }, { Name = "SetDisabledTexture", Type = "Function", CheckAllowChangeParent = true, SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "asset", Type = "TextureAsset", Nilable = false }, }, }, { Name = "SetEnabled", Type = "Function", IsProtectedFunction = true, SecretArgumentsAddAspect = { Enum.SecretAspect.ButtonState }, SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "enabled", Type = "bool", Nilable = false, Default = false }, }, }, { Name = "SetFontString", Type = "Function", CheckAllowChangeParent = true, SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "fontString", Type = "SimpleFontString", Nilable = false }, }, }, { Name = "SetFormattedText", Type = "Function", SecretArgumentsAddAspect = { Enum.SecretAspect.Text }, SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "text", Type = "cstring", Nilable = false }, }, }, { Name = "SetHighlightAtlas", Type = "Function", SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "atlas", Type = "textureAtlas", Nilable = false }, { Name = "blendMode", Type = "BlendMode", Nilable = true }, }, }, { Name = "SetHighlightFontObject", Type = "Function", SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "font", Type = "SimpleFont", Nilable = false }, }, }, { Name = "SetHighlightTexture", Type = "Function", CheckAllowChangeParent = true, SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "asset", Type = "TextureAsset", Nilable = false }, { Name = "blendMode", Type = "BlendMode", Nilable = true }, }, }, { Name = "SetMotionScriptsWhileDisabled", Type = "Function", SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "motionScriptsWhileDisabled", Type = "bool", Nilable = false }, }, }, { Name = "SetNormalAtlas", Type = "Function", SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "atlas", Type = "textureAtlas", Nilable = false }, }, }, { Name = "SetNormalFontObject", Type = "Function", SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "font", Type = "SimpleFont", Nilable = false }, }, }, { Name = "SetNormalTexture", Type = "Function", CheckAllowChangeParent = true, SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "asset", Type = "TextureAsset", Nilable = false }, }, }, { Name = "SetPushedAtlas", Type = "Function", SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "atlas", Type = "textureAtlas", Nilable = false }, }, }, { Name = "SetPushedTextOffset", Type = "Function", SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "offsetX", Type = "uiUnit", Nilable = false }, { Name = "offsetY", Type = "uiUnit", Nilable = false }, }, }, { Name = "SetPushedTexture", Type = "Function", CheckAllowChangeParent = true, SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "asset", Type = "TextureAsset", Nilable = false }, }, }, { Name = "SetText", Type = "Function", SecretArgumentsAddAspect = { Enum.SecretAspect.Text }, SecretArguments = "AllowedWhenUntainted", Arguments = { { Name = "text", Type = "cstring", Nilable = false, Default = "" }, }, }, }, Events = { }, Tables = { }, Predicates = { }, }; APIDocumentation:AddDocumentationTable(SimpleButtonAPI);