cluaupp 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/LICENSE +21 -0
- package/README.md +119 -0
- package/bin/cluau.js +4 -0
- package/bin/cluaupp.js +4 -0
- package/docs/README.md +20 -0
- package/docs/architecture.md +110 -0
- package/docs/cli.md +69 -0
- package/docs/comparison.md +37 -0
- package/docs/config.md +31 -0
- package/docs/cpp-advanced.md +71 -0
- package/docs/cpp-const.md +52 -0
- package/docs/cpp-organization.md +61 -0
- package/docs/cpp-safety.md +58 -0
- package/docs/cpp-types.md +66 -0
- package/docs/getting-started.md +169 -0
- package/docs/intro.md +37 -0
- package/docs/libraries.md +77 -0
- package/docs/roblox-api.md +81 -0
- package/docs/syntax.md +131 -0
- package/include/cluaupp/datatypes.hpp +581 -0
- package/include/cluaupp/generated/enums.hpp +4920 -0
- package/include/cluaupp/generated/instances.hpp +12489 -0
- package/include/cluaupp/libs/chrono.hpp +26 -0
- package/include/cluaupp/libs/cmdr.hpp +16 -0
- package/include/cluaupp/libs/dataservice.hpp +141 -0
- package/include/cluaupp/libs/display.hpp +13 -0
- package/include/cluaupp/libs/ezvisual.hpp +18 -0
- package/include/cluaupp/libs/formatnumber.hpp +15 -0
- package/include/cluaupp/libs/fusion.hpp +41 -0
- package/include/cluaupp/libs/iris.hpp +40 -0
- package/include/cluaupp/libs/janitor.hpp +35 -0
- package/include/cluaupp/libs/math.hpp +14 -0
- package/include/cluaupp/libs/module3d.hpp +25 -0
- package/include/cluaupp/libs/net.hpp +42 -0
- package/include/cluaupp/libs/promise.hpp +30 -0
- package/include/cluaupp/libs/spring.hpp +18 -0
- package/include/cluaupp/libs/statemachine.hpp +19 -0
- package/include/cluaupp/libs/stickybillboard.hpp +14 -0
- package/include/cluaupp/libs/topbarplus.hpp +29 -0
- package/include/cluaupp/libs/twinkle.hpp +15 -0
- package/include/cluaupp/libs/vfx.hpp +13 -0
- package/include/cluaupp/libs.hpp +25 -0
- package/include/cluaupp/roblox.hpp +28 -0
- package/package.json +65 -0
- package/runtime/ArrayIndexer/init.luau +144 -0
- package/runtime/Chrono/Client/ClientClock.luau +202 -0
- package/runtime/Chrono/Client/InterpolationBuffer.luau +74 -0
- package/runtime/Chrono/Client/ModelResolver.luau +53 -0
- package/runtime/Chrono/Client/Player.luau +113 -0
- package/runtime/Chrono/Client/Receiver.luau +395 -0
- package/runtime/Chrono/Client/Replicate.luau +333 -0
- package/runtime/Chrono/Client/Sender.luau +205 -0
- package/runtime/Chrono/LICENSE +21 -0
- package/runtime/Chrono/Server/EntityGrid.luau +299 -0
- package/runtime/Chrono/Server/Player.luau +141 -0
- package/runtime/Chrono/Server/Receiver.luau +287 -0
- package/runtime/Chrono/Server/Replicate.luau +415 -0
- package/runtime/Chrono/Server/Sender.luau +306 -0
- package/runtime/Chrono/Server/ServerClock.luau +50 -0
- package/runtime/Chrono/Shared/ApplyMounts.luau +137 -0
- package/runtime/Chrono/Shared/Bin.luau +31 -0
- package/runtime/Chrono/Shared/ClockUnwrap.luau +70 -0
- package/runtime/Chrono/Shared/Config.luau +264 -0
- package/runtime/Chrono/Shared/Entity.luau +1016 -0
- package/runtime/Chrono/Shared/Events.luau +39 -0
- package/runtime/Chrono/Shared/Holder.luau +210 -0
- package/runtime/Chrono/Shared/InterpolationMath.luau +51 -0
- package/runtime/Chrono/Shared/ModelHelper.luau +122 -0
- package/runtime/Chrono/Shared/Remotes/ClientClockRelay.model.json +3 -0
- package/runtime/Chrono/Shared/Remotes/ClientHeartbeat.model.json +3 -0
- package/runtime/Chrono/Shared/Remotes/ClientLoaded.model.json +3 -0
- package/runtime/Chrono/Shared/Remotes/Death.model.json +3 -0
- package/runtime/Chrono/Shared/Remotes/Heartbeat.model.json +3 -0
- package/runtime/Chrono/Shared/Remotes/Replicate.model.json +3 -0
- package/runtime/Chrono/Shared/Remotes/ReplicateFull.model.json +3 -0
- package/runtime/Chrono/Shared/Remotes/SafeReplicate.model.json +3 -0
- package/runtime/Chrono/Shared/ReplicationRules.luau +122 -0
- package/runtime/Chrono/Shared/Signal.luau +219 -0
- package/runtime/Chrono/Shared/Snapshots.luau +218 -0
- package/runtime/Chrono/Shared/Stats.luau +204 -0
- package/runtime/Chrono/Shared/Ticker.luau +112 -0
- package/runtime/Chrono/Shared/Types.luau +247 -0
- package/runtime/Chrono/Shared/Warn.luau +33 -0
- package/runtime/Chrono/Shared/_CUSTOM_MODEL_REP/init.model.json +3 -0
- package/runtime/Chrono/_impl/Client/ClientClock.luau +202 -0
- package/runtime/Chrono/_impl/Client/InterpolationBuffer.luau +74 -0
- package/runtime/Chrono/_impl/Client/ModelResolver.luau +53 -0
- package/runtime/Chrono/_impl/Client/Player.luau +113 -0
- package/runtime/Chrono/_impl/Client/Receiver.luau +395 -0
- package/runtime/Chrono/_impl/Client/Replicate.luau +333 -0
- package/runtime/Chrono/_impl/Client/Sender.luau +205 -0
- package/runtime/Chrono/_impl/LICENSE +21 -0
- package/runtime/Chrono/_impl/Server/EntityGrid.luau +299 -0
- package/runtime/Chrono/_impl/Server/Player.luau +141 -0
- package/runtime/Chrono/_impl/Server/Receiver.luau +287 -0
- package/runtime/Chrono/_impl/Server/Replicate.luau +415 -0
- package/runtime/Chrono/_impl/Server/Sender.luau +306 -0
- package/runtime/Chrono/_impl/Server/ServerClock.luau +50 -0
- package/runtime/Chrono/_impl/Shared/ApplyMounts.luau +137 -0
- package/runtime/Chrono/_impl/Shared/Bin.luau +31 -0
- package/runtime/Chrono/_impl/Shared/ClockUnwrap.luau +70 -0
- package/runtime/Chrono/_impl/Shared/Config.luau +264 -0
- package/runtime/Chrono/_impl/Shared/Entity.luau +1016 -0
- package/runtime/Chrono/_impl/Shared/Events.luau +39 -0
- package/runtime/Chrono/_impl/Shared/Holder.luau +210 -0
- package/runtime/Chrono/_impl/Shared/InterpolationMath.luau +51 -0
- package/runtime/Chrono/_impl/Shared/ModelHelper.luau +122 -0
- package/runtime/Chrono/_impl/Shared/Remotes/ClientClockRelay.model.json +3 -0
- package/runtime/Chrono/_impl/Shared/Remotes/ClientHeartbeat.model.json +3 -0
- package/runtime/Chrono/_impl/Shared/Remotes/ClientLoaded.model.json +3 -0
- package/runtime/Chrono/_impl/Shared/Remotes/Death.model.json +3 -0
- package/runtime/Chrono/_impl/Shared/Remotes/Heartbeat.model.json +3 -0
- package/runtime/Chrono/_impl/Shared/Remotes/Replicate.model.json +3 -0
- package/runtime/Chrono/_impl/Shared/Remotes/ReplicateFull.model.json +3 -0
- package/runtime/Chrono/_impl/Shared/Remotes/SafeReplicate.model.json +3 -0
- package/runtime/Chrono/_impl/Shared/ReplicationRules.luau +122 -0
- package/runtime/Chrono/_impl/Shared/Signal.luau +219 -0
- package/runtime/Chrono/_impl/Shared/Snapshots.luau +218 -0
- package/runtime/Chrono/_impl/Shared/Stats.luau +204 -0
- package/runtime/Chrono/_impl/Shared/Ticker.luau +112 -0
- package/runtime/Chrono/_impl/Shared/Types.luau +247 -0
- package/runtime/Chrono/_impl/Shared/Warn.luau +33 -0
- package/runtime/Chrono/_impl/Shared/_CUSTOM_MODEL_REP/init.model.json +3 -0
- package/runtime/Chrono/_impl/init.luau +96 -0
- package/runtime/Chrono/init.luau +14 -0
- package/runtime/Cmdr/BuiltInCommands/Admin/announce.luau +21 -0
- package/runtime/Cmdr/BuiltInCommands/Admin/announceServer.luau +17 -0
- package/runtime/Cmdr/BuiltInCommands/Admin/ban.luau +59 -0
- package/runtime/Cmdr/BuiltInCommands/Admin/banServer.luau +30 -0
- package/runtime/Cmdr/BuiltInCommands/Admin/gotoPlace.luau +35 -0
- package/runtime/Cmdr/BuiltInCommands/Admin/gotoPlaceServer.luau +17 -0
- package/runtime/Cmdr/BuiltInCommands/Admin/kick.luau +19 -0
- package/runtime/Cmdr/BuiltInCommands/Admin/kickServer.luau +27 -0
- package/runtime/Cmdr/BuiltInCommands/Admin/kill.luau +13 -0
- package/runtime/Cmdr/BuiltInCommands/Admin/killServer.luau +13 -0
- package/runtime/Cmdr/BuiltInCommands/Admin/respawn.luau +15 -0
- package/runtime/Cmdr/BuiltInCommands/Admin/respawnServer.luau +7 -0
- package/runtime/Cmdr/BuiltInCommands/Admin/teleport.luau +30 -0
- package/runtime/Cmdr/BuiltInCommands/Admin/teleportServer.luau +26 -0
- package/runtime/Cmdr/BuiltInCommands/Admin/unban.luau +26 -0
- package/runtime/Cmdr/BuiltInCommands/Admin/unbanServer.luau +10 -0
- package/runtime/Cmdr/BuiltInCommands/Debug/blink.luau +35 -0
- package/runtime/Cmdr/BuiltInCommands/Debug/fetch.luau +12 -0
- package/runtime/Cmdr/BuiltInCommands/Debug/fetchServer.luau +7 -0
- package/runtime/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +20 -0
- package/runtime/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +28 -0
- package/runtime/Cmdr/BuiltInCommands/Debug/position.luau +30 -0
- package/runtime/Cmdr/BuiltInCommands/Debug/thru.luau +50 -0
- package/runtime/Cmdr/BuiltInCommands/Debug/uptime.luau +6 -0
- package/runtime/Cmdr/BuiltInCommands/Debug/uptimeServer.luau +12 -0
- package/runtime/Cmdr/BuiltInCommands/Debug/version.luau +12 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/alias.luau +22 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/bind.luau +104 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/clear.luau +20 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/convertTimestamp.luau +18 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/echo.luau +17 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/edit.luau +75 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/exit.luau +11 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/history.luau +27 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/hover.luau +21 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/jsonArrayDecode.luau +25 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/jsonArrayEncode.luau +18 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/len.luau +16 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/math.luau +36 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/pick.luau +21 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/rand.luau +27 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/replace.luau +32 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/resolve.luau +32 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/run.luau +20 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/runLines.luau +34 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/runif.luau +95 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/unbind.luau +27 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/var.luau +29 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/varServer.luau +37 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/varSet.luau +30 -0
- package/runtime/Cmdr/BuiltInCommands/Utility/varSetServer.luau +29 -0
- package/runtime/Cmdr/BuiltInCommands/help.luau +96 -0
- package/runtime/Cmdr/BuiltInTypes/BrickColor.luau +258 -0
- package/runtime/Cmdr/BuiltInTypes/Color3.luau +59 -0
- package/runtime/Cmdr/BuiltInTypes/Command.luau +23 -0
- package/runtime/Cmdr/BuiltInTypes/Duration.luau +111 -0
- package/runtime/Cmdr/BuiltInTypes/JSON.luau +13 -0
- package/runtime/Cmdr/BuiltInTypes/MathOperator.luau +43 -0
- package/runtime/Cmdr/BuiltInTypes/Player.luau +36 -0
- package/runtime/Cmdr/BuiltInTypes/PlayerId.luau +66 -0
- package/runtime/Cmdr/BuiltInTypes/Primitives.luau +145 -0
- package/runtime/Cmdr/BuiltInTypes/StoredKey.luau +33 -0
- package/runtime/Cmdr/BuiltInTypes/Team.luau +49 -0
- package/runtime/Cmdr/BuiltInTypes/Type.luau +23 -0
- package/runtime/Cmdr/BuiltInTypes/URL.luau +18 -0
- package/runtime/Cmdr/BuiltInTypes/UserInput.luau +32 -0
- package/runtime/Cmdr/BuiltInTypes/Vector.luau +58 -0
- package/runtime/Cmdr/CmdrClient/CmdrInterface/AutoComplete.luau +240 -0
- package/runtime/Cmdr/CmdrClient/CmdrInterface/CreateGui.luau +227 -0
- package/runtime/Cmdr/CmdrClient/CmdrInterface/Window.luau +713 -0
- package/runtime/Cmdr/CmdrClient/CmdrInterface/init.luau +18 -0
- package/runtime/Cmdr/CmdrClient/DefaultEventHandlers.luau +18 -0
- package/runtime/Cmdr/CmdrClient/Shared/Argument.luau +395 -0
- package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +39 -0
- package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +36 -0
- package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +10 -0
- package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +10 -0
- package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +10 -0
- package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +8 -0
- package/runtime/Cmdr/CmdrClient/Shared/Command.luau +415 -0
- package/runtime/Cmdr/CmdrClient/Shared/Dispatcher.luau +407 -0
- package/runtime/Cmdr/CmdrClient/Shared/Registry.luau +717 -0
- package/runtime/Cmdr/CmdrClient/Shared/Util.luau +879 -0
- package/runtime/Cmdr/CmdrClient/init.luau +377 -0
- package/runtime/Cmdr/LICENSE +21 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Admin/announce.luau +21 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Admin/announceServer.luau +17 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Admin/ban.luau +59 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Admin/banServer.luau +30 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Admin/gotoPlace.luau +35 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Admin/gotoPlaceServer.luau +17 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Admin/kick.luau +19 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Admin/kickServer.luau +27 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Admin/kill.luau +13 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Admin/killServer.luau +13 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Admin/respawn.luau +15 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Admin/respawnServer.luau +7 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Admin/teleport.luau +30 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Admin/teleportServer.luau +26 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Admin/unban.luau +26 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Admin/unbanServer.luau +10 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Debug/blink.luau +35 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Debug/fetch.luau +12 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Debug/fetchServer.luau +7 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +20 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +28 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Debug/position.luau +30 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Debug/thru.luau +50 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Debug/uptime.luau +6 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Debug/uptimeServer.luau +12 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Debug/version.luau +12 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/alias.luau +22 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/bind.luau +104 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/clear.luau +20 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/convertTimestamp.luau +18 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/echo.luau +17 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/edit.luau +75 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/exit.luau +11 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/history.luau +27 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/hover.luau +21 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayDecode.luau +25 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayEncode.luau +18 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/len.luau +16 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/math.luau +36 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/pick.luau +21 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/rand.luau +27 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/replace.luau +32 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/resolve.luau +32 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/run.luau +20 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/runLines.luau +34 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/runif.luau +95 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/unbind.luau +27 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/var.luau +29 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/varServer.luau +37 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/varSet.luau +30 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/Utility/varSetServer.luau +29 -0
- package/runtime/Cmdr/_impl/BuiltInCommands/help.luau +96 -0
- package/runtime/Cmdr/_impl/BuiltInTypes/BrickColor.luau +258 -0
- package/runtime/Cmdr/_impl/BuiltInTypes/Color3.luau +59 -0
- package/runtime/Cmdr/_impl/BuiltInTypes/Command.luau +23 -0
- package/runtime/Cmdr/_impl/BuiltInTypes/Duration.luau +111 -0
- package/runtime/Cmdr/_impl/BuiltInTypes/JSON.luau +13 -0
- package/runtime/Cmdr/_impl/BuiltInTypes/MathOperator.luau +43 -0
- package/runtime/Cmdr/_impl/BuiltInTypes/Player.luau +36 -0
- package/runtime/Cmdr/_impl/BuiltInTypes/PlayerId.luau +66 -0
- package/runtime/Cmdr/_impl/BuiltInTypes/Primitives.luau +145 -0
- package/runtime/Cmdr/_impl/BuiltInTypes/StoredKey.luau +33 -0
- package/runtime/Cmdr/_impl/BuiltInTypes/Team.luau +49 -0
- package/runtime/Cmdr/_impl/BuiltInTypes/Type.luau +23 -0
- package/runtime/Cmdr/_impl/BuiltInTypes/URL.luau +18 -0
- package/runtime/Cmdr/_impl/BuiltInTypes/UserInput.luau +32 -0
- package/runtime/Cmdr/_impl/BuiltInTypes/Vector.luau +58 -0
- package/runtime/Cmdr/_impl/CmdrClient/CmdrInterface/AutoComplete.luau +240 -0
- package/runtime/Cmdr/_impl/CmdrClient/CmdrInterface/CreateGui.luau +227 -0
- package/runtime/Cmdr/_impl/CmdrClient/CmdrInterface/Window.luau +713 -0
- package/runtime/Cmdr/_impl/CmdrClient/CmdrInterface/init.luau +18 -0
- package/runtime/Cmdr/_impl/CmdrClient/DefaultEventHandlers.luau +18 -0
- package/runtime/Cmdr/_impl/CmdrClient/Shared/Argument.luau +395 -0
- package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +39 -0
- package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +36 -0
- package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +10 -0
- package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +10 -0
- package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +10 -0
- package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +8 -0
- package/runtime/Cmdr/_impl/CmdrClient/Shared/Command.luau +415 -0
- package/runtime/Cmdr/_impl/CmdrClient/Shared/Dispatcher.luau +407 -0
- package/runtime/Cmdr/_impl/CmdrClient/Shared/Registry.luau +717 -0
- package/runtime/Cmdr/_impl/CmdrClient/Shared/Util.luau +879 -0
- package/runtime/Cmdr/_impl/CmdrClient/init.luau +377 -0
- package/runtime/Cmdr/_impl/LICENSE +21 -0
- package/runtime/Cmdr/_impl/init.luau +178 -0
- package/runtime/Cmdr/init.luau +8 -0
- package/runtime/DataService/Client.luau +209 -0
- package/runtime/DataService/Data.luau +886 -0
- package/runtime/DataService/Enum.luau +6 -0
- package/runtime/DataService/Enums.luau +10 -0
- package/runtime/DataService/Packages/quicknet/DataTypes.luau +70 -0
- package/runtime/DataService/Packages/quicknet/Enums.luau +85 -0
- package/runtime/DataService/Packages/quicknet/EnumsToNativeTypes.luau +57 -0
- package/runtime/DataService/Packages/quicknet/Parser.luau +355 -0
- package/runtime/DataService/Packages/quicknet/QuickNet.luau +953 -0
- package/runtime/DataService/Packages/quicknet/Serialize.luau +2020 -0
- package/runtime/DataService/Packages/quicknet/Types.luau +72 -0
- package/runtime/DataService/Packages/quicknet/init.luau +1 -0
- package/runtime/DataService/Packages/signal/init.luau +433 -0
- package/runtime/DataService/Path.luau +236 -0
- package/runtime/DataService/ProfileStore.luau +2243 -0
- package/runtime/DataService/Replicator.luau +172 -0
- package/runtime/DataService/Server.luau +412 -0
- package/runtime/DataService/init.luau +204 -0
- package/runtime/Display/LICENSE +201 -0
- package/runtime/Display/_impl/LICENSE +201 -0
- package/runtime/Display/_impl/init.luau +269 -0
- package/runtime/Display/_impl/option.luau +237 -0
- package/runtime/Display/init.luau +10 -0
- package/runtime/Display/option.luau +237 -0
- package/runtime/EzVisualz/Dropshadow.luau +148 -0
- package/runtime/EzVisualz/Gradient.luau +452 -0
- package/runtime/EzVisualz/GradientTemplates/Bubblegum.luau +16 -0
- package/runtime/EzVisualz/GradientTemplates/Chrome.luau +16 -0
- package/runtime/EzVisualz/GradientTemplates/Death.luau +15 -0
- package/runtime/EzVisualz/GradientTemplates/Electric.luau +14 -0
- package/runtime/EzVisualz/GradientTemplates/Fire.luau +13 -0
- package/runtime/EzVisualz/GradientTemplates/Galaxy.luau +11 -0
- package/runtime/EzVisualz/GradientTemplates/Ghost.luau +16 -0
- package/runtime/EzVisualz/GradientTemplates/Gold.luau +14 -0
- package/runtime/EzVisualz/GradientTemplates/Green.luau +14 -0
- package/runtime/EzVisualz/GradientTemplates/Ice.luau +14 -0
- package/runtime/EzVisualz/GradientTemplates/Lava.luau +15 -0
- package/runtime/EzVisualz/GradientTemplates/Matrix.luau +19 -0
- package/runtime/EzVisualz/GradientTemplates/Neon.luau +12 -0
- package/runtime/EzVisualz/GradientTemplates/Oceanic.luau +15 -0
- package/runtime/EzVisualz/GradientTemplates/Rainbow.luau +13 -0
- package/runtime/EzVisualz/GradientTemplates/Silver.luau +12 -0
- package/runtime/EzVisualz/GradientTemplates/Sunset.luau +11 -0
- package/runtime/EzVisualz/GradientTemplates/Zebra.luau +18 -0
- package/runtime/EzVisualz/GradientTemplates/init.luau +9 -0
- package/runtime/EzVisualz/LICENSE.md +21 -0
- package/runtime/EzVisualz/Presets/Bubblegum.luau +36 -0
- package/runtime/EzVisualz/Presets/ChromeStroke.luau +15 -0
- package/runtime/EzVisualz/Presets/DeathStroke.luau +15 -0
- package/runtime/EzVisualz/Presets/ElectricStroke.luau +54 -0
- package/runtime/EzVisualz/Presets/FireStroke.luau +29 -0
- package/runtime/EzVisualz/Presets/GalaxyStroke.luau +31 -0
- package/runtime/EzVisualz/Presets/Ghost.luau +10 -0
- package/runtime/EzVisualz/Presets/GhostStroke.luau +15 -0
- package/runtime/EzVisualz/Presets/Gold.luau +10 -0
- package/runtime/EzVisualz/Presets/GoldStroke.luau +15 -0
- package/runtime/EzVisualz/Presets/GreenOutline.luau +23 -0
- package/runtime/EzVisualz/Presets/IceStroke.luau +15 -0
- package/runtime/EzVisualz/Presets/Lava.luau +9 -0
- package/runtime/EzVisualz/Presets/LavaStroke.luau +13 -0
- package/runtime/EzVisualz/Presets/Matrix.luau +21 -0
- package/runtime/EzVisualz/Presets/NeonStroke.luau +30 -0
- package/runtime/EzVisualz/Presets/OceanicStroke.luau +15 -0
- package/runtime/EzVisualz/Presets/Rainbow.luau +9 -0
- package/runtime/EzVisualz/Presets/RainbowOutline.luau +23 -0
- package/runtime/EzVisualz/Presets/RainbowStroke.luau +13 -0
- package/runtime/EzVisualz/Presets/Shine.luau +48 -0
- package/runtime/EzVisualz/Presets/ShineOutline.luau +66 -0
- package/runtime/EzVisualz/Presets/Silver.luau +10 -0
- package/runtime/EzVisualz/Presets/SilverStroke.luau +15 -0
- package/runtime/EzVisualz/Presets/SunsetStroke.luau +31 -0
- package/runtime/EzVisualz/Presets/WaveStroke.luau +33 -0
- package/runtime/EzVisualz/Presets/Zebra.luau +21 -0
- package/runtime/EzVisualz/Presets/init.luau +9 -0
- package/runtime/EzVisualz/Stroke.luau +167 -0
- package/runtime/EzVisualz/Util.luau +7 -0
- package/runtime/EzVisualz/_impl/Dropshadow.luau +148 -0
- package/runtime/EzVisualz/_impl/Gradient.luau +452 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Bubblegum.luau +16 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Chrome.luau +16 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Death.luau +15 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Electric.luau +14 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Fire.luau +13 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Galaxy.luau +11 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Ghost.luau +16 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Gold.luau +14 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Green.luau +14 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Ice.luau +14 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Lava.luau +15 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Matrix.luau +19 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Neon.luau +12 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Oceanic.luau +15 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Rainbow.luau +13 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Silver.luau +12 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Sunset.luau +11 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/Zebra.luau +18 -0
- package/runtime/EzVisualz/_impl/GradientTemplates/init.luau +9 -0
- package/runtime/EzVisualz/_impl/LICENSE.md +21 -0
- package/runtime/EzVisualz/_impl/Presets/Bubblegum.luau +36 -0
- package/runtime/EzVisualz/_impl/Presets/ChromeStroke.luau +15 -0
- package/runtime/EzVisualz/_impl/Presets/DeathStroke.luau +15 -0
- package/runtime/EzVisualz/_impl/Presets/ElectricStroke.luau +54 -0
- package/runtime/EzVisualz/_impl/Presets/FireStroke.luau +29 -0
- package/runtime/EzVisualz/_impl/Presets/GalaxyStroke.luau +31 -0
- package/runtime/EzVisualz/_impl/Presets/Ghost.luau +10 -0
- package/runtime/EzVisualz/_impl/Presets/GhostStroke.luau +15 -0
- package/runtime/EzVisualz/_impl/Presets/Gold.luau +10 -0
- package/runtime/EzVisualz/_impl/Presets/GoldStroke.luau +15 -0
- package/runtime/EzVisualz/_impl/Presets/GreenOutline.luau +23 -0
- package/runtime/EzVisualz/_impl/Presets/IceStroke.luau +15 -0
- package/runtime/EzVisualz/_impl/Presets/Lava.luau +9 -0
- package/runtime/EzVisualz/_impl/Presets/LavaStroke.luau +13 -0
- package/runtime/EzVisualz/_impl/Presets/Matrix.luau +21 -0
- package/runtime/EzVisualz/_impl/Presets/NeonStroke.luau +30 -0
- package/runtime/EzVisualz/_impl/Presets/OceanicStroke.luau +15 -0
- package/runtime/EzVisualz/_impl/Presets/Rainbow.luau +9 -0
- package/runtime/EzVisualz/_impl/Presets/RainbowOutline.luau +23 -0
- package/runtime/EzVisualz/_impl/Presets/RainbowStroke.luau +13 -0
- package/runtime/EzVisualz/_impl/Presets/Shine.luau +48 -0
- package/runtime/EzVisualz/_impl/Presets/ShineOutline.luau +66 -0
- package/runtime/EzVisualz/_impl/Presets/Silver.luau +10 -0
- package/runtime/EzVisualz/_impl/Presets/SilverStroke.luau +15 -0
- package/runtime/EzVisualz/_impl/Presets/SunsetStroke.luau +31 -0
- package/runtime/EzVisualz/_impl/Presets/WaveStroke.luau +33 -0
- package/runtime/EzVisualz/_impl/Presets/Zebra.luau +21 -0
- package/runtime/EzVisualz/_impl/Presets/init.luau +9 -0
- package/runtime/EzVisualz/_impl/Stroke.luau +167 -0
- package/runtime/EzVisualz/_impl/Util.luau +7 -0
- package/runtime/EzVisualz/_impl/init.luau +319 -0
- package/runtime/EzVisualz/_impl/wally.lock +8 -0
- package/runtime/EzVisualz/_impl/wally.toml +8 -0
- package/runtime/EzVisualz/init.luau +9 -0
- package/runtime/EzVisualz/wally.lock +8 -0
- package/runtime/EzVisualz/wally.toml +8 -0
- package/runtime/FormatNumber/LICENSE.md +25 -0
- package/runtime/FormatNumber/Main/DecimalFormatSymbols.lua +43 -0
- package/runtime/FormatNumber/Main/IntegerWidth.lua +41 -0
- package/runtime/FormatNumber/Main/Notation.lua +116 -0
- package/runtime/FormatNumber/Main/Precision.lua +179 -0
- package/runtime/FormatNumber/Main/init.lua +199 -0
- package/runtime/FormatNumber/Simple/init.lua +76 -0
- package/runtime/FormatNumber/Version.lua +82 -0
- package/runtime/FormatNumber/_impl/LICENSE.md +25 -0
- package/runtime/FormatNumber/_impl/Main/DecimalFormatSymbols.lua +43 -0
- package/runtime/FormatNumber/_impl/Main/IntegerWidth.lua +41 -0
- package/runtime/FormatNumber/_impl/Main/Notation.lua +116 -0
- package/runtime/FormatNumber/_impl/Main/Precision.lua +179 -0
- package/runtime/FormatNumber/_impl/Main/init.lua +199 -0
- package/runtime/FormatNumber/_impl/Simple/init.lua +76 -0
- package/runtime/FormatNumber/_impl/Version.lua +82 -0
- package/runtime/FormatNumber/_impl/_internal/class.lua +204 -0
- package/runtime/FormatNumber/_impl/_internal/decimal_conversion.lua +30 -0
- package/runtime/FormatNumber/_impl/_internal/enums.lua +55 -0
- package/runtime/FormatNumber/_impl/_internal/format.lua +342 -0
- package/runtime/FormatNumber/_impl/_internal/formatter_settings.lua +160 -0
- package/runtime/FormatNumber/_impl/_internal/init.lua +8 -0
- package/runtime/FormatNumber/_impl/_internal/skeleton.lua +541 -0
- package/runtime/FormatNumber/_impl/init.lua +20 -0
- package/runtime/FormatNumber/_internal/class.lua +204 -0
- package/runtime/FormatNumber/_internal/decimal_conversion.lua +30 -0
- package/runtime/FormatNumber/_internal/enums.lua +55 -0
- package/runtime/FormatNumber/_internal/format.lua +342 -0
- package/runtime/FormatNumber/_internal/formatter_settings.lua +160 -0
- package/runtime/FormatNumber/_internal/init.lua +8 -0
- package/runtime/FormatNumber/_internal/skeleton.lua +541 -0
- package/runtime/FormatNumber/init.lua +20 -0
- package/runtime/FormatNumber/init.luau +20 -0
- package/runtime/Fusion/Animation/ExternalTime.luau +84 -0
- package/runtime/Fusion/Animation/Spring.luau +313 -0
- package/runtime/Fusion/Animation/Stopwatch.luau +128 -0
- package/runtime/Fusion/Animation/Tween.luau +178 -0
- package/runtime/Fusion/Animation/getTweenDuration.luau +27 -0
- package/runtime/Fusion/Animation/getTweenRatio.luau +47 -0
- package/runtime/Fusion/Animation/lerpType.luau +164 -0
- package/runtime/Fusion/Animation/packType.luau +100 -0
- package/runtime/Fusion/Animation/springCoefficients.luau +80 -0
- package/runtime/Fusion/Animation/unpackType.luau +103 -0
- package/runtime/Fusion/Colour/Oklab.luau +70 -0
- package/runtime/Fusion/Colour/sRGB.luau +47 -0
- package/runtime/Fusion/External.luau +156 -0
- package/runtime/Fusion/ExternalDebug.luau +70 -0
- package/runtime/Fusion/Graph/Observer.luau +111 -0
- package/runtime/Fusion/Graph/castToGraph.luau +29 -0
- package/runtime/Fusion/Graph/change.luau +81 -0
- package/runtime/Fusion/Graph/depend.luau +33 -0
- package/runtime/Fusion/Graph/evaluate.luau +56 -0
- package/runtime/Fusion/Instances/Attribute.luau +58 -0
- package/runtime/Fusion/Instances/AttributeChange.luau +47 -0
- package/runtime/Fusion/Instances/AttributeOut.luau +63 -0
- package/runtime/Fusion/Instances/Child.luau +21 -0
- package/runtime/Fusion/Instances/Children.luau +148 -0
- package/runtime/Fusion/Instances/Hydrate.luau +29 -0
- package/runtime/Fusion/Instances/New.luau +48 -0
- package/runtime/Fusion/Instances/OnChange.luau +50 -0
- package/runtime/Fusion/Instances/OnEvent.luau +54 -0
- package/runtime/Fusion/Instances/Out.luau +69 -0
- package/runtime/Fusion/Instances/Tag.luau +61 -0
- package/runtime/Fusion/Instances/applyInstanceProps.luau +149 -0
- package/runtime/Fusion/Instances/defaultProps.luau +194 -0
- package/runtime/Fusion/LICENSE +21 -0
- package/runtime/Fusion/Logging/formatError.luau +49 -0
- package/runtime/Fusion/Logging/messages.luau +46 -0
- package/runtime/Fusion/Logging/parseError.luau +25 -0
- package/runtime/Fusion/Memory/checkLifetime.luau +134 -0
- package/runtime/Fusion/Memory/deriveScope.luau +24 -0
- package/runtime/Fusion/Memory/deriveScopeImpl.luau +40 -0
- package/runtime/Fusion/Memory/doCleanup.luau +91 -0
- package/runtime/Fusion/Memory/innerScope.luau +34 -0
- package/runtime/Fusion/Memory/insert.luau +22 -0
- package/runtime/Fusion/Memory/needsDestruction.luau +17 -0
- package/runtime/Fusion/Memory/scoped.luau +24 -0
- package/runtime/Fusion/RobloxExternal.luau +98 -0
- package/runtime/Fusion/State/Computed.luau +122 -0
- package/runtime/Fusion/State/For/Disassembly.luau +207 -0
- package/runtime/Fusion/State/For/ForTypes.luau +30 -0
- package/runtime/Fusion/State/For/init.luau +101 -0
- package/runtime/Fusion/State/ForKeys.luau +88 -0
- package/runtime/Fusion/State/ForPairs.luau +91 -0
- package/runtime/Fusion/State/ForValues.luau +88 -0
- package/runtime/Fusion/State/Value.luau +76 -0
- package/runtime/Fusion/State/castToState.luau +26 -0
- package/runtime/Fusion/State/peek.luau +31 -0
- package/runtime/Fusion/State/updateAll.luau +1 -0
- package/runtime/Fusion/Types.luau +318 -0
- package/runtime/Fusion/Utility/Contextual.luau +91 -0
- package/runtime/Fusion/Utility/Safe.luau +23 -0
- package/runtime/Fusion/Utility/isSimilar.luau +29 -0
- package/runtime/Fusion/Utility/merge.luau +35 -0
- package/runtime/Fusion/Utility/nameOf.luau +35 -0
- package/runtime/Fusion/Utility/never.luau +14 -0
- package/runtime/Fusion/Utility/nicknames.luau +11 -0
- package/runtime/Fusion/Utility/xtypeof.luau +27 -0
- package/runtime/Fusion/_impl/Animation/ExternalTime.luau +84 -0
- package/runtime/Fusion/_impl/Animation/Spring.luau +313 -0
- package/runtime/Fusion/_impl/Animation/Stopwatch.luau +128 -0
- package/runtime/Fusion/_impl/Animation/Tween.luau +178 -0
- package/runtime/Fusion/_impl/Animation/getTweenDuration.luau +27 -0
- package/runtime/Fusion/_impl/Animation/getTweenRatio.luau +47 -0
- package/runtime/Fusion/_impl/Animation/lerpType.luau +164 -0
- package/runtime/Fusion/_impl/Animation/packType.luau +100 -0
- package/runtime/Fusion/_impl/Animation/springCoefficients.luau +80 -0
- package/runtime/Fusion/_impl/Animation/unpackType.luau +103 -0
- package/runtime/Fusion/_impl/Colour/Oklab.luau +70 -0
- package/runtime/Fusion/_impl/Colour/sRGB.luau +47 -0
- package/runtime/Fusion/_impl/External.luau +156 -0
- package/runtime/Fusion/_impl/ExternalDebug.luau +70 -0
- package/runtime/Fusion/_impl/Graph/Observer.luau +111 -0
- package/runtime/Fusion/_impl/Graph/castToGraph.luau +29 -0
- package/runtime/Fusion/_impl/Graph/change.luau +81 -0
- package/runtime/Fusion/_impl/Graph/depend.luau +33 -0
- package/runtime/Fusion/_impl/Graph/evaluate.luau +56 -0
- package/runtime/Fusion/_impl/Instances/Attribute.luau +58 -0
- package/runtime/Fusion/_impl/Instances/AttributeChange.luau +47 -0
- package/runtime/Fusion/_impl/Instances/AttributeOut.luau +63 -0
- package/runtime/Fusion/_impl/Instances/Child.luau +21 -0
- package/runtime/Fusion/_impl/Instances/Children.luau +148 -0
- package/runtime/Fusion/_impl/Instances/Hydrate.luau +29 -0
- package/runtime/Fusion/_impl/Instances/New.luau +48 -0
- package/runtime/Fusion/_impl/Instances/OnChange.luau +50 -0
- package/runtime/Fusion/_impl/Instances/OnEvent.luau +54 -0
- package/runtime/Fusion/_impl/Instances/Out.luau +69 -0
- package/runtime/Fusion/_impl/Instances/Tag.luau +61 -0
- package/runtime/Fusion/_impl/Instances/applyInstanceProps.luau +149 -0
- package/runtime/Fusion/_impl/Instances/defaultProps.luau +194 -0
- package/runtime/Fusion/_impl/LICENSE +21 -0
- package/runtime/Fusion/_impl/Logging/formatError.luau +49 -0
- package/runtime/Fusion/_impl/Logging/messages.luau +46 -0
- package/runtime/Fusion/_impl/Logging/parseError.luau +25 -0
- package/runtime/Fusion/_impl/Memory/checkLifetime.luau +134 -0
- package/runtime/Fusion/_impl/Memory/deriveScope.luau +24 -0
- package/runtime/Fusion/_impl/Memory/deriveScopeImpl.luau +40 -0
- package/runtime/Fusion/_impl/Memory/doCleanup.luau +91 -0
- package/runtime/Fusion/_impl/Memory/innerScope.luau +34 -0
- package/runtime/Fusion/_impl/Memory/insert.luau +22 -0
- package/runtime/Fusion/_impl/Memory/needsDestruction.luau +17 -0
- package/runtime/Fusion/_impl/Memory/scoped.luau +24 -0
- package/runtime/Fusion/_impl/RobloxExternal.luau +98 -0
- package/runtime/Fusion/_impl/State/Computed.luau +122 -0
- package/runtime/Fusion/_impl/State/For/Disassembly.luau +207 -0
- package/runtime/Fusion/_impl/State/For/ForTypes.luau +30 -0
- package/runtime/Fusion/_impl/State/For/init.luau +101 -0
- package/runtime/Fusion/_impl/State/ForKeys.luau +88 -0
- package/runtime/Fusion/_impl/State/ForPairs.luau +91 -0
- package/runtime/Fusion/_impl/State/ForValues.luau +88 -0
- package/runtime/Fusion/_impl/State/Value.luau +76 -0
- package/runtime/Fusion/_impl/State/castToState.luau +26 -0
- package/runtime/Fusion/_impl/State/peek.luau +31 -0
- package/runtime/Fusion/_impl/State/updateAll.luau +1 -0
- package/runtime/Fusion/_impl/Types.luau +318 -0
- package/runtime/Fusion/_impl/Utility/Contextual.luau +91 -0
- package/runtime/Fusion/_impl/Utility/Safe.luau +23 -0
- package/runtime/Fusion/_impl/Utility/isSimilar.luau +29 -0
- package/runtime/Fusion/_impl/Utility/merge.luau +35 -0
- package/runtime/Fusion/_impl/Utility/nameOf.luau +35 -0
- package/runtime/Fusion/_impl/Utility/never.luau +14 -0
- package/runtime/Fusion/_impl/Utility/nicknames.luau +11 -0
- package/runtime/Fusion/_impl/Utility/xtypeof.luau +27 -0
- package/runtime/Fusion/_impl/init.luau +83 -0
- package/runtime/Fusion/init.luau +27 -0
- package/runtime/Iris/API.lua +2085 -0
- package/runtime/Iris/Internal.lua +895 -0
- package/runtime/Iris/LICENSE.txt +21 -0
- package/runtime/Iris/PubTypes.lua +43 -0
- package/runtime/Iris/Types.lua +660 -0
- package/runtime/Iris/WidgetTypes.lua +521 -0
- package/runtime/Iris/_impl/API.lua +2085 -0
- package/runtime/Iris/_impl/Internal.lua +895 -0
- package/runtime/Iris/_impl/LICENSE.txt +21 -0
- package/runtime/Iris/_impl/PubTypes.lua +43 -0
- package/runtime/Iris/_impl/Types.lua +660 -0
- package/runtime/Iris/_impl/WidgetTypes.lua +521 -0
- package/runtime/Iris/_impl/config.lua +305 -0
- package/runtime/Iris/_impl/init.lua +696 -0
- package/runtime/Iris/_impl/widgets/Button.lua +90 -0
- package/runtime/Iris/_impl/widgets/Checkbox.lua +115 -0
- package/runtime/Iris/_impl/widgets/Combo.lua +492 -0
- package/runtime/Iris/_impl/widgets/Format.lua +140 -0
- package/runtime/Iris/_impl/widgets/Image.lua +155 -0
- package/runtime/Iris/_impl/widgets/Input.lua +1232 -0
- package/runtime/Iris/_impl/widgets/Menu.lua +599 -0
- package/runtime/Iris/_impl/widgets/Plot.lua +639 -0
- package/runtime/Iris/_impl/widgets/RadioButton.lua +126 -0
- package/runtime/Iris/_impl/widgets/Root.lua +143 -0
- package/runtime/Iris/_impl/widgets/Tab.lua +333 -0
- package/runtime/Iris/_impl/widgets/Table.lua +635 -0
- package/runtime/Iris/_impl/widgets/Text.lua +132 -0
- package/runtime/Iris/_impl/widgets/Tree.lua +287 -0
- package/runtime/Iris/_impl/widgets/Window.lua +1075 -0
- package/runtime/Iris/_impl/widgets/init.lua +447 -0
- package/runtime/Iris/config.lua +305 -0
- package/runtime/Iris/init.lua +696 -0
- package/runtime/Iris/init.luau +12 -0
- package/runtime/Iris/widgets/Button.lua +90 -0
- package/runtime/Iris/widgets/Checkbox.lua +115 -0
- package/runtime/Iris/widgets/Combo.lua +492 -0
- package/runtime/Iris/widgets/Format.lua +140 -0
- package/runtime/Iris/widgets/Image.lua +155 -0
- package/runtime/Iris/widgets/Input.lua +1232 -0
- package/runtime/Iris/widgets/Menu.lua +599 -0
- package/runtime/Iris/widgets/Plot.lua +639 -0
- package/runtime/Iris/widgets/RadioButton.lua +126 -0
- package/runtime/Iris/widgets/Root.lua +143 -0
- package/runtime/Iris/widgets/Tab.lua +333 -0
- package/runtime/Iris/widgets/Table.lua +635 -0
- package/runtime/Iris/widgets/Text.lua +132 -0
- package/runtime/Iris/widgets/Tree.lua +287 -0
- package/runtime/Iris/widgets/Window.lua +1075 -0
- package/runtime/Iris/widgets/init.lua +447 -0
- package/runtime/Janitor/FastDefer.luau +33 -0
- package/runtime/Janitor/LICENSE +21 -0
- package/runtime/Janitor/_impl/FastDefer.luau +33 -0
- package/runtime/Janitor/_impl/LICENSE +21 -0
- package/runtime/Janitor/_impl/init.luau +999 -0
- package/runtime/Janitor/init.luau +45 -0
- package/runtime/MathUtils/init.luau +100 -0
- package/runtime/Module3D/LICENSE +21 -0
- package/runtime/Module3D/_impl/LICENSE +21 -0
- package/runtime/Module3D/_impl/init.luau +269 -0
- package/runtime/Module3D/init.luau +14 -0
- package/runtime/Net/init.luau +125 -0
- package/runtime/Net/src/codec.luau +153 -0
- package/runtime/Occlude/init.luau +54 -0
- package/runtime/Promise/LICENSE +21 -0
- package/runtime/Promise/_impl/LICENSE +21 -0
- package/runtime/Promise/_impl/init.lua +1991 -0
- package/runtime/Promise/init.lua +1990 -0
- package/runtime/Promise/init.luau +13 -0
- package/runtime/Promise/types.luau +46 -0
- package/runtime/SOURCES.md +22 -0
- package/runtime/Spring/LICENSE +201 -0
- package/runtime/Spring/_impl/LICENSE +201 -0
- package/runtime/Spring/_impl/init.luau +111 -0
- package/runtime/Spring/init.luau +24 -0
- package/runtime/StateMachine/Classes/State.lua +375 -0
- package/runtime/StateMachine/Classes/Transition.lua +336 -0
- package/runtime/StateMachine/Functions/deepCopy.lua +19 -0
- package/runtime/StateMachine/Functions/mergeTables.lua +22 -0
- package/runtime/StateMachine/LICENSE +19 -0
- package/runtime/StateMachine/Vendor/Signal.lua +386 -0
- package/runtime/StateMachine/Vendor/Trove.lua +188 -0
- package/runtime/StateMachine/_impl/Classes/State.lua +375 -0
- package/runtime/StateMachine/_impl/Classes/Transition.lua +336 -0
- package/runtime/StateMachine/_impl/Functions/deepCopy.lua +19 -0
- package/runtime/StateMachine/_impl/Functions/mergeTables.lua +22 -0
- package/runtime/StateMachine/_impl/LICENSE +19 -0
- package/runtime/StateMachine/_impl/Vendor/Signal.lua +386 -0
- package/runtime/StateMachine/_impl/Vendor/Trove.lua +188 -0
- package/runtime/StateMachine/_impl/init.lua +595 -0
- package/runtime/StateMachine/init.lua +595 -0
- package/runtime/StateMachine/init.luau +10 -0
- package/runtime/StickyBillboard/init.luau +167 -0
- package/runtime/TopbarPlus/Attribute.lua +35 -0
- package/runtime/TopbarPlus/Elements/Caption.lua +316 -0
- package/runtime/TopbarPlus/Elements/Container.lua +215 -0
- package/runtime/TopbarPlus/Elements/Dropdown.lua +315 -0
- package/runtime/TopbarPlus/Elements/Indicator.lua +91 -0
- package/runtime/TopbarPlus/Elements/Menu.lua +180 -0
- package/runtime/TopbarPlus/Elements/Notice.lua +113 -0
- package/runtime/TopbarPlus/Elements/Selection.lua +49 -0
- package/runtime/TopbarPlus/Elements/Widget.lua +437 -0
- package/runtime/TopbarPlus/Features/Gamepad.lua +201 -0
- package/runtime/TopbarPlus/Features/Overflow.lua +360 -0
- package/runtime/TopbarPlus/Features/Themes/Classic.lua +27 -0
- package/runtime/TopbarPlus/Features/Themes/Default.lua +75 -0
- package/runtime/TopbarPlus/Features/Themes/init.lua +353 -0
- package/runtime/TopbarPlus/LICENSE +381 -0
- package/runtime/TopbarPlus/Packages/GoodSignal.lua +182 -0
- package/runtime/TopbarPlus/Packages/Janitor.lua +322 -0
- package/runtime/TopbarPlus/Reference.lua +30 -0
- package/runtime/TopbarPlus/Types.lua +477 -0
- package/runtime/TopbarPlus/Utility.lua +462 -0
- package/runtime/TopbarPlus/VERSION.lua +51 -0
- package/runtime/TopbarPlus/_impl/Attribute.lua +35 -0
- package/runtime/TopbarPlus/_impl/Elements/Caption.lua +316 -0
- package/runtime/TopbarPlus/_impl/Elements/Container.lua +215 -0
- package/runtime/TopbarPlus/_impl/Elements/Dropdown.lua +315 -0
- package/runtime/TopbarPlus/_impl/Elements/Indicator.lua +91 -0
- package/runtime/TopbarPlus/_impl/Elements/Menu.lua +180 -0
- package/runtime/TopbarPlus/_impl/Elements/Notice.lua +113 -0
- package/runtime/TopbarPlus/_impl/Elements/Selection.lua +49 -0
- package/runtime/TopbarPlus/_impl/Elements/Widget.lua +437 -0
- package/runtime/TopbarPlus/_impl/Features/Gamepad.lua +201 -0
- package/runtime/TopbarPlus/_impl/Features/Overflow.lua +360 -0
- package/runtime/TopbarPlus/_impl/Features/Themes/Classic.lua +27 -0
- package/runtime/TopbarPlus/_impl/Features/Themes/Default.lua +75 -0
- package/runtime/TopbarPlus/_impl/Features/Themes/init.lua +353 -0
- package/runtime/TopbarPlus/_impl/LICENSE +381 -0
- package/runtime/TopbarPlus/_impl/Packages/GoodSignal.lua +182 -0
- package/runtime/TopbarPlus/_impl/Packages/Janitor.lua +322 -0
- package/runtime/TopbarPlus/_impl/Reference.lua +30 -0
- package/runtime/TopbarPlus/_impl/Types.lua +477 -0
- package/runtime/TopbarPlus/_impl/Utility.lua +462 -0
- package/runtime/TopbarPlus/_impl/VERSION.lua +51 -0
- package/runtime/TopbarPlus/_impl/init.lua +1249 -0
- package/runtime/TopbarPlus/init.lua +1249 -0
- package/runtime/TopbarPlus/init.luau +8 -0
- package/runtime/Twinkle/init.luau +157 -0
- package/runtime/VfxUtil/init.luau +164 -0
- package/src/api.generated.js +3675 -0
- package/src/api.js +57 -0
- package/src/architecture.js +393 -0
- package/src/cli.js +192 -0
- package/src/compile.js +40 -0
- package/src/emit.js +213 -0
- package/src/lex.js +149 -0
- package/src/libs.js +355 -0
- package/src/parse.js +421 -0
- package/src/preprocess.js +80 -0
- package/src/understand.js +453 -0
- package/templates/game/.clangd +5 -0
- package/templates/game/.vscode/c_cpp_properties.json +23 -0
- package/templates/game/.vscode/settings.json +12 -0
- package/templates/game/Packages/.gitkeep +0 -0
- package/templates/game/cluaupp.config.json +6 -0
- package/templates/game/compile_flags.txt +3 -0
- package/templates/game/default.project.json +39 -0
- package/templates/game/package.json +9 -0
- package/templates/game/src/client/init.client.cpp +5 -0
- package/templates/game/src/server/leaderstats.server.cpp +28 -0
- package/templates/game/src/shared/config.cpp +5 -0
- package/templates/game/src/shared/config.h +3 -0
- package/templates/game/wally.toml +11 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
const COMMAND_COLOR = Color3.fromRGB(230, 126, 34)
|
|
2
|
+
const TEXT_COLOR = Color3.fromRGB(230, 230, 230)
|
|
3
|
+
|
|
4
|
+
const ARGUMENT_SHORTHANDS = [[
|
|
5
|
+
Argument Shorthands
|
|
6
|
+
-------------------
|
|
7
|
+
. Me/Self
|
|
8
|
+
* All/Everyone
|
|
9
|
+
** Others
|
|
10
|
+
? Random
|
|
11
|
+
?N List of N random values
|
|
12
|
+
]]
|
|
13
|
+
|
|
14
|
+
const TIPS = [[
|
|
15
|
+
Tips
|
|
16
|
+
----
|
|
17
|
+
• Use the Tab key to autocomplete commands and suggestions
|
|
18
|
+
• Easily select and copy command output
|
|
19
|
+
]]
|
|
20
|
+
|
|
21
|
+
return {
|
|
22
|
+
Name = "help",
|
|
23
|
+
Aliases = { "cmds", "commands" },
|
|
24
|
+
Description = "Displays a list of all commands, or inspects one command.",
|
|
25
|
+
Group = "Help",
|
|
26
|
+
|
|
27
|
+
Args = {
|
|
28
|
+
{
|
|
29
|
+
Type = "command",
|
|
30
|
+
Name = "Command",
|
|
31
|
+
Description = "The command to view information on.",
|
|
32
|
+
Optional = true,
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
|
|
36
|
+
ClientRun = function(context: any, commandName: string?): string
|
|
37
|
+
const registry = context.Cmdr.Registry
|
|
38
|
+
if commandName then
|
|
39
|
+
const command = registry:GetCommand(commandName)
|
|
40
|
+
context:Reply(`Command: {command.Name}`, COMMAND_COLOR)
|
|
41
|
+
|
|
42
|
+
if command.Aliases and #command.Aliases > 0 then
|
|
43
|
+
context:Reply(`Aliases: {table.concat(command.Aliases, ", ")}`, TEXT_COLOR)
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
if command.Description then
|
|
47
|
+
context:Reply(`Description: {command.Description}`, TEXT_COLOR)
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
if command.Group then
|
|
51
|
+
context:Reply(`Group: {command.Group}`, TEXT_COLOR)
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
if command.Args then
|
|
55
|
+
for index, argument in ipairs(command.Args) do
|
|
56
|
+
if type(argument) == "table" then
|
|
57
|
+
const optional = if argument.Optional then "?" else ""
|
|
58
|
+
|
|
59
|
+
context:Reply(`#{index} {argument.Name}{optional}: {argument.Type} - {argument.Description}`)
|
|
60
|
+
else
|
|
61
|
+
context:Reply(`#{index} Unknown (inline argument)`)
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
else
|
|
66
|
+
context:Reply(ARGUMENT_SHORTHANDS)
|
|
67
|
+
context:Reply(TIPS)
|
|
68
|
+
|
|
69
|
+
const commands = registry:GetCommands()
|
|
70
|
+
table.sort(commands, function(a, b)
|
|
71
|
+
if a.Group and b.Group then
|
|
72
|
+
return a.Group < b.Group
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
return a.Group ~= nil
|
|
76
|
+
end)
|
|
77
|
+
|
|
78
|
+
local lastGroup
|
|
79
|
+
for _, command in ipairs(commands) do
|
|
80
|
+
if command._isHidden then
|
|
81
|
+
continue
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
const group = command.Group or "No Group"
|
|
85
|
+
if lastGroup ~= group then
|
|
86
|
+
context:Reply(`\n{group}\n{("-"):rep(#group)}`)
|
|
87
|
+
lastGroup = group
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
context:Reply(if command.Description then `{command.Name} - {command.Description}` else command.Name)
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
return ""
|
|
95
|
+
end,
|
|
96
|
+
}
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
const BRICK_COLOR_NAMES = {
|
|
2
|
+
"White",
|
|
3
|
+
"Grey",
|
|
4
|
+
"Light yellow",
|
|
5
|
+
"Brick yellow",
|
|
6
|
+
"Light green (Mint)",
|
|
7
|
+
"Light reddish violet",
|
|
8
|
+
"Pastel Blue",
|
|
9
|
+
"Light orange brown",
|
|
10
|
+
"Nougat",
|
|
11
|
+
"Bright red",
|
|
12
|
+
"Med. reddish violet",
|
|
13
|
+
"Bright blue",
|
|
14
|
+
"Bright yellow",
|
|
15
|
+
"Earth orange",
|
|
16
|
+
"Black",
|
|
17
|
+
"Dark grey",
|
|
18
|
+
"Dark green",
|
|
19
|
+
"Medium green",
|
|
20
|
+
"Lig. Yellowich orange",
|
|
21
|
+
"Bright green",
|
|
22
|
+
"Dark orange",
|
|
23
|
+
"Light bluish violet",
|
|
24
|
+
"Transparent",
|
|
25
|
+
"Tr. Red",
|
|
26
|
+
"Tr. Lg blue",
|
|
27
|
+
"Tr. Blue",
|
|
28
|
+
"Tr. Yellow",
|
|
29
|
+
"Light blue",
|
|
30
|
+
"Tr. Flu. Reddish orange",
|
|
31
|
+
"Tr. Green",
|
|
32
|
+
"Tr. Flu. Green",
|
|
33
|
+
"Phosph. White",
|
|
34
|
+
"Light red",
|
|
35
|
+
"Medium red",
|
|
36
|
+
"Medium blue",
|
|
37
|
+
"Light grey",
|
|
38
|
+
"Bright violet",
|
|
39
|
+
"Br. yellowish orange",
|
|
40
|
+
"Bright orange",
|
|
41
|
+
"Bright bluish green",
|
|
42
|
+
"Earth yellow",
|
|
43
|
+
"Bright bluish violet",
|
|
44
|
+
"Tr. Brown",
|
|
45
|
+
"Medium bluish violet",
|
|
46
|
+
"Tr. Medi. reddish violet",
|
|
47
|
+
"Med. yellowish green",
|
|
48
|
+
"Med. bluish green",
|
|
49
|
+
"Light bluish green",
|
|
50
|
+
"Br. yellowish green",
|
|
51
|
+
"Lig. yellowish green",
|
|
52
|
+
"Med. yellowish orange",
|
|
53
|
+
"Br. reddish orange",
|
|
54
|
+
"Bright reddish violet",
|
|
55
|
+
"Light orange",
|
|
56
|
+
"Tr. Bright bluish violet",
|
|
57
|
+
"Gold",
|
|
58
|
+
"Dark nougat",
|
|
59
|
+
"Silver",
|
|
60
|
+
"Neon orange",
|
|
61
|
+
"Neon green",
|
|
62
|
+
"Sand blue",
|
|
63
|
+
"Sand violet",
|
|
64
|
+
"Medium orange",
|
|
65
|
+
"Sand yellow",
|
|
66
|
+
"Earth blue",
|
|
67
|
+
"Earth green",
|
|
68
|
+
"Tr. Flu. Blue",
|
|
69
|
+
"Sand blue metallic",
|
|
70
|
+
"Sand violet metallic",
|
|
71
|
+
"Sand yellow metallic",
|
|
72
|
+
"Dark grey metallic",
|
|
73
|
+
"Black metallic",
|
|
74
|
+
"Light grey metallic",
|
|
75
|
+
"Sand green",
|
|
76
|
+
"Sand red",
|
|
77
|
+
"Dark red",
|
|
78
|
+
"Tr. Flu. Yellow",
|
|
79
|
+
"Tr. Flu. Red",
|
|
80
|
+
"Gun metallic",
|
|
81
|
+
"Red flip/flop",
|
|
82
|
+
"Yellow flip/flop",
|
|
83
|
+
"Silver flip/flop",
|
|
84
|
+
"Curry",
|
|
85
|
+
"Fire Yellow",
|
|
86
|
+
"Flame yellowish orange",
|
|
87
|
+
"Reddish brown",
|
|
88
|
+
"Flame reddish orange",
|
|
89
|
+
"Medium stone grey",
|
|
90
|
+
"Royal blue",
|
|
91
|
+
"Dark Royal blue",
|
|
92
|
+
"Bright reddish lilac",
|
|
93
|
+
"Dark stone grey",
|
|
94
|
+
"Lemon metalic",
|
|
95
|
+
"Light stone grey",
|
|
96
|
+
"Dark Curry",
|
|
97
|
+
"Faded green",
|
|
98
|
+
"Turquoise",
|
|
99
|
+
"Light Royal blue",
|
|
100
|
+
"Medium Royal blue",
|
|
101
|
+
"Rust",
|
|
102
|
+
"Brown",
|
|
103
|
+
"Reddish lilac",
|
|
104
|
+
"Lilac",
|
|
105
|
+
"Light lilac",
|
|
106
|
+
"Bright purple",
|
|
107
|
+
"Light purple",
|
|
108
|
+
"Light pink",
|
|
109
|
+
"Light brick yellow",
|
|
110
|
+
"Warm yellowish orange",
|
|
111
|
+
"Cool yellow",
|
|
112
|
+
"Dove blue",
|
|
113
|
+
"Medium lilac",
|
|
114
|
+
"Slime green",
|
|
115
|
+
"Smoky grey",
|
|
116
|
+
"Dark blue",
|
|
117
|
+
"Parsley green",
|
|
118
|
+
"Steel blue",
|
|
119
|
+
"Storm blue",
|
|
120
|
+
"Lapis",
|
|
121
|
+
"Dark indigo",
|
|
122
|
+
"Sea green",
|
|
123
|
+
"Shamrock",
|
|
124
|
+
"Fossil",
|
|
125
|
+
"Mulberry",
|
|
126
|
+
"Forest green",
|
|
127
|
+
"Cadet blue",
|
|
128
|
+
"Electric blue",
|
|
129
|
+
"Eggplant",
|
|
130
|
+
"Moss",
|
|
131
|
+
"Artichoke",
|
|
132
|
+
"Sage green",
|
|
133
|
+
"Ghost grey",
|
|
134
|
+
"Lilac",
|
|
135
|
+
"Plum",
|
|
136
|
+
"Olivine",
|
|
137
|
+
"Laurel green",
|
|
138
|
+
"Quill grey",
|
|
139
|
+
"Crimson",
|
|
140
|
+
"Mint",
|
|
141
|
+
"Baby blue",
|
|
142
|
+
"Carnation pink",
|
|
143
|
+
"Persimmon",
|
|
144
|
+
"Maroon",
|
|
145
|
+
"Gold",
|
|
146
|
+
"Daisy orange",
|
|
147
|
+
"Pearl",
|
|
148
|
+
"Fog",
|
|
149
|
+
"Salmon",
|
|
150
|
+
"Terra Cotta",
|
|
151
|
+
"Cocoa",
|
|
152
|
+
"Wheat",
|
|
153
|
+
"Buttermilk",
|
|
154
|
+
"Mauve",
|
|
155
|
+
"Sunrise",
|
|
156
|
+
"Tawny",
|
|
157
|
+
"Rust",
|
|
158
|
+
"Cashmere",
|
|
159
|
+
"Khaki",
|
|
160
|
+
"Lily white",
|
|
161
|
+
"Seashell",
|
|
162
|
+
"Burgundy",
|
|
163
|
+
"Cork",
|
|
164
|
+
"Burlap",
|
|
165
|
+
"Beige",
|
|
166
|
+
"Oyster",
|
|
167
|
+
"Pine Cone",
|
|
168
|
+
"Fawn brown",
|
|
169
|
+
"Hurricane grey",
|
|
170
|
+
"Cloudy grey",
|
|
171
|
+
"Linen",
|
|
172
|
+
"Copper",
|
|
173
|
+
"Dirt brown",
|
|
174
|
+
"Bronze",
|
|
175
|
+
"Flint",
|
|
176
|
+
"Dark taupe",
|
|
177
|
+
"Burnt Sienna",
|
|
178
|
+
"Institutional white",
|
|
179
|
+
"Mid gray",
|
|
180
|
+
"Really black",
|
|
181
|
+
"Really red",
|
|
182
|
+
"Deep orange",
|
|
183
|
+
"Alder",
|
|
184
|
+
"Dusty Rose",
|
|
185
|
+
"Olive",
|
|
186
|
+
"New Yeller",
|
|
187
|
+
"Really blue",
|
|
188
|
+
"Navy blue",
|
|
189
|
+
"Deep blue",
|
|
190
|
+
"Cyan",
|
|
191
|
+
"CGA brown",
|
|
192
|
+
"Magenta",
|
|
193
|
+
"Pink",
|
|
194
|
+
"Deep orange",
|
|
195
|
+
"Teal",
|
|
196
|
+
"Toothpaste",
|
|
197
|
+
"Lime green",
|
|
198
|
+
"Camo",
|
|
199
|
+
"Grime",
|
|
200
|
+
"Lavender",
|
|
201
|
+
"Pastel light blue",
|
|
202
|
+
"Pastel orange",
|
|
203
|
+
"Pastel violet",
|
|
204
|
+
"Pastel blue-green",
|
|
205
|
+
"Pastel green",
|
|
206
|
+
"Pastel yellow",
|
|
207
|
+
"Pastel brown",
|
|
208
|
+
"Royal purple",
|
|
209
|
+
"Hot pink",
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
return function(registry: any)
|
|
213
|
+
const brickColorFinder = registry.Cmdr.Util.MakeFuzzyFinder(BRICK_COLOR_NAMES)
|
|
214
|
+
const brickColorType = {
|
|
215
|
+
Prefixes = "% teamColor",
|
|
216
|
+
|
|
217
|
+
Transform = function(text: string): { [number]: BrickColor }
|
|
218
|
+
const brickColors = {}
|
|
219
|
+
|
|
220
|
+
for index: number, name: string in pairs(brickColorFinder(text)) do
|
|
221
|
+
brickColors[index] = BrickColor.new(name :: any) --< BrickColor.new gets overloaded
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
return brickColors
|
|
225
|
+
end,
|
|
226
|
+
|
|
227
|
+
Validate = function(brickColors: { [number]: BrickColor }): (boolean, string?)
|
|
228
|
+
return #brickColors > 0, "No valid brick colors with that name could be found."
|
|
229
|
+
end,
|
|
230
|
+
|
|
231
|
+
Autocomplete = function(brickColors: { [number]: BrickColor }): { string }
|
|
232
|
+
return registry.Cmdr.Util.GetNames(brickColors)
|
|
233
|
+
end,
|
|
234
|
+
|
|
235
|
+
Parse = function(brickColors: { [number]: BrickColor }): BrickColor
|
|
236
|
+
return brickColors[1]
|
|
237
|
+
end,
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
const brickColor3Type = {
|
|
241
|
+
Transform = brickColorType.Transform,
|
|
242
|
+
Validate = brickColorType.Validate,
|
|
243
|
+
Autocomplete = brickColorType.Autocomplete,
|
|
244
|
+
|
|
245
|
+
Parse = function(brickColors: { [number]: BrickColor }): Color3
|
|
246
|
+
return brickColors[1].Color
|
|
247
|
+
end,
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
registry:RegisterType("brickColor", brickColorType)
|
|
251
|
+
registry:RegisterType(
|
|
252
|
+
"brickColors",
|
|
253
|
+
registry.Cmdr.Util.MakeListableType(brickColorType, { Prefixes = "% teamColors" })
|
|
254
|
+
)
|
|
255
|
+
|
|
256
|
+
registry:RegisterType("brickColor3", brickColor3Type)
|
|
257
|
+
registry:RegisterType("brickColor3s", registry.Cmdr.Util.MakeListableType(brickColor3Type))
|
|
258
|
+
end
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
const function parseHexDigit(x: string?): number?
|
|
2
|
+
if not x then
|
|
3
|
+
return nil
|
|
4
|
+
end
|
|
5
|
+
|
|
6
|
+
if #x == 1 then
|
|
7
|
+
x = `{x}{x}`
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
return tonumber(x, 16)
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
return function(registry: any)
|
|
14
|
+
const color3Type = registry.Cmdr.Util.MakeSequenceType({
|
|
15
|
+
Prefixes = "# hexColor3 ! brickColor3",
|
|
16
|
+
ValidateEach = function(value: number?, index: number): (boolean, string?)
|
|
17
|
+
if value == nil then
|
|
18
|
+
return false, `Invalid or missing number at position {index} in Color3 type.`
|
|
19
|
+
elseif value < 0 or value > 255 then
|
|
20
|
+
return false, `Number out of acceptable range 0-255 at position {index} in Color3 type.`
|
|
21
|
+
elseif value % 1 ~= 0 then
|
|
22
|
+
return false, `Number is not an integer at position {index} in Color3 type.`
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
return true
|
|
26
|
+
end,
|
|
27
|
+
|
|
28
|
+
TransformEach = function(value: string): number?
|
|
29
|
+
return tonumber(value)
|
|
30
|
+
end,
|
|
31
|
+
|
|
32
|
+
Constructor = Color3.fromRGB,
|
|
33
|
+
Length = 3,
|
|
34
|
+
})
|
|
35
|
+
|
|
36
|
+
const hexColor3Type = {
|
|
37
|
+
Transform = function(text: string): (number?, number?, number?)
|
|
38
|
+
const r, g, b = text:match("^#?(%x%x?)(%x%x?)(%x%x?)$")
|
|
39
|
+
return registry.Cmdr.Util.Each(parseHexDigit, r, g, b)
|
|
40
|
+
end,
|
|
41
|
+
|
|
42
|
+
Validate = function(r: number?, g: number?, b: number?): (boolean, string?)
|
|
43
|
+
return r ~= nil and g ~= nil and b ~= nil, "Invalid hex color"
|
|
44
|
+
end,
|
|
45
|
+
|
|
46
|
+
Parse = function(r: number, g: number, b: number): Color3
|
|
47
|
+
return Color3.fromRGB(r, g, b)
|
|
48
|
+
end,
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
registry:RegisterType("color3", color3Type)
|
|
52
|
+
registry:RegisterType(
|
|
53
|
+
"color3s",
|
|
54
|
+
registry.Cmdr.Util.MakeListableType(color3Type, { Prefixes = "# hexColor3s ! brickColor3s" })
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
registry:RegisterType("hexColor3", hexColor3Type)
|
|
58
|
+
registry:RegisterType("hexColor3s", registry.Cmdr.Util.MakeListableType(hexColor3Type))
|
|
59
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
return function(registry: any)
|
|
2
|
+
const commandType = {
|
|
3
|
+
Transform = function(text: string): { [number]: string }
|
|
4
|
+
const findCommand = registry.Cmdr.Util.MakeFuzzyFinder(registry:GetCommandNames())
|
|
5
|
+
return findCommand(text)
|
|
6
|
+
end,
|
|
7
|
+
|
|
8
|
+
Validate = function(commands: { [number]: string }): (boolean, string?)
|
|
9
|
+
return #commands > 0, "No command with that name could be found."
|
|
10
|
+
end,
|
|
11
|
+
|
|
12
|
+
Autocomplete = function(commands: { [number]: string }): { [number]: string }
|
|
13
|
+
return commands
|
|
14
|
+
end,
|
|
15
|
+
|
|
16
|
+
Parse = function(commands: { [number]: string }): string
|
|
17
|
+
return commands[1]
|
|
18
|
+
end,
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
registry:RegisterType("command", commandType)
|
|
22
|
+
registry:RegisterType("commands", registry.Cmdr.Util.MakeListableType(commandType))
|
|
23
|
+
end
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
const UNIT_SECONDS: { [string]: number } = {
|
|
2
|
+
Years = 31556926,
|
|
3
|
+
Months = 2629744,
|
|
4
|
+
Weeks = 604800,
|
|
5
|
+
Days = 86400,
|
|
6
|
+
Hours = 3600,
|
|
7
|
+
Minutes = 60,
|
|
8
|
+
Seconds = 1,
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
const unitNames: { string } = {}
|
|
12
|
+
for unitName: string in pairs(UNIT_SECONDS) do
|
|
13
|
+
unitNames[#unitNames + 1] = unitName
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
const function mapUnits(units: { string }, rawText: string, lastNumber: number?, startIndex: number?): { string }
|
|
17
|
+
const start: number = startIndex or 1
|
|
18
|
+
const results: { string } = {}
|
|
19
|
+
|
|
20
|
+
for index: number, unit: string in ipairs(units) do
|
|
21
|
+
results[index] = `{rawText}{if lastNumber == 1 then unit:sub(start, #unit - 1) else unit:sub(start)}`
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
return results
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
return function(registry: any)
|
|
28
|
+
const unitFinder = registry.Cmdr.Util.MakeFuzzyFinder(unitNames)
|
|
29
|
+
const function stringToSecondDuration(text: string): (number?, number?, boolean?)
|
|
30
|
+
if text == nil or text == "" then
|
|
31
|
+
return nil
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
const number = tonumber(text)
|
|
35
|
+
if number == 0 then
|
|
36
|
+
return 0, 0, true
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
const numberOnly = text:gsub("-?%d+%a+", "")
|
|
40
|
+
const missingUnit = numberOnly:match("-?%d+")
|
|
41
|
+
|
|
42
|
+
if missingUnit then
|
|
43
|
+
return nil, tonumber(missingUnit), true
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
local seconds: number = 0
|
|
47
|
+
local lastNumber: number?
|
|
48
|
+
|
|
49
|
+
for component: string in text:gmatch("-?%d+%a+") do
|
|
50
|
+
const rawNumber, rawUnit = component:match("(-?%d+)(%a+)")
|
|
51
|
+
if rawNumber == nil or rawUnit == nil then
|
|
52
|
+
continue
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
lastNumber = tonumber(rawNumber)
|
|
56
|
+
|
|
57
|
+
const matches: { string } = unitFinder(rawUnit, false, true)
|
|
58
|
+
|
|
59
|
+
if #matches == 0 then
|
|
60
|
+
return nil, lastNumber
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
const unit: number = if rawUnit:lower() == "m" then 60 else UNIT_SECONDS[matches[1]]
|
|
64
|
+
seconds += unit * (lastNumber :: number)
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
if seconds == 0 then
|
|
68
|
+
return nil
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
return seconds, lastNumber
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
const durationType = {
|
|
75
|
+
Transform = function(text: string): (string, number?, number?, boolean?)
|
|
76
|
+
return text, stringToSecondDuration(text)
|
|
77
|
+
end,
|
|
78
|
+
|
|
79
|
+
Validate = function(_, duration: number?): (boolean, string?)
|
|
80
|
+
return duration ~= nil, "Invalid duration format. Example: 1d6h, 30m, 10s."
|
|
81
|
+
end,
|
|
82
|
+
|
|
83
|
+
Autocomplete = function(
|
|
84
|
+
rawText: string,
|
|
85
|
+
duration: number?,
|
|
86
|
+
lastNumber: number?,
|
|
87
|
+
missingUnit: boolean?
|
|
88
|
+
): { string }
|
|
89
|
+
local results: { string } = {}
|
|
90
|
+
if missingUnit then
|
|
91
|
+
const units: { string } = unitFinder("", false, true)
|
|
92
|
+
results = mapUnits(units, rawText, lastNumber)
|
|
93
|
+
elseif duration ~= nil then
|
|
94
|
+
const endingUnit = rawText:match("^.*-?%d+(%a+)%s?$")
|
|
95
|
+
const matches: { string } = unitFinder(endingUnit, false, true)
|
|
96
|
+
|
|
97
|
+
results = mapUnits(matches, rawText, lastNumber, #endingUnit + 1)
|
|
98
|
+
table.sort(results)
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
return results
|
|
102
|
+
end,
|
|
103
|
+
|
|
104
|
+
Parse = function(_, duration: number): number
|
|
105
|
+
return duration
|
|
106
|
+
end,
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
registry:RegisterType("duration", durationType)
|
|
110
|
+
registry:RegisterType("durations", registry.Cmdr.Util.MakeListableType(durationType))
|
|
111
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const HttpService = game:GetService("HttpService")
|
|
2
|
+
|
|
3
|
+
return function(registry: any)
|
|
4
|
+
registry:RegisterType("json", {
|
|
5
|
+
Validate = function(text: string): boolean
|
|
6
|
+
return pcall(HttpService.JSONDecode, HttpService, text)
|
|
7
|
+
end,
|
|
8
|
+
|
|
9
|
+
Parse = function(text: string): { [string]: any } | any
|
|
10
|
+
return HttpService:JSONDecode(text)
|
|
11
|
+
end,
|
|
12
|
+
})
|
|
13
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
return function(registry: any)
|
|
2
|
+
registry:RegisterType(
|
|
3
|
+
"mathOperator",
|
|
4
|
+
registry.Cmdr.Util.MakeEnumType("Math Operator", {
|
|
5
|
+
{
|
|
6
|
+
Name = "+",
|
|
7
|
+
Perform = function(a: number, b: number): number
|
|
8
|
+
return a + b
|
|
9
|
+
end,
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
Name = "-",
|
|
13
|
+
Perform = function(a: number, b: number): number
|
|
14
|
+
return a - b
|
|
15
|
+
end,
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
Name = "*",
|
|
19
|
+
Perform = function(a: number, b: number): number
|
|
20
|
+
return a * b
|
|
21
|
+
end,
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
Name = "/",
|
|
25
|
+
Perform = function(a: number, b: number): number
|
|
26
|
+
return a / b
|
|
27
|
+
end,
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
Name = "**",
|
|
31
|
+
Perform = function(a: number, b: number): number
|
|
32
|
+
return a ^ b
|
|
33
|
+
end,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
Name = "%",
|
|
37
|
+
Perform = function(a: number, b: number): number
|
|
38
|
+
return a % b
|
|
39
|
+
end,
|
|
40
|
+
},
|
|
41
|
+
})
|
|
42
|
+
)
|
|
43
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const Players = game:GetService("Players")
|
|
2
|
+
|
|
3
|
+
return function(registry: any)
|
|
4
|
+
const playerType = {
|
|
5
|
+
Transform = function(text: string): { Player }
|
|
6
|
+
const findPlayer = registry.Cmdr.Util.MakeFuzzyFinder(Players:GetPlayers())
|
|
7
|
+
return findPlayer(text)
|
|
8
|
+
end,
|
|
9
|
+
|
|
10
|
+
Validate = function(players: { Player }): (boolean, string?)
|
|
11
|
+
return #players > 0, "No player with that name could be found."
|
|
12
|
+
end,
|
|
13
|
+
|
|
14
|
+
Autocomplete = function(players: { Player }): { string }
|
|
15
|
+
return registry.Cmdr.Util.GetNames(players)
|
|
16
|
+
end,
|
|
17
|
+
|
|
18
|
+
Parse = function(players: { Player }): Player?
|
|
19
|
+
return players[1]
|
|
20
|
+
end,
|
|
21
|
+
|
|
22
|
+
Default = function(player: Player): string
|
|
23
|
+
return player.Name
|
|
24
|
+
end,
|
|
25
|
+
|
|
26
|
+
ArgumentOperatorAliases = {
|
|
27
|
+
me = ".",
|
|
28
|
+
all = "*",
|
|
29
|
+
others = "**",
|
|
30
|
+
random = "?",
|
|
31
|
+
},
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
registry:RegisterType("player", playerType)
|
|
35
|
+
registry:RegisterType("players", registry.Cmdr.Util.MakeListableType(playerType, { Prefixes = "% teamPlayers" }))
|
|
36
|
+
end
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
const Players = game:GetService("Players")
|
|
2
|
+
|
|
3
|
+
const nameCache: { [string]: number } = {}
|
|
4
|
+
|
|
5
|
+
const function getUserId(username: string): number?
|
|
6
|
+
username = username:match("%(@([^%)]+)%)") or username
|
|
7
|
+
|
|
8
|
+
if nameCache[username] then
|
|
9
|
+
return nameCache[username]
|
|
10
|
+
elseif Players:FindFirstChild(username) then
|
|
11
|
+
const player = Players[username] :: Player
|
|
12
|
+
|
|
13
|
+
nameCache[username] = player.UserId
|
|
14
|
+
return player.UserId
|
|
15
|
+
else
|
|
16
|
+
const success, userid = pcall(Players.GetUserIdFromNameAsync, Players, username)
|
|
17
|
+
|
|
18
|
+
if not success then
|
|
19
|
+
return nil
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
nameCache[username] = userid
|
|
23
|
+
return userid
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
return function(registry: any)
|
|
28
|
+
const playerIdType = {
|
|
29
|
+
DisplayName = "Full Player Name",
|
|
30
|
+
Prefixes = "# positiveInteger",
|
|
31
|
+
|
|
32
|
+
Transform = function(text: string): (string, { Player })
|
|
33
|
+
const findPlayer = registry.Cmdr.Util.MakeFuzzyFinder(Players:GetPlayers())
|
|
34
|
+
return text, findPlayer(text)
|
|
35
|
+
end,
|
|
36
|
+
|
|
37
|
+
ValidateOnce = function(text: string): (boolean, string?)
|
|
38
|
+
return getUserId(text) ~= nil, "No player with that name could be found."
|
|
39
|
+
end,
|
|
40
|
+
|
|
41
|
+
Autocomplete = function(_, players: { Player }): { string }
|
|
42
|
+
return registry.Cmdr.Util.GetNames(players)
|
|
43
|
+
end,
|
|
44
|
+
|
|
45
|
+
Parse = function(text: string): number?
|
|
46
|
+
return getUserId(text)
|
|
47
|
+
end,
|
|
48
|
+
|
|
49
|
+
Default = function(player: Player): string
|
|
50
|
+
return player.Name
|
|
51
|
+
end,
|
|
52
|
+
|
|
53
|
+
ArgumentOperatorAliases = {
|
|
54
|
+
me = ".",
|
|
55
|
+
all = "*",
|
|
56
|
+
others = "**",
|
|
57
|
+
random = "?",
|
|
58
|
+
},
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
registry:RegisterType("playerId", playerIdType)
|
|
62
|
+
registry:RegisterType(
|
|
63
|
+
"playerIds",
|
|
64
|
+
registry.Cmdr.Util.MakeListableType(playerIdType, { Prefixes = "# positiveIntegers" })
|
|
65
|
+
)
|
|
66
|
+
end
|