diff --git a/.gitignore b/.gitignore index 3ef4d07..c2c62df 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/luacov.*.out \ No newline at end of file +/luacov.*.out diff --git a/FEATURES.md b/FEATURES.md index d2f8bd4..56b1693 100644 --- a/FEATURES.md +++ b/FEATURES.md @@ -3,26 +3,6 @@ Lemur does not aim to provide full coverage of all Roblox APIs. Coverage progres This document should remain up-to-date with current API coverage and status. -## Implemented Enums -- ConnectionState -- DataStoreRequestType -- EasingDirection -- EasingStyle -- Font -- HorizontalAlignment -- Platform -- PlaybackState -- ScaleType -- ScrollingDirection -- SizeConstraint -- SortOrder -- TextXAlignment -- TextYAlignment -- ThumbnailSize -- ThumbnailType -- VerticalAlignment -- VirtualInputMode - ## Implemented Globals * require * script @@ -37,6 +17,7 @@ This document should remain up-to-date with current API coverage and status. * warn ## Implemented Types +* All Enums * Color3 * Color3.new() * Color3.new(r, g, b) diff --git a/lib/Enum/ActionType.lua b/lib/Enum/ActionType.lua new file mode 100644 index 0000000..4f54470 --- /dev/null +++ b/lib/Enum/ActionType.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("ActionType", { + Nothing = 0, + Pause = 1, + Lose = 2, + Draw = 3, + Win = 4, +}) diff --git a/lib/Enum/ActuatorRelativeTo.lua b/lib/Enum/ActuatorRelativeTo.lua new file mode 100644 index 0000000..fa963e7 --- /dev/null +++ b/lib/Enum/ActuatorRelativeTo.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("ActuatorRelativeTo", { + Attachment0 = 0, + Attachment1 = 1, + World = 2, +}) diff --git a/lib/Enum/ActuatorType.lua b/lib/Enum/ActuatorType.lua new file mode 100644 index 0000000..f9c5709 --- /dev/null +++ b/lib/Enum/ActuatorType.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("ActuatorType", { + None = 0, + Motor = 1, + Servo = 2, +}) diff --git a/lib/Enum/AlignType.lua b/lib/Enum/AlignType.lua new file mode 100644 index 0000000..586b3cd --- /dev/null +++ b/lib/Enum/AlignType.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("AlignType", { + Parallel = 0, + Perpendicular = 1, +}) diff --git a/lib/Enum/AnimationPriority.lua b/lib/Enum/AnimationPriority.lua new file mode 100644 index 0000000..125e0f3 --- /dev/null +++ b/lib/Enum/AnimationPriority.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("AnimationPriority", { + Idle = 0, + Movement = 1, + Action = 2, + Core = 1000, +}) diff --git a/lib/Enum/AppShellActionType.lua b/lib/Enum/AppShellActionType.lua new file mode 100644 index 0000000..953836c --- /dev/null +++ b/lib/Enum/AppShellActionType.lua @@ -0,0 +1,15 @@ +local createEnum = import("../createEnum") + +return createEnum("AppShellActionType", { + None = 0, + OpenApp = 1, + TapChatTab = 2, + TapConversationEntry = 3, + TapAvatarTab = 4, + ReadConversation = 5, + TapGamePageTab = 6, + TapHomePageTab = 7, + GamePageLoaded = 8, + HomePageLoaded = 9, + AvatarEditorPageLoaded = 10, +}) diff --git a/lib/Enum/AspectType.lua b/lib/Enum/AspectType.lua new file mode 100644 index 0000000..b8e7510 --- /dev/null +++ b/lib/Enum/AspectType.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("AspectType", { + FitWithinMaxSize = 0, + ScaleWithParentSize = 1, +}) diff --git a/lib/Enum/AssetFetchStatus.lua b/lib/Enum/AssetFetchStatus.lua new file mode 100644 index 0000000..ac16828 --- /dev/null +++ b/lib/Enum/AssetFetchStatus.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("AssetFetchStatus", { + Success = 0, + Failure = 1, +}) diff --git a/lib/Enum/AssetType.lua b/lib/Enum/AssetType.lua new file mode 100644 index 0000000..ecdfa85 --- /dev/null +++ b/lib/Enum/AssetType.lua @@ -0,0 +1,48 @@ +local createEnum = import("../createEnum") + +return createEnum("AssetType", { + Image = 1, + TeeShirt = 2, + Audio = 3, + Mesh = 4, + Lua = 5, + Hat = 8, + Place = 9, + Model = 10, + Shirt = 11, + Pants = 12, + Decal = 13, + Head = 17, + Face = 18, + Gear = 19, + Badge = 21, + Animation = 24, + Torso = 27, + RightArm = 28, + LeftArm = 29, + LeftLeg = 30, + RightLeg = 31, + Package = 32, + GamePass = 34, + Plugin = 38, + MeshPart = 40, + HairAccessory = 41, + FaceAccessory = 42, + NeckAccessory = 43, + ShoulderAccessory = 44, + FrontAccessory = 45, + BackAccessory = 46, + WaistAccessory = 47, + ClimbAnimation = 48, + DeathAnimation = 49, + FallAnimation = 50, + IdleAnimation = 51, + JumpAnimation = 52, + RunAnimation = 53, + SwimAnimation = 54, + WalkAnimation = 55, + PoseAnimation = 56, + EarAccessory = 57, + EyeAccessory = 58, + EmoteAnimation = 61, +}) diff --git a/lib/Enum/AvatarContextMenuOption.lua b/lib/Enum/AvatarContextMenuOption.lua new file mode 100644 index 0000000..c2f38a1 --- /dev/null +++ b/lib/Enum/AvatarContextMenuOption.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("AvatarContextMenuOption", { + Friend = 0, + Chat = 1, + Emote = 2, + InspectMenu = 3, +}) diff --git a/lib/Enum/AvatarJointPositionType.lua b/lib/Enum/AvatarJointPositionType.lua new file mode 100644 index 0000000..e12f09e --- /dev/null +++ b/lib/Enum/AvatarJointPositionType.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("AvatarJointPositionType", { + Fixed = 0, + ArtistIntent = 1, +}) diff --git a/lib/Enum/Axis.lua b/lib/Enum/Axis.lua new file mode 100644 index 0000000..68dd76b --- /dev/null +++ b/lib/Enum/Axis.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("Axis", { + X = 0, + Y = 1, + Z = 2, +}) diff --git a/lib/Enum/BinType.lua b/lib/Enum/BinType.lua new file mode 100644 index 0000000..23722ff --- /dev/null +++ b/lib/Enum/BinType.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("BinType", { + Script = 0, + GameTool = 1, + Grab = 2, + Clone = 3, + Hammer = 4, +}) diff --git a/lib/Enum/BodyPart.lua b/lib/Enum/BodyPart.lua new file mode 100644 index 0000000..23a78bb --- /dev/null +++ b/lib/Enum/BodyPart.lua @@ -0,0 +1,10 @@ +local createEnum = import("../createEnum") + +return createEnum("BodyPart", { + Head = 0, + Torso = 1, + LeftArm = 2, + RightArm = 3, + LeftLeg = 4, + RightLeg = 5, +}) diff --git a/lib/Enum/BodyPartR15.lua b/lib/Enum/BodyPartR15.lua new file mode 100644 index 0000000..012b392 --- /dev/null +++ b/lib/Enum/BodyPartR15.lua @@ -0,0 +1,21 @@ +local createEnum = import("../createEnum") + +return createEnum("BodyPartR15", { + Head = 0, + UpperTorso = 1, + LowerTorso = 2, + LeftFoot = 3, + LeftLowerLeg = 4, + LeftUpperLeg = 5, + RightFoot = 6, + RightLowerLeg = 7, + RightUpperLeg = 8, + LeftHand = 9, + LeftLowerArm = 10, + LeftUpperArm = 11, + RightHand = 12, + RightLowerArm = 13, + RightUpperArm = 14, + RootPart = 15, + Unknown = 17, +}) diff --git a/lib/Enum/BorderMode.lua b/lib/Enum/BorderMode.lua new file mode 100644 index 0000000..a6340fe --- /dev/null +++ b/lib/Enum/BorderMode.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("BorderMode", { + Outline = 0, + Middle = 1, + Inset = 2, +}) diff --git a/lib/Enum/BreakReason.lua b/lib/Enum/BreakReason.lua new file mode 100644 index 0000000..ed295a1 --- /dev/null +++ b/lib/Enum/BreakReason.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("BreakReason", { + Other = 0, + Error = 1, + UserBreakpoint = 3, + SpecialBreakpoint = 2, +}) diff --git a/lib/Enum/Button.lua b/lib/Enum/Button.lua new file mode 100644 index 0000000..bdaf719 --- /dev/null +++ b/lib/Enum/Button.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("Button", { + Jump = 32, + Dismount = 8, +}) diff --git a/lib/Enum/ButtonStyle.lua b/lib/Enum/ButtonStyle.lua new file mode 100644 index 0000000..239f3a5 --- /dev/null +++ b/lib/Enum/ButtonStyle.lua @@ -0,0 +1,10 @@ +local createEnum = import("../createEnum") + +return createEnum("ButtonStyle", { + Custom = 0, + RobloxButtonDefault = 1, + RobloxButton = 2, + RobloxRoundButton = 3, + RobloxRoundDefaultButton = 4, + RobloxRoundDropdownButton = 5, +}) diff --git a/lib/Enum/CameraMode.lua b/lib/Enum/CameraMode.lua new file mode 100644 index 0000000..de4224c --- /dev/null +++ b/lib/Enum/CameraMode.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("CameraMode", { + Classic = 0, + LockFirstPerson = 1, +}) diff --git a/lib/Enum/CameraPanMode.lua b/lib/Enum/CameraPanMode.lua new file mode 100644 index 0000000..d6bc784 --- /dev/null +++ b/lib/Enum/CameraPanMode.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("CameraPanMode", { + Classic = 0, + EdgeBump = 1, +}) diff --git a/lib/Enum/CameraType.lua b/lib/Enum/CameraType.lua new file mode 100644 index 0000000..1948dbc --- /dev/null +++ b/lib/Enum/CameraType.lua @@ -0,0 +1,12 @@ +local createEnum = import("../createEnum") + +return createEnum("CameraType", { + Fixed = 0, + Watch = 2, + Attach = 1, + Track = 3, + Follow = 4, + Custom = 5, + Scriptable = 6, + Orbital = 7, +}) diff --git a/lib/Enum/CellBlock.lua b/lib/Enum/CellBlock.lua new file mode 100644 index 0000000..7777e49 --- /dev/null +++ b/lib/Enum/CellBlock.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("CellBlock", { + Solid = 0, + VerticalWedge = 1, + CornerWedge = 2, + InverseCornerWedge = 3, + HorizontalWedge = 4, +}) diff --git a/lib/Enum/CellMaterial.lua b/lib/Enum/CellMaterial.lua new file mode 100644 index 0000000..f671727 --- /dev/null +++ b/lib/Enum/CellMaterial.lua @@ -0,0 +1,22 @@ +local createEnum = import("../createEnum") + +return createEnum("CellMaterial", { + Empty = 0, + Grass = 1, + Sand = 2, + Brick = 3, + Granite = 4, + Asphalt = 5, + Iron = 6, + Aluminum = 7, + Gold = 8, + WoodPlank = 9, + WoodLog = 10, + Gravel = 11, + CinderBlock = 12, + MossyStone = 13, + Cement = 14, + RedPlastic = 15, + BluePlastic = 16, + Water = 17, +}) diff --git a/lib/Enum/CellOrientation.lua b/lib/Enum/CellOrientation.lua new file mode 100644 index 0000000..551af5e --- /dev/null +++ b/lib/Enum/CellOrientation.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("CellOrientation", { + NegZ = 0, + X = 1, + Z = 2, + NegX = 3, +}) diff --git a/lib/Enum/CenterDialogType.lua b/lib/Enum/CenterDialogType.lua new file mode 100644 index 0000000..71dd4a1 --- /dev/null +++ b/lib/Enum/CenterDialogType.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("CenterDialogType", { + UnsolicitedDialog = 1, + PlayerInitiatedDialog = 2, + ModalDialog = 3, + QuitDialog = 4, +}) diff --git a/lib/Enum/ChatCallbackType.lua b/lib/Enum/ChatCallbackType.lua new file mode 100644 index 0000000..c20d068 --- /dev/null +++ b/lib/Enum/ChatCallbackType.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("ChatCallbackType", { + OnCreatingChatWindow = 1, + OnClientSendingMessage = 2, + OnClientFormattingMessage = 3, + OnServerReceivingMessage = 17, +}) diff --git a/lib/Enum/ChatColor.lua b/lib/Enum/ChatColor.lua new file mode 100644 index 0000000..432c944 --- /dev/null +++ b/lib/Enum/ChatColor.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("ChatColor", { + Blue = 0, + Green = 1, + Red = 2, + White = 3, +}) diff --git a/lib/Enum/ChatMode.lua b/lib/Enum/ChatMode.lua new file mode 100644 index 0000000..99c7b1c --- /dev/null +++ b/lib/Enum/ChatMode.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("ChatMode", { + Menu = 0, + TextAndMenu = 1, +}) diff --git a/lib/Enum/ChatPrivacyMode.lua b/lib/Enum/ChatPrivacyMode.lua new file mode 100644 index 0000000..2a9041f --- /dev/null +++ b/lib/Enum/ChatPrivacyMode.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("ChatPrivacyMode", { + AllUsers = 0, + NoOne = 1, + Friends = 2, +}) diff --git a/lib/Enum/ChatStyle.lua b/lib/Enum/ChatStyle.lua new file mode 100644 index 0000000..c8b3e8b --- /dev/null +++ b/lib/Enum/ChatStyle.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("ChatStyle", { + Classic = 0, + Bubble = 1, + ClassicAndBubble = 2, +}) diff --git a/lib/Enum/CollisionFidelity.lua b/lib/Enum/CollisionFidelity.lua new file mode 100644 index 0000000..8a65eba --- /dev/null +++ b/lib/Enum/CollisionFidelity.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("CollisionFidelity", { + Default = 0, + Hull = 1, + Box = 2, +}) diff --git a/lib/Enum/ComputerCameraMovementMode.lua b/lib/Enum/ComputerCameraMovementMode.lua new file mode 100644 index 0000000..068c00e --- /dev/null +++ b/lib/Enum/ComputerCameraMovementMode.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("ComputerCameraMovementMode", { + Default = 0, + Follow = 2, + Classic = 1, + Orbital = 3, +}) diff --git a/lib/Enum/ComputerMovementMode.lua b/lib/Enum/ComputerMovementMode.lua new file mode 100644 index 0000000..5947869 --- /dev/null +++ b/lib/Enum/ComputerMovementMode.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("ComputerMovementMode", { + Default = 0, + KeyboardMouse = 1, + ClickToMove = 2, +}) diff --git a/lib/Enum/ConnectionError.lua b/lib/Enum/ConnectionError.lua new file mode 100644 index 0000000..47d5ba8 --- /dev/null +++ b/lib/Enum/ConnectionError.lua @@ -0,0 +1,55 @@ +local createEnum = import("../createEnum") + +return createEnum("ConnectionError", { + OK = 0, + DisconnectErrors = 256, + DisconnectBadhash = 257, + DisconnectSecurityKeyMismatch = 258, + DisconnectNewSecurityKeyMismatch = 272, + DisconnectProtocolMismatch = 259, + DisconnectReceivePacketError = 260, + DisconnectReceivePacketStreamError = 261, + DisconnectSendPacketError = 262, + DisconnectIllegalTeleport = 263, + DisconnectDuplicatePlayer = 264, + DisconnectDuplicateTicket = 265, + DisconnectTimeout = 266, + DisconnectLuaKick = 267, + DisconnectOnRemoteSysStats = 268, + DisconnectHashTimeout = 269, + DisconnectCloudEditKick = 270, + DisconnectPlayerless = 271, + DisconnectEvicted = 273, + DisconnectDevMaintenance = 274, + DisconnectRobloxMaintenance = 275, + DisconnectRejoin = 276, + DisconnectConnectionLost = 277, + DisconnectIdle = 278, + DisconnectRaknetErrors = 279, + DisconnectWrongVersion = 280, + DisconnectBySecurityPolicy = 281, + DisconnectBlockedIP = 282, + PlacelaunchErrors = 512, + PlacelaunchDisabled = 515, + PlacelaunchError = 516, + PlacelaunchGameEnded = 517, + PlacelaunchGameFull = 518, + PlacelaunchUserLeft = 522, + PlacelaunchRestricted = 523, + PlacelaunchUnauthorized = 524, + PlacelaunchFlooded = 525, + PlacelaunchHashExpired = 526, + PlacelaunchHashException = 527, + PlacelaunchPartyCannotFit = 528, + PlacelaunchHttpError = 529, + PlacelaunchCustomMessage = 610, + PlacelaunchOtherError = 611, + TeleportErrors = 768, + TeleportFailure = 769, + TeleportGameNotFound = 770, + TeleportGameEnded = 771, + TeleportGameFull = 772, + TeleportUnauthorized = 773, + TeleportFlooded = 774, + TeleportIsTeleporting = 775, +}) diff --git a/lib/Enum/ConnectionState.lua b/lib/Enum/ConnectionState.lua index 497e060..cd22513 100644 --- a/lib/Enum/ConnectionState.lua +++ b/lib/Enum/ConnectionState.lua @@ -1,6 +1,6 @@ local createEnum = import("../createEnum") return createEnum("ConnectionState", { - CONNECTED = 0, - DISCONNECTED = 1, -}) \ No newline at end of file + Connected = 0, + Disconnected = 1, +}) diff --git a/lib/Enum/ContextActionPriority.lua b/lib/Enum/ContextActionPriority.lua new file mode 100644 index 0000000..161908c --- /dev/null +++ b/lib/Enum/ContextActionPriority.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("ContextActionPriority", { + Low = 1000, + Medium = 2000, + Default = 2000, + High = 3000, +}) diff --git a/lib/Enum/ContextActionResult.lua b/lib/Enum/ContextActionResult.lua new file mode 100644 index 0000000..1eca12c --- /dev/null +++ b/lib/Enum/ContextActionResult.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("ContextActionResult", { + Pass = 1, + Sink = 0, +}) diff --git a/lib/Enum/ControlMode.lua b/lib/Enum/ControlMode.lua new file mode 100644 index 0000000..426452b --- /dev/null +++ b/lib/Enum/ControlMode.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("ControlMode", { + MouseLockSwitch = 1, + Classic = 0, +}) diff --git a/lib/Enum/CoreGuiType.lua b/lib/Enum/CoreGuiType.lua new file mode 100644 index 0000000..8414bd3 --- /dev/null +++ b/lib/Enum/CoreGuiType.lua @@ -0,0 +1,10 @@ +local createEnum = import("../createEnum") + +return createEnum("CoreGuiType", { + PlayerList = 0, + Health = 1, + Backpack = 2, + Chat = 3, + All = 4, + EmotesMenu = 5, +}) diff --git a/lib/Enum/CreatorType.lua b/lib/Enum/CreatorType.lua index bd5939b..44b3ffa 100644 --- a/lib/Enum/CreatorType.lua +++ b/lib/Enum/CreatorType.lua @@ -3,4 +3,4 @@ local createEnum = import("../createEnum") return createEnum("CreatorType", { User = 0, Group = 1, -}) \ No newline at end of file +}) diff --git a/lib/Enum/CurrencyType.lua b/lib/Enum/CurrencyType.lua new file mode 100644 index 0000000..ebf9aee --- /dev/null +++ b/lib/Enum/CurrencyType.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("CurrencyType", { + Default = 0, + Robux = 1, + Tix = 2, +}) diff --git a/lib/Enum/CustomCameraMode.lua b/lib/Enum/CustomCameraMode.lua new file mode 100644 index 0000000..9f7bb23 --- /dev/null +++ b/lib/Enum/CustomCameraMode.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("CustomCameraMode", { + Default = 0, + Follow = 2, + Classic = 1, +}) diff --git a/lib/Enum/DataStoreRequestType.lua b/lib/Enum/DataStoreRequestType.lua index 2e93693..6ddf0be 100644 --- a/lib/Enum/DataStoreRequestType.lua +++ b/lib/Enum/DataStoreRequestType.lua @@ -1,10 +1,10 @@ -local createEnum = import("../createEnum") - -return createEnum("DataStoreRequestType", { - GetAsync = 0, - SetIncrementAsync = 1, - UpdateAsync = 2, - GetSortedAsync = 3, - SetIncrementSortedAsync = 4, - OnUpdate = 5 -}) \ No newline at end of file +local createEnum = import("../createEnum") + +return createEnum("DataStoreRequestType", { + GetAsync = 0, + SetIncrementAsync = 1, + UpdateAsync = 2, + GetSortedAsync = 3, + SetIncrementSortedAsync = 4, + OnUpdate = 5, +}) diff --git a/lib/Enum/DevCameraOcclusionMode.lua b/lib/Enum/DevCameraOcclusionMode.lua new file mode 100644 index 0000000..fd20cad --- /dev/null +++ b/lib/Enum/DevCameraOcclusionMode.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("DevCameraOcclusionMode", { + Zoom = 0, + Invisicam = 1, +}) diff --git a/lib/Enum/DevComputerCameraMovementMode.lua b/lib/Enum/DevComputerCameraMovementMode.lua new file mode 100644 index 0000000..b690a24 --- /dev/null +++ b/lib/Enum/DevComputerCameraMovementMode.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("DevComputerCameraMovementMode", { + UserChoice = 0, + Classic = 1, + Follow = 2, + Orbital = 3, +}) diff --git a/lib/Enum/DevComputerMovementMode.lua b/lib/Enum/DevComputerMovementMode.lua new file mode 100644 index 0000000..5197ab0 --- /dev/null +++ b/lib/Enum/DevComputerMovementMode.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("DevComputerMovementMode", { + UserChoice = 0, + KeyboardMouse = 1, + ClickToMove = 2, + Scriptable = 3, +}) diff --git a/lib/Enum/DevTouchCameraMovementMode.lua b/lib/Enum/DevTouchCameraMovementMode.lua new file mode 100644 index 0000000..fd68ba2 --- /dev/null +++ b/lib/Enum/DevTouchCameraMovementMode.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("DevTouchCameraMovementMode", { + UserChoice = 0, + Classic = 1, + Follow = 2, + Orbital = 3, +}) diff --git a/lib/Enum/DevTouchMovementMode.lua b/lib/Enum/DevTouchMovementMode.lua new file mode 100644 index 0000000..5eef02b --- /dev/null +++ b/lib/Enum/DevTouchMovementMode.lua @@ -0,0 +1,11 @@ +local createEnum = import("../createEnum") + +return createEnum("DevTouchMovementMode", { + UserChoice = 0, + Thumbstick = 1, + DPad = 2, + Thumbpad = 3, + ClickToMove = 4, + Scriptable = 5, + DynamicThumbstick = 6, +}) diff --git a/lib/Enum/DeveloperMemoryTag.lua b/lib/Enum/DeveloperMemoryTag.lua new file mode 100644 index 0000000..b5af7a7 --- /dev/null +++ b/lib/Enum/DeveloperMemoryTag.lua @@ -0,0 +1,26 @@ +local createEnum = import("../createEnum") + +return createEnum("DeveloperMemoryTag", { + Internal = 0, + HttpCache = 1, + Instances = 2, + Signals = 3, + LuaHeap = 4, + Script = 5, + PhysicsCollision = 6, + PhysicsParts = 7, + GraphicsSolidModels = 8, + GraphicsMeshParts = 9, + GraphicsParticles = 10, + GraphicsParts = 11, + GraphicsSpatialHash = 12, + GraphicsTerrain = 13, + GraphicsTexture = 14, + GraphicsTextureCharacter = 15, + Sounds = 16, + StreamingSounds = 17, + TerrainVoxels = 18, + Gui = 20, + Animation = 21, + Navigation = 22, +}) diff --git a/lib/Enum/DeviceType.lua b/lib/Enum/DeviceType.lua new file mode 100644 index 0000000..3bc0f77 --- /dev/null +++ b/lib/Enum/DeviceType.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("DeviceType", { + Unknown = 0, + Desktop = 1, + Tablet = 2, + Phone = 3, +}) diff --git a/lib/Enum/DialogBehaviorType.lua b/lib/Enum/DialogBehaviorType.lua new file mode 100644 index 0000000..5bc0328 --- /dev/null +++ b/lib/Enum/DialogBehaviorType.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("DialogBehaviorType", { + SinglePlayer = 0, + MultiplePlayers = 1, +}) diff --git a/lib/Enum/DialogPurpose.lua b/lib/Enum/DialogPurpose.lua new file mode 100644 index 0000000..1aaf038 --- /dev/null +++ b/lib/Enum/DialogPurpose.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("DialogPurpose", { + Quest = 0, + Help = 1, + Shop = 2, +}) diff --git a/lib/Enum/DialogTone.lua b/lib/Enum/DialogTone.lua new file mode 100644 index 0000000..6f11f56 --- /dev/null +++ b/lib/Enum/DialogTone.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("DialogTone", { + Neutral = 0, + Friendly = 1, + Enemy = 2, +}) diff --git a/lib/Enum/DominantAxis.lua b/lib/Enum/DominantAxis.lua new file mode 100644 index 0000000..9a15b30 --- /dev/null +++ b/lib/Enum/DominantAxis.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("DominantAxis", { + Width = 0, + Height = 1, +}) diff --git a/lib/Enum/DraftStatusCode.lua b/lib/Enum/DraftStatusCode.lua new file mode 100644 index 0000000..27337bb --- /dev/null +++ b/lib/Enum/DraftStatusCode.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("DraftStatusCode", { + OK = 0, + DraftOutdated = 1, + ScriptRemoved = 2, +}) diff --git a/lib/Enum/EasingDirection.lua b/lib/Enum/EasingDirection.lua index 06a51ee..cfcce8e 100644 --- a/lib/Enum/EasingDirection.lua +++ b/lib/Enum/EasingDirection.lua @@ -4,4 +4,4 @@ return createEnum("EasingDirection", { In = 0, Out = 1, InOut = 2, -}) \ No newline at end of file +}) diff --git a/lib/Enum/EasingStyle.lua b/lib/Enum/EasingStyle.lua index 9610fa6..008cba6 100644 --- a/lib/Enum/EasingStyle.lua +++ b/lib/Enum/EasingStyle.lua @@ -9,4 +9,7 @@ return createEnum("EasingStyle", { Quint = 5, Bounce = 6, Elastic = 7, -}) \ No newline at end of file + Exponential = 8, + Circular = 9, + Cubic = 10, +}) diff --git a/lib/Enum/ElasticBehavior.lua b/lib/Enum/ElasticBehavior.lua new file mode 100644 index 0000000..2b3ba0d --- /dev/null +++ b/lib/Enum/ElasticBehavior.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("ElasticBehavior", { + WhenScrollable = 0, + Always = 1, + Never = 2, +}) diff --git a/lib/Enum/EnviromentalPhysicsThrottle.lua b/lib/Enum/EnviromentalPhysicsThrottle.lua new file mode 100644 index 0000000..4cd8bd5 --- /dev/null +++ b/lib/Enum/EnviromentalPhysicsThrottle.lua @@ -0,0 +1,11 @@ +local createEnum = import("../createEnum") + +return createEnum("EnviromentalPhysicsThrottle", { + DefaultAuto = 0, + Disabled = 1, + Always = 2, + Skip2 = 3, + Skip4 = 4, + Skip8 = 5, + Skip16 = 6, +}) diff --git a/lib/Enum/ErrorReporting.lua b/lib/Enum/ErrorReporting.lua new file mode 100644 index 0000000..31db5f2 --- /dev/null +++ b/lib/Enum/ErrorReporting.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("ErrorReporting", { + DontReport = 0, + Prompt = 1, + Report = 2, +}) diff --git a/lib/Enum/ExplosionType.lua b/lib/Enum/ExplosionType.lua new file mode 100644 index 0000000..3c23aab --- /dev/null +++ b/lib/Enum/ExplosionType.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("ExplosionType", { + NoCraters = 0, + Craters = 1, + CratersAndDebris = 2, +}) diff --git a/lib/Enum/FillDirection.lua b/lib/Enum/FillDirection.lua index a79e21d..67ca17c 100644 --- a/lib/Enum/FillDirection.lua +++ b/lib/Enum/FillDirection.lua @@ -3,4 +3,4 @@ local createEnum = import("../createEnum") return createEnum("FillDirection", { Horizontal = 0, Vertical = 1, -}) \ No newline at end of file +}) diff --git a/lib/Enum/FilterResult.lua b/lib/Enum/FilterResult.lua new file mode 100644 index 0000000..a95d01b --- /dev/null +++ b/lib/Enum/FilterResult.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("FilterResult", { + Rejected = 1, + Accepted = 0, +}) diff --git a/lib/Enum/Font.lua b/lib/Enum/Font.lua index aec8be6..997679c 100644 --- a/lib/Enum/Font.lua +++ b/lib/Enum/Font.lua @@ -6,6 +6,7 @@ return createEnum("Font", { ArialBold = 2, SourceSans = 3, SourceSansBold = 4, + SourceSansSemibold = 16, SourceSansLight = 5, SourceSansItalic = 6, Bodoni = 7, @@ -13,11 +14,12 @@ return createEnum("Font", { Cartoon = 9, Code = 10, Highway = 11, - Scifi = 12, + SciFi = 12, Arcade = 13, Fantasy = 14, Antique = 15, - SourceSansSemiBold = 16, - Count = 17, - Fallback = 17, -}) \ No newline at end of file + Gotham = 17, + GothamSemibold = 18, + GothamBold = 19, + GothamBlack = 20, +}) diff --git a/lib/Enum/FontSize.lua b/lib/Enum/FontSize.lua new file mode 100644 index 0000000..d0a1aee --- /dev/null +++ b/lib/Enum/FontSize.lua @@ -0,0 +1,19 @@ +local createEnum = import("../createEnum") + +return createEnum("FontSize", { + Size8 = 0, + Size9 = 1, + Size10 = 2, + Size11 = 3, + Size12 = 4, + Size14 = 5, + Size18 = 6, + Size24 = 7, + Size36 = 8, + Size48 = 9, + Size28 = 10, + Size32 = 11, + Size42 = 12, + Size60 = 13, + Size96 = 14, +}) diff --git a/lib/Enum/FormFactor.lua b/lib/Enum/FormFactor.lua new file mode 100644 index 0000000..f862360 --- /dev/null +++ b/lib/Enum/FormFactor.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("FormFactor", { + Symmetric = 0, + Brick = 1, + Plate = 2, + Custom = 3, +}) diff --git a/lib/Enum/FrameStyle.lua b/lib/Enum/FrameStyle.lua new file mode 100644 index 0000000..3501460 --- /dev/null +++ b/lib/Enum/FrameStyle.lua @@ -0,0 +1,11 @@ +local createEnum = import("../createEnum") + +return createEnum("FrameStyle", { + Custom = 0, + ChatBlue = 1, + RobloxSquare = 2, + RobloxRound = 3, + ChatGreen = 4, + ChatRed = 5, + DropShadow = 6, +}) diff --git a/lib/Enum/FramerateManagerMode.lua b/lib/Enum/FramerateManagerMode.lua new file mode 100644 index 0000000..8ff6304 --- /dev/null +++ b/lib/Enum/FramerateManagerMode.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("FramerateManagerMode", { + Automatic = 0, + On = 1, + Off = 2, +}) diff --git a/lib/Enum/FriendRequestEvent.lua b/lib/Enum/FriendRequestEvent.lua new file mode 100644 index 0000000..8a1154a --- /dev/null +++ b/lib/Enum/FriendRequestEvent.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("FriendRequestEvent", { + Issue = 0, + Revoke = 1, + Accept = 2, + Deny = 3, +}) diff --git a/lib/Enum/FriendStatus.lua b/lib/Enum/FriendStatus.lua new file mode 100644 index 0000000..a7afe87 --- /dev/null +++ b/lib/Enum/FriendStatus.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("FriendStatus", { + Unknown = 0, + NotFriend = 1, + Friend = 2, + FriendRequestSent = 3, + FriendRequestReceived = 4, +}) diff --git a/lib/Enum/FunctionalTestResult.lua b/lib/Enum/FunctionalTestResult.lua new file mode 100644 index 0000000..4fede11 --- /dev/null +++ b/lib/Enum/FunctionalTestResult.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("FunctionalTestResult", { + Passed = 0, + Warning = 1, + Error = 2, +}) diff --git a/lib/Enum/GameAvatarType.lua b/lib/Enum/GameAvatarType.lua new file mode 100644 index 0000000..c817900 --- /dev/null +++ b/lib/Enum/GameAvatarType.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("GameAvatarType", { + R6 = 0, + R15 = 1, + PlayerChoice = 2, +}) diff --git a/lib/Enum/GearGenreSetting.lua b/lib/Enum/GearGenreSetting.lua new file mode 100644 index 0000000..e6eecc7 --- /dev/null +++ b/lib/Enum/GearGenreSetting.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("GearGenreSetting", { + AllGenres = 0, + MatchingGenreOnly = 1, +}) diff --git a/lib/Enum/GearType.lua b/lib/Enum/GearType.lua new file mode 100644 index 0000000..a79a747 --- /dev/null +++ b/lib/Enum/GearType.lua @@ -0,0 +1,13 @@ +local createEnum = import("../createEnum") + +return createEnum("GearType", { + MeleeWeapons = 0, + RangedWeapons = 1, + Explosives = 2, + PowerUps = 3, + NavigationEnhancers = 4, + MusicalInstruments = 5, + SocialItems = 6, + BuildingTools = 7, + Transport = 8, +}) diff --git a/lib/Enum/Genre.lua b/lib/Enum/Genre.lua new file mode 100644 index 0000000..b0b4335 --- /dev/null +++ b/lib/Enum/Genre.lua @@ -0,0 +1,18 @@ +local createEnum = import("../createEnum") + +return createEnum("Genre", { + All = 0, + TownAndCity = 1, + Fantasy = 2, + SciFi = 3, + Ninja = 4, + Scary = 5, + Pirate = 6, + Adventure = 7, + Sports = 8, + Funny = 9, + WildWest = 10, + War = 11, + SkatePark = 12, + Tutorial = 13, +}) diff --git a/lib/Enum/GraphicsMode.lua b/lib/Enum/GraphicsMode.lua new file mode 100644 index 0000000..b239c1b --- /dev/null +++ b/lib/Enum/GraphicsMode.lua @@ -0,0 +1,11 @@ +local createEnum = import("../createEnum") + +return createEnum("GraphicsMode", { + Automatic = 1, + Direct3D9 = 3, + Direct3D11 = 2, + OpenGL = 4, + Metal = 5, + Vulkan = 6, + NoGraphics = 7, +}) diff --git a/lib/Enum/HandlesStyle.lua b/lib/Enum/HandlesStyle.lua new file mode 100644 index 0000000..65e2e95 --- /dev/null +++ b/lib/Enum/HandlesStyle.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("HandlesStyle", { + Resize = 0, + Movement = 1, +}) diff --git a/lib/Enum/HorizontalAlignment.lua b/lib/Enum/HorizontalAlignment.lua index 5cfd88b..0bd9691 100644 --- a/lib/Enum/HorizontalAlignment.lua +++ b/lib/Enum/HorizontalAlignment.lua @@ -4,4 +4,4 @@ return createEnum("HorizontalAlignment", { Center = 0, Left = 1, Right = 2, -}) \ No newline at end of file +}) diff --git a/lib/Enum/HoverAnimateSpeed.lua b/lib/Enum/HoverAnimateSpeed.lua new file mode 100644 index 0000000..3333fc4 --- /dev/null +++ b/lib/Enum/HoverAnimateSpeed.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("HoverAnimateSpeed", { + VerySlow = 0, + Slow = 1, + Medium = 2, + Fast = 3, + VeryFast = 4, +}) diff --git a/lib/Enum/HttpCachePolicy.lua b/lib/Enum/HttpCachePolicy.lua new file mode 100644 index 0000000..565af15 --- /dev/null +++ b/lib/Enum/HttpCachePolicy.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("HttpCachePolicy", { + None = 0, + Full = 1, + DataOnly = 2, + Default = 3, + InternalRedirectRefresh = 4, +}) diff --git a/lib/Enum/HttpContentType.lua b/lib/Enum/HttpContentType.lua index e892608..3c32b3e 100644 --- a/lib/Enum/HttpContentType.lua +++ b/lib/Enum/HttpContentType.lua @@ -1,12 +1,9 @@ local createEnum = import("../createEnum") -return createEnum( - "HttpContentType", - { - ApplicationJson = 0, - ApplicationXml = 1, - ApplicationUrlEncoded = 2, - TextPlain = 3, - TextXml = 4, - } -) +return createEnum("HttpContentType", { + ApplicationJson = 0, + ApplicationXml = 1, + ApplicationUrlEncoded = 2, + TextPlain = 3, + TextXml = 4, +}) diff --git a/lib/Enum/HttpError.lua b/lib/Enum/HttpError.lua new file mode 100644 index 0000000..9da65b1 --- /dev/null +++ b/lib/Enum/HttpError.lua @@ -0,0 +1,16 @@ +local createEnum = import("../createEnum") + +return createEnum("HttpError", { + OK = 0, + InvalidUrl = 1, + DnsResolve = 2, + ConnectFail = 3, + OutOfMemory = 4, + TimedOut = 5, + TooManyRedirects = 6, + InvalidRedirect = 7, + NetFail = 8, + Aborted = 9, + SslConnectFail = 10, + Unknown = 11, +}) diff --git a/lib/Enum/HttpRequestType.lua b/lib/Enum/HttpRequestType.lua new file mode 100644 index 0000000..359e66d --- /dev/null +++ b/lib/Enum/HttpRequestType.lua @@ -0,0 +1,11 @@ +local createEnum = import("../createEnum") + +return createEnum("HttpRequestType", { + Default = 0, + MarketplaceService = 2, + Players = 7, + Chat = 15, + Avatar = 16, + Analytics = 22, + Localization = 24, +}) diff --git a/lib/Enum/HumanoidCollisionType.lua b/lib/Enum/HumanoidCollisionType.lua new file mode 100644 index 0000000..e231ad4 --- /dev/null +++ b/lib/Enum/HumanoidCollisionType.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("HumanoidCollisionType", { + OuterBox = 0, + InnerBox = 1, +}) diff --git a/lib/Enum/HumanoidDisplayDistanceType.lua b/lib/Enum/HumanoidDisplayDistanceType.lua new file mode 100644 index 0000000..92bbc2a --- /dev/null +++ b/lib/Enum/HumanoidDisplayDistanceType.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("HumanoidDisplayDistanceType", { + Viewer = 0, + Subject = 1, + None = 2, +}) diff --git a/lib/Enum/HumanoidHealthDisplayType.lua b/lib/Enum/HumanoidHealthDisplayType.lua new file mode 100644 index 0000000..c5d821a --- /dev/null +++ b/lib/Enum/HumanoidHealthDisplayType.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("HumanoidHealthDisplayType", { + DisplayWhenDamaged = 0, + AlwaysOn = 1, + AlwaysOff = 2, +}) diff --git a/lib/Enum/HumanoidRigType.lua b/lib/Enum/HumanoidRigType.lua new file mode 100644 index 0000000..61b0ac1 --- /dev/null +++ b/lib/Enum/HumanoidRigType.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("HumanoidRigType", { + R6 = 0, + R15 = 1, +}) diff --git a/lib/Enum/HumanoidStateType.lua b/lib/Enum/HumanoidStateType.lua new file mode 100644 index 0000000..976930a --- /dev/null +++ b/lib/Enum/HumanoidStateType.lua @@ -0,0 +1,21 @@ +local createEnum = import("../createEnum") + +return createEnum("HumanoidStateType", { + FallingDown = 0, + Running = 8, + RunningNoPhysics = 10, + Climbing = 12, + StrafingNoPhysics = 11, + Ragdoll = 1, + GettingUp = 2, + Jumping = 3, + Landed = 7, + Flying = 6, + Freefall = 5, + Seated = 13, + PlatformStanding = 14, + Dead = 15, + Swimming = 4, + Physics = 16, + None = 18, +}) diff --git a/lib/Enum/InOut.lua b/lib/Enum/InOut.lua new file mode 100644 index 0000000..38f47fc --- /dev/null +++ b/lib/Enum/InOut.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("InOut", { + Edge = 0, + Inset = 1, + Center = 2, +}) diff --git a/lib/Enum/InfoType.lua b/lib/Enum/InfoType.lua index 9e39645..dcd2a50 100644 --- a/lib/Enum/InfoType.lua +++ b/lib/Enum/InfoType.lua @@ -1,7 +1,9 @@ -local createEnum = import("../createEnum") - -return createEnum("InfoType", { - Asset = 0, - Product = 1, - GamePass = 2, -}) \ No newline at end of file +local createEnum = import("../createEnum") + +return createEnum("InfoType", { + Asset = 0, + Product = 1, + GamePass = 2, + Subscription = 3, + Bundle = 4, +}) diff --git a/lib/Enum/InitialDockState.lua b/lib/Enum/InitialDockState.lua new file mode 100644 index 0000000..7f4126b --- /dev/null +++ b/lib/Enum/InitialDockState.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("InitialDockState", { + Top = 0, + Bottom = 1, + Left = 2, + Right = 3, + Float = 4, +}) diff --git a/lib/Enum/InlineAlignment.lua b/lib/Enum/InlineAlignment.lua new file mode 100644 index 0000000..91184b8 --- /dev/null +++ b/lib/Enum/InlineAlignment.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("InlineAlignment", { + Bottom = 0, + Center = 1, + Top = 2, +}) diff --git a/lib/Enum/InputType.lua b/lib/Enum/InputType.lua new file mode 100644 index 0000000..27bc622 --- /dev/null +++ b/lib/Enum/InputType.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("InputType", { + NoInput = 0, + Constant = 12, + Sin = 13, +}) diff --git a/lib/Enum/JointCreationMode.lua b/lib/Enum/JointCreationMode.lua new file mode 100644 index 0000000..5beb0fe --- /dev/null +++ b/lib/Enum/JointCreationMode.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("JointCreationMode", { + All = 0, + Surface = 1, + None = 2, +}) diff --git a/lib/Enum/JointType.lua b/lib/Enum/JointType.lua new file mode 100644 index 0000000..e591745 --- /dev/null +++ b/lib/Enum/JointType.lua @@ -0,0 +1,11 @@ +local createEnum = import("../createEnum") + +return createEnum("JointType", { + None = 28, + Rotate = 7, + RotateP = 8, + RotateV = 9, + Glue = 10, + Weld = 1, + Snap = 3, +}) diff --git a/lib/Enum/KeyCode.lua b/lib/Enum/KeyCode.lua index 0a067f4..41a9a71 100644 --- a/lib/Enum/KeyCode.lua +++ b/lib/Enum/KeyCode.lua @@ -1,258 +1,258 @@ -local createEnum = import("../createEnum") - -return createEnum("KeyCode", { - Unknown = 0, - Backspace = 8, - Tab = 9, - Clear = 12, - Return = 13, - Pause = 19, - Escape = 27, - Space = 32, - QuotedDouble = 34, - Hash = 35, - Dollar = 36, - Percent = 37, - Ampersand = 38, - Quote = 39, - LeftParenthesis = 40, - RightParenthesis = 41, - Asterisk = 42, - Plus = 43, - Comma = 44, - Minus = 45, - Period = 46, - Slash = 47, - Zero = 48, - One = 49, - Two = 50, - Three = 51, - Four = 52, - Five = 53, - Six = 54, - Seven = 55, - Eight = 56, - Nine = 57, - Colon = 58, - Semicolon = 59, - LessThan = 60, - Equals = 61, - GreaterThan = 62, - Question = 63, - At = 64, - LeftBracket = 91, - BackSlash = 92, - RightBracket = 93, - Caret = 94, - Underscore = 95, - Backquote = 96, - A = 97, - B = 98, - C = 99, - D = 100, - E = 101, - F = 102, - G = 103, - H = 104, - I = 105, - J = 106, - K = 107, - L = 108, - M = 109, - N = 110, - O = 111, - P = 112, - Q = 113, - R = 114, - S = 115, - T = 116, - U = 117, - V = 118, - W = 119, - X = 120, - Y = 121, - Z = 122, - LeftCurly = 123, - Pipe = 124, - RightCurly = 125, - Tilde = 126, - Delete = 127, - KeypadZero = 256, - KeypadOne = 257, - KeypadTwo = 258, - KeypadThree = 259, - KeypadFour = 260, - KeypadFive = 261, - KeypadSix = 262, - KeypadSeven = 263, - KeypadEight = 264, - KeypadNine = 265, - KeypadPeriod = 266, - KeypadDivide = 267, - KeypadMultiply = 268, - KeypadMinus = 269, - KeypadPlus = 270, - KeypadEnter = 271, - KeypadEquals = 272, - Up = 273, - Down = 274, - Right = 275, - Left = 276, - Insert = 277, - Home = 278, - End = 279, - PageUp = 280, - PageDown = 281, - LeftShift = 304, - RightShift = 303, - LeftMeta = 310, - RightMeta = 309, - LeftAlt = 308, - RightAlt = 307, - LeftControl = 306, - RightControl = 305, - CapsLock = 301, - NumLock = 300, - ScrollLock = 302, - LeftSuper = 311, - RightSuper = 312, - Mode = 313, - Compose = 314, - Help = 315, - Print = 316, - SysReq = 317, - Break = 318, - Menu = 319, - Power = 320, - Euro = 321, - Undo = 322, - F1 = 282, - F2 = 283, - F3 = 284, - F4 = 285, - F5 = 286, - F6 = 287, - F7 = 288, - F8 = 289, - F9 = 290, - F10 = 291, - F11 = 292, - F12 = 293, - F13 = 294, - F14 = 295, - F15 = 296, - World0 = 160, - World1 = 161, - World2 = 162, - World3 = 163, - World4 = 164, - World5 = 165, - World6 = 166, - World7 = 167, - World8 = 168, - World9 = 169, - World10 = 170, - World11 = 171, - World12 = 172, - World13 = 173, - World14 = 174, - World15 = 175, - World16 = 176, - World17 = 177, - World18 = 178, - World19 = 179, - World20 = 180, - World21 = 181, - World22 = 182, - World23 = 183, - World24 = 184, - World25 = 185, - World26 = 186, - World27 = 187, - World28 = 188, - World29 = 189, - World30 = 190, - World31 = 191, - World32 = 192, - World33 = 193, - World34 = 194, - World35 = 195, - World36 = 196, - World37 = 197, - World38 = 198, - World39 = 199, - World40 = 200, - World41 = 201, - World42 = 202, - World43 = 203, - World44 = 204, - World45 = 205, - World46 = 206, - World47 = 207, - World48 = 208, - World49 = 209, - World50 = 210, - World51 = 211, - World52 = 212, - World53 = 213, - World54 = 214, - World55 = 215, - World56 = 216, - World57 = 217, - World58 = 218, - World59 = 219, - World60 = 220, - World61 = 221, - World62 = 222, - World63 = 223, - World64 = 224, - World65 = 225, - World66 = 226, - World67 = 227, - World68 = 228, - World69 = 229, - World70 = 230, - World71 = 231, - World72 = 232, - World73 = 233, - World74 = 234, - World75 = 235, - World76 = 236, - World77 = 237, - World78 = 238, - World79 = 239, - World80 = 240, - World81 = 241, - World82 = 242, - World83 = 243, - World84 = 244, - World85 = 245, - World86 = 246, - World87 = 247, - World88 = 248, - World89 = 249, - World90 = 250, - World91 = 251, - World92 = 252, - World93 = 253, - World94 = 254, - World95 = 255, - ButtonX = 1000, - ButtonY = 1001, - ButtonA = 1002, - ButtonB = 1003, - ButtonR1 = 1004, - ButtonL1 = 1005, - ButtonR2 = 1006, - ButtonL2 = 1007, - ButtonR3 = 1008, - ButtonL3 = 1009, - ButtonStart = 1010, - ButtonSelect = 1011, - DPadLeft = 1012, - DPadRight = 1013, - DPadUp = 1014, - DPadDown = 1015, - Thumbstick1 = 1016, - Thumbstick2 = 1017, -}) \ No newline at end of file +local createEnum = import("../createEnum") + +return createEnum("KeyCode", { + Unknown = 0, + Backspace = 8, + Tab = 9, + Clear = 12, + Return = 13, + Pause = 19, + Escape = 27, + Space = 32, + QuotedDouble = 34, + Hash = 35, + Dollar = 36, + Percent = 37, + Ampersand = 38, + Quote = 39, + LeftParenthesis = 40, + RightParenthesis = 41, + Asterisk = 42, + Plus = 43, + Comma = 44, + Minus = 45, + Period = 46, + Slash = 47, + Zero = 48, + One = 49, + Two = 50, + Three = 51, + Four = 52, + Five = 53, + Six = 54, + Seven = 55, + Eight = 56, + Nine = 57, + Colon = 58, + Semicolon = 59, + LessThan = 60, + Equals = 61, + GreaterThan = 62, + Question = 63, + At = 64, + LeftBracket = 91, + BackSlash = 92, + RightBracket = 93, + Caret = 94, + Underscore = 95, + Backquote = 96, + A = 97, + B = 98, + C = 99, + D = 100, + E = 101, + F = 102, + G = 103, + H = 104, + I = 105, + J = 106, + K = 107, + L = 108, + M = 109, + N = 110, + O = 111, + P = 112, + Q = 113, + R = 114, + S = 115, + T = 116, + U = 117, + V = 118, + W = 119, + X = 120, + Y = 121, + Z = 122, + LeftCurly = 123, + Pipe = 124, + RightCurly = 125, + Tilde = 126, + Delete = 127, + KeypadZero = 256, + KeypadOne = 257, + KeypadTwo = 258, + KeypadThree = 259, + KeypadFour = 260, + KeypadFive = 261, + KeypadSix = 262, + KeypadSeven = 263, + KeypadEight = 264, + KeypadNine = 265, + KeypadPeriod = 266, + KeypadDivide = 267, + KeypadMultiply = 268, + KeypadMinus = 269, + KeypadPlus = 270, + KeypadEnter = 271, + KeypadEquals = 272, + Up = 273, + Down = 274, + Right = 275, + Left = 276, + Insert = 277, + Home = 278, + End = 279, + PageUp = 280, + PageDown = 281, + LeftShift = 304, + RightShift = 303, + LeftMeta = 310, + RightMeta = 309, + LeftAlt = 308, + RightAlt = 307, + LeftControl = 306, + RightControl = 305, + CapsLock = 301, + NumLock = 300, + ScrollLock = 302, + LeftSuper = 311, + RightSuper = 312, + Mode = 313, + Compose = 314, + Help = 315, + Print = 316, + SysReq = 317, + Break = 318, + Menu = 319, + Power = 320, + Euro = 321, + Undo = 322, + F1 = 282, + F2 = 283, + F3 = 284, + F4 = 285, + F5 = 286, + F6 = 287, + F7 = 288, + F8 = 289, + F9 = 290, + F10 = 291, + F11 = 292, + F12 = 293, + F13 = 294, + F14 = 295, + F15 = 296, + World0 = 160, + World1 = 161, + World2 = 162, + World3 = 163, + World4 = 164, + World5 = 165, + World6 = 166, + World7 = 167, + World8 = 168, + World9 = 169, + World10 = 170, + World11 = 171, + World12 = 172, + World13 = 173, + World14 = 174, + World15 = 175, + World16 = 176, + World17 = 177, + World18 = 178, + World19 = 179, + World20 = 180, + World21 = 181, + World22 = 182, + World23 = 183, + World24 = 184, + World25 = 185, + World26 = 186, + World27 = 187, + World28 = 188, + World29 = 189, + World30 = 190, + World31 = 191, + World32 = 192, + World33 = 193, + World34 = 194, + World35 = 195, + World36 = 196, + World37 = 197, + World38 = 198, + World39 = 199, + World40 = 200, + World41 = 201, + World42 = 202, + World43 = 203, + World44 = 204, + World45 = 205, + World46 = 206, + World47 = 207, + World48 = 208, + World49 = 209, + World50 = 210, + World51 = 211, + World52 = 212, + World53 = 213, + World54 = 214, + World55 = 215, + World56 = 216, + World57 = 217, + World58 = 218, + World59 = 219, + World60 = 220, + World61 = 221, + World62 = 222, + World63 = 223, + World64 = 224, + World65 = 225, + World66 = 226, + World67 = 227, + World68 = 228, + World69 = 229, + World70 = 230, + World71 = 231, + World72 = 232, + World73 = 233, + World74 = 234, + World75 = 235, + World76 = 236, + World77 = 237, + World78 = 238, + World79 = 239, + World80 = 240, + World81 = 241, + World82 = 242, + World83 = 243, + World84 = 244, + World85 = 245, + World86 = 246, + World87 = 247, + World88 = 248, + World89 = 249, + World90 = 250, + World91 = 251, + World92 = 252, + World93 = 253, + World94 = 254, + World95 = 255, + ButtonX = 1000, + ButtonY = 1001, + ButtonA = 1002, + ButtonB = 1003, + ButtonR1 = 1004, + ButtonL1 = 1005, + ButtonR2 = 1006, + ButtonL2 = 1007, + ButtonR3 = 1008, + ButtonL3 = 1009, + ButtonStart = 1010, + ButtonSelect = 1011, + DPadLeft = 1012, + DPadRight = 1013, + DPadUp = 1014, + DPadDown = 1015, + Thumbstick1 = 1016, + Thumbstick2 = 1017, +}) diff --git a/lib/Enum/KeywordFilterType.lua b/lib/Enum/KeywordFilterType.lua new file mode 100644 index 0000000..407c385 --- /dev/null +++ b/lib/Enum/KeywordFilterType.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("KeywordFilterType", { + Include = 0, + Exclude = 1, +}) diff --git a/lib/Enum/Language.lua b/lib/Enum/Language.lua new file mode 100644 index 0000000..bf74033 --- /dev/null +++ b/lib/Enum/Language.lua @@ -0,0 +1,5 @@ +local createEnum = import("../createEnum") + +return createEnum("Language", { + Default = 0, +}) diff --git a/lib/Enum/LanguagePreference.lua b/lib/Enum/LanguagePreference.lua new file mode 100644 index 0000000..02db8ff --- /dev/null +++ b/lib/Enum/LanguagePreference.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("LanguagePreference", { + SystemDefault = 0, + English = 1, + SimplifiedChinese = 2, +}) diff --git a/lib/Enum/LeftRight.lua b/lib/Enum/LeftRight.lua new file mode 100644 index 0000000..f97c451 --- /dev/null +++ b/lib/Enum/LeftRight.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("LeftRight", { + Left = 0, + Center = 1, + Right = 2, +}) diff --git a/lib/Enum/LevelOfDetailSetting.lua b/lib/Enum/LevelOfDetailSetting.lua new file mode 100644 index 0000000..b0ad583 --- /dev/null +++ b/lib/Enum/LevelOfDetailSetting.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("LevelOfDetailSetting", { + High = 2, + Medium = 1, + Low = 0, +}) diff --git a/lib/Enum/Limb.lua b/lib/Enum/Limb.lua new file mode 100644 index 0000000..e2ad521 --- /dev/null +++ b/lib/Enum/Limb.lua @@ -0,0 +1,11 @@ +local createEnum = import("../createEnum") + +return createEnum("Limb", { + Head = 0, + Torso = 1, + LeftArm = 2, + RightArm = 3, + LeftLeg = 4, + RightLeg = 5, + Unknown = 6, +}) diff --git a/lib/Enum/ListDisplayMode.lua b/lib/Enum/ListDisplayMode.lua new file mode 100644 index 0000000..7ec32b6 --- /dev/null +++ b/lib/Enum/ListDisplayMode.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("ListDisplayMode", { + Horizontal = 0, + Vertical = 1, +}) diff --git a/lib/Enum/ListenerType.lua b/lib/Enum/ListenerType.lua new file mode 100644 index 0000000..f53ecb7 --- /dev/null +++ b/lib/Enum/ListenerType.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("ListenerType", { + Camera = 0, + CFrame = 1, + ObjectPosition = 2, + ObjectCFrame = 3, +}) diff --git a/lib/Enum/Material.lua b/lib/Enum/Material.lua new file mode 100644 index 0000000..94d1090 --- /dev/null +++ b/lib/Enum/Material.lua @@ -0,0 +1,41 @@ +local createEnum = import("../createEnum") + +return createEnum("Material", { + Plastic = 256, + Wood = 512, + Slate = 800, + Concrete = 816, + CorrodedMetal = 1040, + DiamondPlate = 1056, + Foil = 1072, + Grass = 1280, + Ice = 1536, + Marble = 784, + Granite = 832, + Brick = 848, + Pebble = 864, + Sand = 1296, + Fabric = 1312, + SmoothPlastic = 272, + Metal = 1088, + WoodPlanks = 528, + Cobblestone = 880, + Air = 1792, + Water = 2048, + Rock = 896, + Glacier = 1552, + Snow = 1328, + Sandstone = 912, + Mud = 1344, + Basalt = 788, + Ground = 1360, + CrackedLava = 804, + Neon = 288, + Glass = 1568, + Asphalt = 1376, + LeafyGrass = 1284, + Salt = 1392, + Limestone = 820, + Pavement = 836, + ForceField = 1584, +}) diff --git a/lib/Enum/MembershipType.lua b/lib/Enum/MembershipType.lua new file mode 100644 index 0000000..9918a60 --- /dev/null +++ b/lib/Enum/MembershipType.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("MembershipType", { + None = 0, + BuildersClub = 1, + TurboBuildersClub = 2, + OutrageousBuildersClub = 3, + Premium = 4, +}) diff --git a/lib/Enum/MeshType.lua b/lib/Enum/MeshType.lua new file mode 100644 index 0000000..cfcdc47 --- /dev/null +++ b/lib/Enum/MeshType.lua @@ -0,0 +1,16 @@ +local createEnum = import("../createEnum") + +return createEnum("MeshType", { + Head = 0, + Torso = 1, + Wedge = 2, + Prism = 7, + Pyramid = 8, + ParallelRamp = 9, + RightAngleRamp = 10, + CornerWedge = 11, + Brick = 6, + Sphere = 3, + Cylinder = 4, + FileMesh = 5, +}) diff --git a/lib/Enum/MessageType.lua b/lib/Enum/MessageType.lua new file mode 100644 index 0000000..f200d7e --- /dev/null +++ b/lib/Enum/MessageType.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("MessageType", { + MessageOutput = 0, + MessageInfo = 1, + MessageWarning = 2, + MessageError = 3, +}) diff --git a/lib/Enum/MouseBehavior.lua b/lib/Enum/MouseBehavior.lua index b8fe157..d4894c6 100644 --- a/lib/Enum/MouseBehavior.lua +++ b/lib/Enum/MouseBehavior.lua @@ -1,7 +1,7 @@ -local createEnum = import("../createEnum") - -return createEnum("MouseBehavior", { - Default = 0, - LockCenter = 1, - LockCurrentPosition = 2, -}) \ No newline at end of file +local createEnum = import("../createEnum") + +return createEnum("MouseBehavior", { + Default = 0, + LockCenter = 1, + LockCurrentPosition = 2, +}) diff --git a/lib/Enum/MoveState.lua b/lib/Enum/MoveState.lua new file mode 100644 index 0000000..bca333f --- /dev/null +++ b/lib/Enum/MoveState.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("MoveState", { + Stopped = 0, + Coasting = 1, + Pushing = 2, + Stopping = 3, + AirFree = 4, +}) diff --git a/lib/Enum/NameOcclusion.lua b/lib/Enum/NameOcclusion.lua new file mode 100644 index 0000000..b0837be --- /dev/null +++ b/lib/Enum/NameOcclusion.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("NameOcclusion", { + OccludeAll = 2, + EnemyOcclusion = 1, + NoOcclusion = 0, +}) diff --git a/lib/Enum/NetworkOwnership.lua b/lib/Enum/NetworkOwnership.lua new file mode 100644 index 0000000..3eb74f6 --- /dev/null +++ b/lib/Enum/NetworkOwnership.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("NetworkOwnership", { + Automatic = 0, + Manual = 1, + OnContact = 2, +}) diff --git a/lib/Enum/NormalId.lua b/lib/Enum/NormalId.lua new file mode 100644 index 0000000..bca7c91 --- /dev/null +++ b/lib/Enum/NormalId.lua @@ -0,0 +1,10 @@ +local createEnum = import("../createEnum") + +return createEnum("NormalId", { + Top = 1, + Bottom = 4, + Back = 2, + Front = 5, + Right = 0, + Left = 3, +}) diff --git a/lib/Enum/OutputLayoutMode.lua b/lib/Enum/OutputLayoutMode.lua new file mode 100644 index 0000000..1a97fb9 --- /dev/null +++ b/lib/Enum/OutputLayoutMode.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("OutputLayoutMode", { + Horizontal = 0, + Vertical = 1, +}) diff --git a/lib/Enum/OverrideMouseIconBehavior.lua b/lib/Enum/OverrideMouseIconBehavior.lua new file mode 100644 index 0000000..a01902a --- /dev/null +++ b/lib/Enum/OverrideMouseIconBehavior.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("OverrideMouseIconBehavior", { + None = 0, + ForceShow = 1, + ForceHide = 2, +}) diff --git a/lib/Enum/PacketPriority.lua b/lib/Enum/PacketPriority.lua new file mode 100644 index 0000000..84f7aa5 --- /dev/null +++ b/lib/Enum/PacketPriority.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("PacketPriority", { + IMMEDIATE_PRIORITY = 0, + HIGH_PRIORITY = 1, + MEDIUM_PRIORITY = 2, + LOW_PRIORITY = 3, +}) diff --git a/lib/Enum/PartType.lua b/lib/Enum/PartType.lua new file mode 100644 index 0000000..d479890 --- /dev/null +++ b/lib/Enum/PartType.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("PartType", { + Ball = 0, + Block = 1, + Cylinder = 2, +}) diff --git a/lib/Enum/PathStatus.lua b/lib/Enum/PathStatus.lua new file mode 100644 index 0000000..4d595ba --- /dev/null +++ b/lib/Enum/PathStatus.lua @@ -0,0 +1,10 @@ +local createEnum = import("../createEnum") + +return createEnum("PathStatus", { + Success = 0, + ClosestNoPath = 1, + ClosestOutOfRange = 2, + FailStartNotEmpty = 3, + FailFinishNotEmpty = 4, + NoPath = 5, +}) diff --git a/lib/Enum/PathWaypointAction.lua b/lib/Enum/PathWaypointAction.lua new file mode 100644 index 0000000..8f8aad0 --- /dev/null +++ b/lib/Enum/PathWaypointAction.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("PathWaypointAction", { + Walk = 0, + Jump = 1, +}) diff --git a/lib/Enum/PermissionLevelShown.lua b/lib/Enum/PermissionLevelShown.lua new file mode 100644 index 0000000..b908d27 --- /dev/null +++ b/lib/Enum/PermissionLevelShown.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("PermissionLevelShown", { + Game = 0, + RobloxGame = 1, + RobloxScript = 2, + Studio = 3, + Roblox = 4, +}) diff --git a/lib/Enum/Platform.lua b/lib/Enum/Platform.lua index 39d2887..7ff8fae 100644 --- a/lib/Enum/Platform.lua +++ b/lib/Enum/Platform.lua @@ -21,4 +21,4 @@ return createEnum("Platform", { BeOS = 17, UWP = 18, None = 19, -}) \ No newline at end of file +}) diff --git a/lib/Enum/PlaybackState.lua b/lib/Enum/PlaybackState.lua index 8daa8b9..2ad0e37 100644 --- a/lib/Enum/PlaybackState.lua +++ b/lib/Enum/PlaybackState.lua @@ -7,4 +7,4 @@ return createEnum("PlaybackState", { Paused = 3, Completed = 4, Cancelled = 5, -}) \ No newline at end of file +}) diff --git a/lib/Enum/PlayerActions.lua b/lib/Enum/PlayerActions.lua new file mode 100644 index 0000000..70e0288 --- /dev/null +++ b/lib/Enum/PlayerActions.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("PlayerActions", { + CharacterForward = 0, + CharacterBackward = 1, + CharacterLeft = 2, + CharacterRight = 3, + CharacterJump = 4, +}) diff --git a/lib/Enum/PlayerChatType.lua b/lib/Enum/PlayerChatType.lua new file mode 100644 index 0000000..d8f5e06 --- /dev/null +++ b/lib/Enum/PlayerChatType.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("PlayerChatType", { + All = 0, + Team = 1, + Whisper = 2, +}) diff --git a/lib/Enum/PoseEasingDirection.lua b/lib/Enum/PoseEasingDirection.lua new file mode 100644 index 0000000..e10417a --- /dev/null +++ b/lib/Enum/PoseEasingDirection.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("PoseEasingDirection", { + Out = 1, + InOut = 2, + In = 0, +}) diff --git a/lib/Enum/PoseEasingStyle.lua b/lib/Enum/PoseEasingStyle.lua new file mode 100644 index 0000000..226a337 --- /dev/null +++ b/lib/Enum/PoseEasingStyle.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("PoseEasingStyle", { + Linear = 0, + Constant = 1, + Elastic = 2, + Cubic = 3, + Bounce = 4, +}) diff --git a/lib/Enum/PrivilegeType.lua b/lib/Enum/PrivilegeType.lua new file mode 100644 index 0000000..953d636 --- /dev/null +++ b/lib/Enum/PrivilegeType.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("PrivilegeType", { + Owner = 255, + Admin = 240, + Member = 128, + Visitor = 10, + Banned = 0, +}) diff --git a/lib/Enum/ProductPurchaseDecision.lua b/lib/Enum/ProductPurchaseDecision.lua new file mode 100644 index 0000000..c288a45 --- /dev/null +++ b/lib/Enum/ProductPurchaseDecision.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("ProductPurchaseDecision", { + NotProcessedYet = 0, + PurchaseGranted = 1, +}) diff --git a/lib/Enum/QualityLevel.lua b/lib/Enum/QualityLevel.lua new file mode 100644 index 0000000..7d11e4d --- /dev/null +++ b/lib/Enum/QualityLevel.lua @@ -0,0 +1,26 @@ +local createEnum = import("../createEnum") + +return createEnum("QualityLevel", { + Automatic = 0, + Level01 = 1, + Level02 = 2, + Level03 = 3, + Level04 = 4, + Level05 = 5, + Level06 = 6, + Level07 = 7, + Level08 = 8, + Level09 = 9, + Level10 = 10, + Level11 = 11, + Level12 = 12, + Level13 = 13, + Level14 = 14, + Level15 = 15, + Level16 = 16, + Level17 = 17, + Level18 = 18, + Level19 = 19, + Level20 = 20, + Level21 = 21, +}) diff --git a/lib/Enum/R15CollisionType.lua b/lib/Enum/R15CollisionType.lua new file mode 100644 index 0000000..f4d9c70 --- /dev/null +++ b/lib/Enum/R15CollisionType.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("R15CollisionType", { + OuterBox = 0, + InnerBox = 1, +}) diff --git a/lib/Enum/RenderFidelity.lua b/lib/Enum/RenderFidelity.lua new file mode 100644 index 0000000..771906d --- /dev/null +++ b/lib/Enum/RenderFidelity.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("RenderFidelity", { + Automatic = 0, + Precise = 1, +}) diff --git a/lib/Enum/RenderPriority.lua b/lib/Enum/RenderPriority.lua new file mode 100644 index 0000000..b90e9c2 --- /dev/null +++ b/lib/Enum/RenderPriority.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("RenderPriority", { + First = 0, + Input = 100, + Camera = 200, + Character = 300, + Last = 2000, +}) diff --git a/lib/Enum/RenderingTestComparisonMethod.lua b/lib/Enum/RenderingTestComparisonMethod.lua new file mode 100644 index 0000000..e956c18 --- /dev/null +++ b/lib/Enum/RenderingTestComparisonMethod.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("RenderingTestComparisonMethod", { + psnr = 0, + diff = 1, +}) diff --git a/lib/Enum/ReverbType.lua b/lib/Enum/ReverbType.lua new file mode 100644 index 0000000..df84ac2 --- /dev/null +++ b/lib/Enum/ReverbType.lua @@ -0,0 +1,28 @@ +local createEnum = import("../createEnum") + +return createEnum("ReverbType", { + NoReverb = 0, + GenericReverb = 1, + PaddedCell = 2, + Room = 3, + Bathroom = 4, + LivingRoom = 5, + StoneRoom = 6, + Auditorium = 7, + ConcertHall = 8, + Cave = 9, + Arena = 10, + Hangar = 11, + CarpettedHallway = 12, + Hallway = 13, + StoneCorridor = 14, + Alley = 15, + Forest = 16, + City = 17, + Mountains = 18, + Quarry = 19, + Plain = 20, + ParkingLot = 21, + SewerPipe = 22, + UnderWater = 23, +}) diff --git a/lib/Enum/RibbonTool.lua b/lib/Enum/RibbonTool.lua new file mode 100644 index 0000000..5088f36 --- /dev/null +++ b/lib/Enum/RibbonTool.lua @@ -0,0 +1,14 @@ +local createEnum = import("../createEnum") + +return createEnum("RibbonTool", { + Select = 0, + Scale = 1, + Rotate = 2, + Move = 3, + Transform = 4, + ColorPicker = 5, + MaterialPicker = 6, + Group = 7, + Ungroup = 8, + None = 9, +}) diff --git a/lib/Enum/RollOffMode.lua b/lib/Enum/RollOffMode.lua new file mode 100644 index 0000000..bf1e764 --- /dev/null +++ b/lib/Enum/RollOffMode.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("RollOffMode", { + Inverse = 0, + Linear = 1, + InverseTapered = 3, + LinearSquare = 2, +}) diff --git a/lib/Enum/RotationType.lua b/lib/Enum/RotationType.lua new file mode 100644 index 0000000..af03c8a --- /dev/null +++ b/lib/Enum/RotationType.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("RotationType", { + MovementRelative = 0, + CameraRelative = 1, +}) diff --git a/lib/Enum/RuntimeUndoBehavior.lua b/lib/Enum/RuntimeUndoBehavior.lua new file mode 100644 index 0000000..87fe925 --- /dev/null +++ b/lib/Enum/RuntimeUndoBehavior.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("RuntimeUndoBehavior", { + Aggregate = 0, + Snapshot = 1, + Hybrid = 2, +}) diff --git a/lib/Enum/SaveFilter.lua b/lib/Enum/SaveFilter.lua new file mode 100644 index 0000000..3435276 --- /dev/null +++ b/lib/Enum/SaveFilter.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("SaveFilter", { + SaveAll = 2, + SaveWorld = 0, + SaveGame = 1, +}) diff --git a/lib/Enum/SavedQualitySetting.lua b/lib/Enum/SavedQualitySetting.lua new file mode 100644 index 0000000..7fc3519 --- /dev/null +++ b/lib/Enum/SavedQualitySetting.lua @@ -0,0 +1,15 @@ +local createEnum = import("../createEnum") + +return createEnum("SavedQualitySetting", { + Automatic = 0, + QualityLevel1 = 1, + QualityLevel2 = 2, + QualityLevel3 = 3, + QualityLevel4 = 4, + QualityLevel5 = 5, + QualityLevel6 = 6, + QualityLevel7 = 7, + QualityLevel8 = 8, + QualityLevel9 = 9, + QualityLevel10 = 10, +}) diff --git a/lib/Enum/ScaleType.lua b/lib/Enum/ScaleType.lua index da8d6ae..f1129de 100644 --- a/lib/Enum/ScaleType.lua +++ b/lib/Enum/ScaleType.lua @@ -6,4 +6,4 @@ return createEnum("ScaleType", { Tile = 2, Fit = 3, Crop = 4, -}) \ No newline at end of file +}) diff --git a/lib/Enum/ScreenOrientation.lua b/lib/Enum/ScreenOrientation.lua new file mode 100644 index 0000000..6673bc9 --- /dev/null +++ b/lib/Enum/ScreenOrientation.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("ScreenOrientation", { + LandscapeLeft = 0, + LandscapeRight = 1, + LandscapeSensor = 2, + Portrait = 3, + Sensor = 4, +}) diff --git a/lib/Enum/ScrollBarInset.lua b/lib/Enum/ScrollBarInset.lua index 8515411..33007c4 100644 --- a/lib/Enum/ScrollBarInset.lua +++ b/lib/Enum/ScrollBarInset.lua @@ -4,4 +4,4 @@ return createEnum("ScrollBarInset", { None = 0, ScrollBar = 1, Always = 2, -}) \ No newline at end of file +}) diff --git a/lib/Enum/ScrollingDirection.lua b/lib/Enum/ScrollingDirection.lua index ab8a972..2e8db28 100644 --- a/lib/Enum/ScrollingDirection.lua +++ b/lib/Enum/ScrollingDirection.lua @@ -4,4 +4,4 @@ return createEnum("ScrollingDirection", { X = 1, Y = 2, XY = 4, -}) \ No newline at end of file +}) diff --git a/lib/Enum/ServerAudioBehavior.lua b/lib/Enum/ServerAudioBehavior.lua new file mode 100644 index 0000000..f92f489 --- /dev/null +++ b/lib/Enum/ServerAudioBehavior.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("ServerAudioBehavior", { + Enabled = 0, + Muted = 1, + OnlineGame = 2, +}) diff --git a/lib/Enum/SizeConstraint.lua b/lib/Enum/SizeConstraint.lua index 3fe147f..e9244f7 100644 --- a/lib/Enum/SizeConstraint.lua +++ b/lib/Enum/SizeConstraint.lua @@ -4,4 +4,4 @@ return createEnum("SizeConstraint", { RelativeXY = 0, RelativeXX = 1, RelativeYY = 2, -}) \ No newline at end of file +}) diff --git a/lib/Enum/SortOrder.lua b/lib/Enum/SortOrder.lua index 044f476..92d1d17 100644 --- a/lib/Enum/SortOrder.lua +++ b/lib/Enum/SortOrder.lua @@ -1,7 +1,7 @@ local createEnum = import("../createEnum") return createEnum("SortOrder", { + LayoutOrder = 2, Name = 0, Custom = 1, - LayoutOrder = 2, -}) \ No newline at end of file +}) diff --git a/lib/Enum/SoundType.lua b/lib/Enum/SoundType.lua new file mode 100644 index 0000000..715906e --- /dev/null +++ b/lib/Enum/SoundType.lua @@ -0,0 +1,19 @@ +local createEnum = import("../createEnum") + +return createEnum("SoundType", { + NoSound = 0, + Boing = 1, + Bomb = 2, + Break = 3, + Click = 4, + Clock = 5, + Slingshot = 6, + Page = 7, + Ping = 8, + Snap = 9, + Splat = 10, + Step = 11, + StepOn = 12, + Swoosh = 13, + Victory = 14, +}) diff --git a/lib/Enum/SpecialKey.lua b/lib/Enum/SpecialKey.lua new file mode 100644 index 0000000..a269182 --- /dev/null +++ b/lib/Enum/SpecialKey.lua @@ -0,0 +1,10 @@ +local createEnum = import("../createEnum") + +return createEnum("SpecialKey", { + Insert = 0, + Home = 1, + End = 2, + PageUp = 3, + PageDown = 4, + ChatHotkey = 5, +}) diff --git a/lib/Enum/StartCorner.lua b/lib/Enum/StartCorner.lua new file mode 100644 index 0000000..86cd521 --- /dev/null +++ b/lib/Enum/StartCorner.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("StartCorner", { + TopLeft = 0, + TopRight = 1, + BottomLeft = 2, + BottomRight = 3, +}) diff --git a/lib/Enum/Status.lua b/lib/Enum/Status.lua new file mode 100644 index 0000000..cdae79f --- /dev/null +++ b/lib/Enum/Status.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("Status", { + Poison = 0, + Confusion = 1, +}) diff --git a/lib/Enum/StreamingPauseMode.lua b/lib/Enum/StreamingPauseMode.lua new file mode 100644 index 0000000..74704ba --- /dev/null +++ b/lib/Enum/StreamingPauseMode.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("StreamingPauseMode", { + Default = 0, + Disabled = 1, + ClientPhysicsPause = 2, +}) diff --git a/lib/Enum/StudioStyleGuideColor.lua b/lib/Enum/StudioStyleGuideColor.lua new file mode 100644 index 0000000..297f44a --- /dev/null +++ b/lib/Enum/StudioStyleGuideColor.lua @@ -0,0 +1,96 @@ +local createEnum = import("../createEnum") + +return createEnum("StudioStyleGuideColor", { + MainBackground = 0, + Titlebar = 1, + Dropdown = 2, + Tooltip = 3, + Notification = 4, + ScrollBar = 5, + ScrollBarBackground = 6, + TabBar = 7, + Tab = 8, + RibbonTab = 9, + RibbonTabTopBar = 10, + Button = 11, + MainButton = 12, + RibbonButton = 13, + ViewPortBackground = 14, + InputFieldBackground = 15, + Item = 16, + TableItem = 17, + CategoryItem = 18, + GameSettingsTableItem = 19, + GameSettingsTooltip = 20, + EmulatorBar = 21, + EmulatorDropDown = 22, + ColorPickerFrame = 23, + CurrentMarker = 24, + Border = 25, + Shadow = 26, + Light = 27, + Dark = 28, + Mid = 29, + MainText = 30, + SubText = 31, + TitlebarText = 32, + BrightText = 33, + DimmedText = 34, + LinkText = 35, + WarningText = 36, + ErrorText = 37, + InfoText = 38, + SensitiveText = 39, + ScriptSideWidget = 40, + ScriptBackground = 41, + ScriptText = 42, + ScriptSelectionText = 43, + ScriptSelectionBackground = 44, + ScriptFindSelectionBackground = 45, + ScriptMatchingWordSelectionBackground = 46, + ScriptOperator = 47, + ScriptNumber = 48, + ScriptString = 49, + ScriptComment = 50, + ScriptPreprocessor = 51, + ScriptKeyword = 52, + ScriptBuiltInFunction = 53, + ScriptWarning = 54, + ScriptError = 55, + DebuggerCurrentLine = 56, + DebuggerErrorLine = 57, + DiffFilePathText = 58, + DiffTextHunkInfo = 59, + DiffTextNoChange = 60, + DiffTextAddition = 61, + DiffTextDeletion = 62, + DiffTextSeparatorBackground = 63, + DiffTextNoChangeBackground = 64, + DiffTextAdditionBackground = 65, + DiffTextDeletionBackground = 66, + DiffLineNum = 67, + DiffLineNumSeparatorBackground = 68, + DiffLineNumNoChangeBackground = 69, + DiffLineNumAdditionBackground = 70, + DiffLineNumDeletionBackground = 71, + DiffFilePathBackground = 72, + DiffFilePathBorder = 73, + Separator = 74, + ButtonBorder = 75, + ButtonText = 76, + InputFieldBorder = 77, + CheckedFieldBackground = 78, + CheckedFieldBorder = 79, + CheckedFieldIndicator = 80, + HeaderSection = 81, + Midlight = 82, + StatusBar = 83, + DialogButton = 84, + DialogButtonText = 85, + DialogButtonBorder = 86, + DialogMainButton = 87, + DialogMainButtonText = 88, + Merge3HighlightOriginal = 89, + Merge3HighlightMine = 90, + Merge3HighlightTheirs = 91, +}) diff --git a/lib/Enum/StudioStyleGuideModifier.lua b/lib/Enum/StudioStyleGuideModifier.lua new file mode 100644 index 0000000..fe13fb0 --- /dev/null +++ b/lib/Enum/StudioStyleGuideModifier.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("StudioStyleGuideModifier", { + Default = 0, + Selected = 1, + Pressed = 2, + Disabled = 3, + Hover = 4, +}) diff --git a/lib/Enum/Style.lua b/lib/Enum/Style.lua new file mode 100644 index 0000000..08a2a7d --- /dev/null +++ b/lib/Enum/Style.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("Style", { + AlternatingSupports = 0, + BridgeStyleSupports = 1, + NoSupports = 2, +}) diff --git a/lib/Enum/SurfaceConstraint.lua b/lib/Enum/SurfaceConstraint.lua new file mode 100644 index 0000000..0cc4d35 --- /dev/null +++ b/lib/Enum/SurfaceConstraint.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("SurfaceConstraint", { + None = 0, + Hinge = 1, + SteppingMotor = 2, + Motor = 3, +}) diff --git a/lib/Enum/SurfaceGuiSizingMode.lua b/lib/Enum/SurfaceGuiSizingMode.lua new file mode 100644 index 0000000..a4bb4ec --- /dev/null +++ b/lib/Enum/SurfaceGuiSizingMode.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("SurfaceGuiSizingMode", { + FixedSize = 0, + PixelsPerStud = 1, +}) diff --git a/lib/Enum/SurfaceType.lua b/lib/Enum/SurfaceType.lua new file mode 100644 index 0000000..e295420 --- /dev/null +++ b/lib/Enum/SurfaceType.lua @@ -0,0 +1,14 @@ +local createEnum = import("../createEnum") + +return createEnum("SurfaceType", { + Smooth = 0, + Glue = 1, + Weld = 2, + Studs = 3, + Inlet = 4, + Universal = 5, + Hinge = 6, + Motor = 7, + SteppingMotor = 8, + SmoothNoOutlines = 10, +}) diff --git a/lib/Enum/SwipeDirection.lua b/lib/Enum/SwipeDirection.lua new file mode 100644 index 0000000..e74bd99 --- /dev/null +++ b/lib/Enum/SwipeDirection.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("SwipeDirection", { + Right = 0, + Left = 1, + Up = 2, + Down = 3, + None = 4, +}) diff --git a/lib/Enum/TableMajorAxis.lua b/lib/Enum/TableMajorAxis.lua new file mode 100644 index 0000000..889be7b --- /dev/null +++ b/lib/Enum/TableMajorAxis.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("TableMajorAxis", { + RowMajor = 0, + ColumnMajor = 1, +}) diff --git a/lib/Enum/Technology.lua b/lib/Enum/Technology.lua new file mode 100644 index 0000000..21b0d4d --- /dev/null +++ b/lib/Enum/Technology.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("Technology", { + Legacy = 0, + Voxel = 1, + Compatibility = 2, + ShadowMap = 3, +}) diff --git a/lib/Enum/TeleportResult.lua b/lib/Enum/TeleportResult.lua new file mode 100644 index 0000000..fc2a28a --- /dev/null +++ b/lib/Enum/TeleportResult.lua @@ -0,0 +1,12 @@ +local createEnum = import("../createEnum") + +return createEnum("TeleportResult", { + Success = 0, + Failure = 1, + GameNotFound = 2, + GameEnded = 3, + GameFull = 4, + Unauthorized = 5, + Flooded = 6, + IsTeleporting = 7, +}) diff --git a/lib/Enum/TeleportState.lua b/lib/Enum/TeleportState.lua new file mode 100644 index 0000000..1efbdea --- /dev/null +++ b/lib/Enum/TeleportState.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("TeleportState", { + RequestedFromServer = 0, + Started = 1, + WaitingForServer = 2, + Failed = 3, + InProgress = 4, +}) diff --git a/lib/Enum/TeleportType.lua b/lib/Enum/TeleportType.lua new file mode 100644 index 0000000..943c6cd --- /dev/null +++ b/lib/Enum/TeleportType.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("TeleportType", { + ToPlace = 0, + ToInstance = 1, + ToReservedServer = 2, +}) diff --git a/lib/Enum/TextFilterContext.lua b/lib/Enum/TextFilterContext.lua new file mode 100644 index 0000000..20dab06 --- /dev/null +++ b/lib/Enum/TextFilterContext.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("TextFilterContext", { + PublicChat = 1, + PrivateChat = 2, +}) diff --git a/lib/Enum/TextTruncate.lua b/lib/Enum/TextTruncate.lua index c47a0ed..b5b5679 100644 --- a/lib/Enum/TextTruncate.lua +++ b/lib/Enum/TextTruncate.lua @@ -3,4 +3,4 @@ local createEnum = import("../createEnum") return createEnum("TextTruncate", { None = 0, AtEnd = 1, -}) \ No newline at end of file +}) diff --git a/lib/Enum/TextXAlignment.lua b/lib/Enum/TextXAlignment.lua index c513f82..d678acb 100644 --- a/lib/Enum/TextXAlignment.lua +++ b/lib/Enum/TextXAlignment.lua @@ -2,6 +2,6 @@ local createEnum = import("../createEnum") return createEnum("TextXAlignment", { Left = 0, - Right = 1, Center = 2, -}) \ No newline at end of file + Right = 1, +}) diff --git a/lib/Enum/TextYAlignment.lua b/lib/Enum/TextYAlignment.lua index cbf357f..d227a1b 100644 --- a/lib/Enum/TextYAlignment.lua +++ b/lib/Enum/TextYAlignment.lua @@ -4,4 +4,4 @@ return createEnum("TextYAlignment", { Top = 0, Center = 1, Bottom = 2, -}) \ No newline at end of file +}) diff --git a/lib/Enum/TextureMode.lua b/lib/Enum/TextureMode.lua new file mode 100644 index 0000000..3b025c2 --- /dev/null +++ b/lib/Enum/TextureMode.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("TextureMode", { + Stretch = 0, + Wrap = 1, + Static = 2, +}) diff --git a/lib/Enum/TextureQueryType.lua b/lib/Enum/TextureQueryType.lua new file mode 100644 index 0000000..2e85fde --- /dev/null +++ b/lib/Enum/TextureQueryType.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("TextureQueryType", { + NonHumanoid = 0, + NonHumanoidOrphaned = 1, + Humanoid = 2, + HumanoidOrphaned = 3, +}) diff --git a/lib/Enum/ThreadPoolConfig.lua b/lib/Enum/ThreadPoolConfig.lua new file mode 100644 index 0000000..7294477 --- /dev/null +++ b/lib/Enum/ThreadPoolConfig.lua @@ -0,0 +1,15 @@ +local createEnum = import("../createEnum") + +return createEnum("ThreadPoolConfig", { + Auto = 0, + PerCore1 = 101, + PerCore2 = 102, + PerCore3 = 103, + PerCore4 = 104, + Threads1 = 1, + Threads2 = 2, + Threads3 = 3, + Threads4 = 4, + Threads8 = 8, + Threads16 = 16, +}) diff --git a/lib/Enum/ThrottlingPriority.lua b/lib/Enum/ThrottlingPriority.lua new file mode 100644 index 0000000..cb43c9d --- /dev/null +++ b/lib/Enum/ThrottlingPriority.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("ThrottlingPriority", { + Extreme = 2, + ElevatedOnServer = 1, + Default = 0, +}) diff --git a/lib/Enum/ThumbnailSize.lua b/lib/Enum/ThumbnailSize.lua index 5d9ffe1..3599178 100644 --- a/lib/Enum/ThumbnailSize.lua +++ b/lib/Enum/ThumbnailSize.lua @@ -8,4 +8,4 @@ return createEnum("ThumbnailSize", { Size100x100 = 4, Size150x150 = 5, Size352x352 = 6, -}) \ No newline at end of file +}) diff --git a/lib/Enum/ThumbnailType.lua b/lib/Enum/ThumbnailType.lua index d97a18d..db062e4 100644 --- a/lib/Enum/ThumbnailType.lua +++ b/lib/Enum/ThumbnailType.lua @@ -4,4 +4,4 @@ return createEnum("ThumbnailType", { HeadShot = 0, AvatarBust = 1, AvatarThumbnail = 2, -}) \ No newline at end of file +}) diff --git a/lib/Enum/TickCountSampleMethod.lua b/lib/Enum/TickCountSampleMethod.lua new file mode 100644 index 0000000..9562a65 --- /dev/null +++ b/lib/Enum/TickCountSampleMethod.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("TickCountSampleMethod", { + Fast = 0, + Benchmark = 1, + Precise = 2, +}) diff --git a/lib/Enum/TopBottom.lua b/lib/Enum/TopBottom.lua new file mode 100644 index 0000000..ced00fd --- /dev/null +++ b/lib/Enum/TopBottom.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("TopBottom", { + Top = 0, + Center = 1, + Bottom = 2, +}) diff --git a/lib/Enum/TouchCameraMovementMode.lua b/lib/Enum/TouchCameraMovementMode.lua new file mode 100644 index 0000000..4e469bc --- /dev/null +++ b/lib/Enum/TouchCameraMovementMode.lua @@ -0,0 +1,8 @@ +local createEnum = import("../createEnum") + +return createEnum("TouchCameraMovementMode", { + Default = 0, + Follow = 2, + Classic = 1, + Orbital = 3, +}) diff --git a/lib/Enum/TouchMovementMode.lua b/lib/Enum/TouchMovementMode.lua new file mode 100644 index 0000000..9a16767 --- /dev/null +++ b/lib/Enum/TouchMovementMode.lua @@ -0,0 +1,10 @@ +local createEnum = import("../createEnum") + +return createEnum("TouchMovementMode", { + Default = 0, + Thumbstick = 1, + DPad = 2, + Thumbpad = 3, + ClickToMove = 4, + DynamicThumbstick = 5, +}) diff --git a/lib/Enum/TweenStatus.lua b/lib/Enum/TweenStatus.lua new file mode 100644 index 0000000..3b65f08 --- /dev/null +++ b/lib/Enum/TweenStatus.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("TweenStatus", { + Canceled = 0, + Completed = 1, +}) diff --git a/lib/Enum/UITheme.lua b/lib/Enum/UITheme.lua new file mode 100644 index 0000000..b095dcc --- /dev/null +++ b/lib/Enum/UITheme.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("UITheme", { + Light = 0, + Dark = 1, +}) diff --git a/lib/Enum/UiMessageType.lua b/lib/Enum/UiMessageType.lua new file mode 100644 index 0000000..8fe4469 --- /dev/null +++ b/lib/Enum/UiMessageType.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("UiMessageType", { + UiMessageError = 0, + UiMessageInfo = 1, +}) diff --git a/lib/Enum/UploadSetting.lua b/lib/Enum/UploadSetting.lua new file mode 100644 index 0000000..a65fd6f --- /dev/null +++ b/lib/Enum/UploadSetting.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("UploadSetting", { + Never = 0, + Ask = 1, + Always = 2, +}) diff --git a/lib/Enum/UserCFrame.lua b/lib/Enum/UserCFrame.lua new file mode 100644 index 0000000..028dd6e --- /dev/null +++ b/lib/Enum/UserCFrame.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("UserCFrame", { + Head = 0, + LeftHand = 1, + RightHand = 2, +}) diff --git a/lib/Enum/UserInputState.lua b/lib/Enum/UserInputState.lua new file mode 100644 index 0000000..60913ca --- /dev/null +++ b/lib/Enum/UserInputState.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("UserInputState", { + Begin = 0, + Change = 1, + End = 2, + Cancel = 3, + None = 4, +}) diff --git a/lib/Enum/UserInputType.lua b/lib/Enum/UserInputType.lua index 9c51437..14db26a 100644 --- a/lib/Enum/UserInputType.lua +++ b/lib/Enum/UserInputType.lua @@ -1,24 +1,25 @@ -local createEnum = import("../createEnum") - -return createEnum("UserInputType", { - MouseButton1 = 0, - MouseButton2 = 1, - MouseButton3 = 2, - MouseWheel = 3, - MouseMovement = 4, - Touch = 7, - Keyboard = 8, - Focus = 9, - Accelerometer = 10, - Gyro = 11, - Gamepad1 = 12, - Gamepad2 = 13, - Gamepad3 = 14, - Gamepad4 = 15, - Gamepad5 = 16, - Gamepad6 = 17, - Gamepad7 = 18, - Gamepad8 = 19, - TextInput = 20, - None = 21, -}) \ No newline at end of file +local createEnum = import("../createEnum") + +return createEnum("UserInputType", { + MouseButton1 = 0, + MouseButton2 = 1, + MouseButton3 = 2, + MouseWheel = 3, + MouseMovement = 4, + Touch = 7, + Keyboard = 8, + Focus = 9, + Accelerometer = 10, + Gyro = 11, + Gamepad1 = 12, + Gamepad2 = 13, + Gamepad3 = 14, + Gamepad4 = 15, + Gamepad5 = 16, + Gamepad6 = 17, + Gamepad7 = 18, + Gamepad8 = 19, + TextInput = 20, + InputMethod = 21, + None = 22, +}) diff --git a/lib/Enum/VRTouchpad.lua b/lib/Enum/VRTouchpad.lua new file mode 100644 index 0000000..8ec5c84 --- /dev/null +++ b/lib/Enum/VRTouchpad.lua @@ -0,0 +1,6 @@ +local createEnum = import("../createEnum") + +return createEnum("VRTouchpad", { + Left = 0, + Right = 1, +}) diff --git a/lib/Enum/VRTouchpadMode.lua b/lib/Enum/VRTouchpadMode.lua new file mode 100644 index 0000000..0440894 --- /dev/null +++ b/lib/Enum/VRTouchpadMode.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("VRTouchpadMode", { + Touch = 0, + VirtualThumbstick = 1, + ABXY = 2, +}) diff --git a/lib/Enum/VerticalAlignment.lua b/lib/Enum/VerticalAlignment.lua index ef2cc4c..18abfd0 100644 --- a/lib/Enum/VerticalAlignment.lua +++ b/lib/Enum/VerticalAlignment.lua @@ -4,4 +4,4 @@ return createEnum("VerticalAlignment", { Center = 0, Top = 1, Bottom = 2, -}) \ No newline at end of file +}) diff --git a/lib/Enum/VerticalScrollBarPosition.lua b/lib/Enum/VerticalScrollBarPosition.lua index eb8b857..c78aa7b 100644 --- a/lib/Enum/VerticalScrollBarPosition.lua +++ b/lib/Enum/VerticalScrollBarPosition.lua @@ -3,4 +3,4 @@ local createEnum = import("../createEnum") return createEnum("VerticalScrollBarPosition", { Left = 1, Right = 0, -}) \ No newline at end of file +}) diff --git a/lib/Enum/VibrationMotor.lua b/lib/Enum/VibrationMotor.lua new file mode 100644 index 0000000..f9ebec0 --- /dev/null +++ b/lib/Enum/VibrationMotor.lua @@ -0,0 +1,10 @@ +local createEnum = import("../createEnum") + +return createEnum("VibrationMotor", { + Large = 0, + Small = 1, + LeftTrigger = 2, + RightTrigger = 3, + LeftHand = 4, + RightHand = 5, +}) diff --git a/lib/Enum/VideoQualitySettings.lua b/lib/Enum/VideoQualitySettings.lua new file mode 100644 index 0000000..e38663a --- /dev/null +++ b/lib/Enum/VideoQualitySettings.lua @@ -0,0 +1,7 @@ +local createEnum = import("../createEnum") + +return createEnum("VideoQualitySettings", { + LowResolution = 0, + MediumResolution = 1, + HighResolution = 2, +}) diff --git a/lib/Enum/VirtualInputMode.lua b/lib/Enum/VirtualInputMode.lua index 6dc2f8d..528a8e1 100644 --- a/lib/Enum/VirtualInputMode.lua +++ b/lib/Enum/VirtualInputMode.lua @@ -1,7 +1,7 @@ local createEnum = import("../createEnum") return createEnum("VirtualInputMode", { - None = 0, Recording = 1, Playing = 2, -}) \ No newline at end of file + None = 0, +}) diff --git a/lib/Enum/WaterDirection.lua b/lib/Enum/WaterDirection.lua new file mode 100644 index 0000000..d50ba05 --- /dev/null +++ b/lib/Enum/WaterDirection.lua @@ -0,0 +1,10 @@ +local createEnum = import("../createEnum") + +return createEnum("WaterDirection", { + NegX = 0, + X = 1, + NegY = 2, + Y = 3, + NegZ = 4, + Z = 5, +}) diff --git a/lib/Enum/WaterForce.lua b/lib/Enum/WaterForce.lua new file mode 100644 index 0000000..8a084f6 --- /dev/null +++ b/lib/Enum/WaterForce.lua @@ -0,0 +1,9 @@ +local createEnum = import("../createEnum") + +return createEnum("WaterForce", { + None = 0, + Small = 1, + Medium = 2, + Strong = 3, + Max = 4, +}) diff --git a/lib/Enum/ZIndexBehavior.lua b/lib/Enum/ZIndexBehavior.lua index 1e297fd..1a18bba 100644 --- a/lib/Enum/ZIndexBehavior.lua +++ b/lib/Enum/ZIndexBehavior.lua @@ -3,4 +3,4 @@ local createEnum = import("../createEnum") return createEnum("ZIndexBehavior", { Global = 0, Sibling = 1, -}) \ No newline at end of file +}) diff --git a/lib/Enum/init.lua b/lib/Enum/init.lua index 351dffc..6e68a28 100644 --- a/lib/Enum/init.lua +++ b/lib/Enum/init.lua @@ -1,41 +1,200 @@ local createEnumGroup = import("../createEnumGroup") -local names = { - "ConnectionState", - "CreatorType", - "DataStoreRequestType", - "EasingDirection", - "EasingStyle", - "FillDirection", - "Font", - "HorizontalAlignment", - "HttpContentType", - "Platform", - "InfoType", - "KeyCode", - "MouseBehavior", - "PlaybackState", - "ScaleType", - "ScrollBarInset", - "ScrollingDirection", - "SizeConstraint", - "SortOrder", - "TextTruncate", - "TextXAlignment", - "TextYAlignment", - "ThumbnailSize", - "ThumbnailType", - "UserInputType", - "VerticalAlignment", - "VerticalScrollBarPosition", - "VirtualInputMode", - "ZIndexBehavior", -} - -local enums = {} - -for _, name in ipairs(names) do - enums[name] = import("./" .. name) -end - -return createEnumGroup(enums) +return createEnumGroup({ + ActionType = import("./ActionType"); + ActuatorRelativeTo = import("./ActuatorRelativeTo"); + ActuatorType = import("./ActuatorType"); + AlignType = import("./AlignType"); + AnimationPriority = import("./AnimationPriority"); + AppShellActionType = import("./AppShellActionType"); + AspectType = import("./AspectType"); + AssetFetchStatus = import("./AssetFetchStatus"); + AssetType = import("./AssetType"); + AvatarContextMenuOption = import("./AvatarContextMenuOption"); + AvatarJointPositionType = import("./AvatarJointPositionType"); + Axis = import("./Axis"); + BinType = import("./BinType"); + BodyPart = import("./BodyPart"); + BodyPartR15 = import("./BodyPartR15"); + BorderMode = import("./BorderMode"); + BreakReason = import("./BreakReason"); + Button = import("./Button"); + ButtonStyle = import("./ButtonStyle"); + CameraMode = import("./CameraMode"); + CameraPanMode = import("./CameraPanMode"); + CameraType = import("./CameraType"); + CellBlock = import("./CellBlock"); + CellMaterial = import("./CellMaterial"); + CellOrientation = import("./CellOrientation"); + CenterDialogType = import("./CenterDialogType"); + ChatCallbackType = import("./ChatCallbackType"); + ChatColor = import("./ChatColor"); + ChatMode = import("./ChatMode"); + ChatPrivacyMode = import("./ChatPrivacyMode"); + ChatStyle = import("./ChatStyle"); + CollisionFidelity = import("./CollisionFidelity"); + ComputerCameraMovementMode = import("./ComputerCameraMovementMode"); + ComputerMovementMode = import("./ComputerMovementMode"); + ConnectionError = import("./ConnectionError"); + ConnectionState = import("./ConnectionState"); + ContextActionPriority = import("./ContextActionPriority"); + ContextActionResult = import("./ContextActionResult"); + ControlMode = import("./ControlMode"); + CoreGuiType = import("./CoreGuiType"); + CreatorType = import("./CreatorType"); + CurrencyType = import("./CurrencyType"); + CustomCameraMode = import("./CustomCameraMode"); + DataStoreRequestType = import("./DataStoreRequestType"); + DevCameraOcclusionMode = import("./DevCameraOcclusionMode"); + DevComputerCameraMovementMode = import("./DevComputerCameraMovementMode"); + DevComputerMovementMode = import("./DevComputerMovementMode"); + DevTouchCameraMovementMode = import("./DevTouchCameraMovementMode"); + DevTouchMovementMode = import("./DevTouchMovementMode"); + DeveloperMemoryTag = import("./DeveloperMemoryTag"); + DeviceType = import("./DeviceType"); + DialogBehaviorType = import("./DialogBehaviorType"); + DialogPurpose = import("./DialogPurpose"); + DialogTone = import("./DialogTone"); + DominantAxis = import("./DominantAxis"); + DraftStatusCode = import("./DraftStatusCode"); + EasingDirection = import("./EasingDirection"); + EasingStyle = import("./EasingStyle"); + ElasticBehavior = import("./ElasticBehavior"); + EnviromentalPhysicsThrottle = import("./EnviromentalPhysicsThrottle"); + ErrorReporting = import("./ErrorReporting"); + ExplosionType = import("./ExplosionType"); + FillDirection = import("./FillDirection"); + FilterResult = import("./FilterResult"); + Font = import("./Font"); + FontSize = import("./FontSize"); + FormFactor = import("./FormFactor"); + FrameStyle = import("./FrameStyle"); + FramerateManagerMode = import("./FramerateManagerMode"); + FriendRequestEvent = import("./FriendRequestEvent"); + FriendStatus = import("./FriendStatus"); + FunctionalTestResult = import("./FunctionalTestResult"); + GameAvatarType = import("./GameAvatarType"); + GearGenreSetting = import("./GearGenreSetting"); + GearType = import("./GearType"); + Genre = import("./Genre"); + GraphicsMode = import("./GraphicsMode"); + HandlesStyle = import("./HandlesStyle"); + HorizontalAlignment = import("./HorizontalAlignment"); + HoverAnimateSpeed = import("./HoverAnimateSpeed"); + HttpCachePolicy = import("./HttpCachePolicy"); + HttpContentType = import("./HttpContentType"); + HttpError = import("./HttpError"); + HttpRequestType = import("./HttpRequestType"); + HumanoidCollisionType = import("./HumanoidCollisionType"); + HumanoidDisplayDistanceType = import("./HumanoidDisplayDistanceType"); + HumanoidHealthDisplayType = import("./HumanoidHealthDisplayType"); + HumanoidRigType = import("./HumanoidRigType"); + HumanoidStateType = import("./HumanoidStateType"); + InOut = import("./InOut"); + InfoType = import("./InfoType"); + InitialDockState = import("./InitialDockState"); + InlineAlignment = import("./InlineAlignment"); + InputType = import("./InputType"); + JointCreationMode = import("./JointCreationMode"); + JointType = import("./JointType"); + KeyCode = import("./KeyCode"); + KeywordFilterType = import("./KeywordFilterType"); + Language = import("./Language"); + LanguagePreference = import("./LanguagePreference"); + LeftRight = import("./LeftRight"); + LevelOfDetailSetting = import("./LevelOfDetailSetting"); + Limb = import("./Limb"); + ListDisplayMode = import("./ListDisplayMode"); + ListenerType = import("./ListenerType"); + Material = import("./Material"); + MembershipType = import("./MembershipType"); + MeshType = import("./MeshType"); + MessageType = import("./MessageType"); + MouseBehavior = import("./MouseBehavior"); + MoveState = import("./MoveState"); + NameOcclusion = import("./NameOcclusion"); + NetworkOwnership = import("./NetworkOwnership"); + NormalId = import("./NormalId"); + OutputLayoutMode = import("./OutputLayoutMode"); + OverrideMouseIconBehavior = import("./OverrideMouseIconBehavior"); + PacketPriority = import("./PacketPriority"); + PartType = import("./PartType"); + PathStatus = import("./PathStatus"); + PathWaypointAction = import("./PathWaypointAction"); + PermissionLevelShown = import("./PermissionLevelShown"); + Platform = import("./Platform"); + PlaybackState = import("./PlaybackState"); + PlayerActions = import("./PlayerActions"); + PlayerChatType = import("./PlayerChatType"); + PoseEasingDirection = import("./PoseEasingDirection"); + PoseEasingStyle = import("./PoseEasingStyle"); + PrivilegeType = import("./PrivilegeType"); + ProductPurchaseDecision = import("./ProductPurchaseDecision"); + QualityLevel = import("./QualityLevel"); + R15CollisionType = import("./R15CollisionType"); + RenderFidelity = import("./RenderFidelity"); + RenderPriority = import("./RenderPriority"); + RenderingTestComparisonMethod = import("./RenderingTestComparisonMethod"); + ReverbType = import("./ReverbType"); + RibbonTool = import("./RibbonTool"); + RollOffMode = import("./RollOffMode"); + RotationType = import("./RotationType"); + RuntimeUndoBehavior = import("./RuntimeUndoBehavior"); + SaveFilter = import("./SaveFilter"); + SavedQualitySetting = import("./SavedQualitySetting"); + ScaleType = import("./ScaleType"); + ScreenOrientation = import("./ScreenOrientation"); + ScrollBarInset = import("./ScrollBarInset"); + ScrollingDirection = import("./ScrollingDirection"); + ServerAudioBehavior = import("./ServerAudioBehavior"); + SizeConstraint = import("./SizeConstraint"); + SortOrder = import("./SortOrder"); + SoundType = import("./SoundType"); + SpecialKey = import("./SpecialKey"); + StartCorner = import("./StartCorner"); + Status = import("./Status"); + StreamingPauseMode = import("./StreamingPauseMode"); + StudioStyleGuideColor = import("./StudioStyleGuideColor"); + StudioStyleGuideModifier = import("./StudioStyleGuideModifier"); + Style = import("./Style"); + SurfaceConstraint = import("./SurfaceConstraint"); + SurfaceGuiSizingMode = import("./SurfaceGuiSizingMode"); + SurfaceType = import("./SurfaceType"); + SwipeDirection = import("./SwipeDirection"); + TableMajorAxis = import("./TableMajorAxis"); + Technology = import("./Technology"); + TeleportResult = import("./TeleportResult"); + TeleportState = import("./TeleportState"); + TeleportType = import("./TeleportType"); + TextFilterContext = import("./TextFilterContext"); + TextTruncate = import("./TextTruncate"); + TextXAlignment = import("./TextXAlignment"); + TextYAlignment = import("./TextYAlignment"); + TextureMode = import("./TextureMode"); + TextureQueryType = import("./TextureQueryType"); + ThreadPoolConfig = import("./ThreadPoolConfig"); + ThrottlingPriority = import("./ThrottlingPriority"); + ThumbnailSize = import("./ThumbnailSize"); + ThumbnailType = import("./ThumbnailType"); + TickCountSampleMethod = import("./TickCountSampleMethod"); + TopBottom = import("./TopBottom"); + TouchCameraMovementMode = import("./TouchCameraMovementMode"); + TouchMovementMode = import("./TouchMovementMode"); + TweenStatus = import("./TweenStatus"); + UITheme = import("./UITheme"); + UiMessageType = import("./UiMessageType"); + UploadSetting = import("./UploadSetting"); + UserCFrame = import("./UserCFrame"); + UserInputState = import("./UserInputState"); + UserInputType = import("./UserInputType"); + VRTouchpad = import("./VRTouchpad"); + VRTouchpadMode = import("./VRTouchpadMode"); + VerticalAlignment = import("./VerticalAlignment"); + VerticalScrollBarPosition = import("./VerticalScrollBarPosition"); + VibrationMotor = import("./VibrationMotor"); + VideoQualitySettings = import("./VideoQualitySettings"); + VirtualInputMode = import("./VirtualInputMode"); + WaterDirection = import("./WaterDirection"); + WaterForce = import("./WaterForce"); + ZIndexBehavior = import("./ZIndexBehavior"); +})