cluaupp 0.2.3 → 1.3.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 +43 -79
- package/README.md +47 -83
- package/editors/vscode/extension.js +8 -31
- package/editors/vscode/package.json +4 -4
- package/examples/README.md +5 -7
- package/examples/game/.vscode/extensions.json +2 -4
- package/examples/game/.vscode/settings.json +6 -14
- package/{include/cluaupp/datatypes.hpp → examples/game/include/clpp/datatypes.clh} +1 -1
- package/{include/cluaupp/generated/instances.hpp → examples/game/include/clpp/generated/instances.clh} +1415 -1415
- package/examples/game/include/clpp/libs/chrono.clh +26 -0
- package/examples/game/include/clpp/libs/cmdr.clh +16 -0
- package/{include/cluaupp/libs/dataservice.hpp → examples/game/include/clpp/libs/dataservice.clh} +138 -145
- package/{include/cluaupp/libs/display.hpp → examples/game/include/clpp/libs/display.clh} +12 -13
- package/examples/game/include/clpp/libs/ezvisual.clh +16 -0
- package/{include/cluaupp/libs/formatnumber.hpp → examples/game/include/clpp/libs/formatnumber.clh} +14 -15
- package/{include/cluaupp/libs/fusion.hpp → examples/game/include/clpp/libs/fusion.clh} +41 -41
- package/{include/cluaupp/libs/iris.hpp → examples/game/include/clpp/libs/iris.clh} +40 -40
- package/{include/cluaupp/libs/janitor.hpp → examples/game/include/clpp/libs/janitor.clh} +38 -39
- package/{include/cluaupp/libs/module3d.hpp → examples/game/include/clpp/libs/module3d.clh} +23 -25
- package/{include/cluaupp/libs/net.hpp → examples/game/include/clpp/libs/net.clh} +40 -42
- package/examples/game/include/clpp/libs/promise.clh +28 -0
- package/{include/cluaupp/libs/spring.hpp → examples/game/include/clpp/libs/spring.clh} +1 -2
- package/{include/cluaupp/libs/statemachine.hpp → examples/game/include/clpp/libs/statemachine.clh} +18 -19
- package/{include/cluaupp/libs/stickybillboard.hpp → examples/game/include/clpp/libs/stickybillboard.clh} +13 -14
- package/examples/game/include/clpp/libs/topbarplus.clh +28 -0
- package/examples/game/include/clpp/libs/twinkle.clh +15 -0
- package/examples/game/include/clpp/libs/vfx.clh +13 -0
- package/examples/game/include/clpp/libs.clh +24 -0
- package/examples/game/include/clpp/roblox.clh +32 -0
- package/examples/game/libs/ArrayIndexer/init.luau +144 -0
- package/examples/game/libs/Chrono/Client/ClientClock.luau +202 -0
- package/examples/game/libs/Chrono/Client/InterpolationBuffer.luau +74 -0
- package/examples/game/libs/Chrono/Client/ModelResolver.luau +53 -0
- package/examples/game/libs/Chrono/Client/Player.luau +113 -0
- package/examples/game/libs/Chrono/Client/Receiver.luau +395 -0
- package/examples/game/libs/Chrono/Client/Replicate.luau +333 -0
- package/examples/game/libs/Chrono/Client/Sender.luau +205 -0
- package/examples/game/libs/Chrono/LICENSE +21 -0
- package/examples/game/libs/Chrono/Server/EntityGrid.luau +299 -0
- package/examples/game/libs/Chrono/Server/Player.luau +141 -0
- package/examples/game/libs/Chrono/Server/Receiver.luau +287 -0
- package/examples/game/libs/Chrono/Server/Replicate.luau +415 -0
- package/examples/game/libs/Chrono/Server/Sender.luau +306 -0
- package/examples/game/libs/Chrono/Server/ServerClock.luau +50 -0
- package/examples/game/libs/Chrono/Shared/ApplyMounts.luau +137 -0
- package/examples/game/libs/Chrono/Shared/Bin.luau +31 -0
- package/examples/game/libs/Chrono/Shared/ClockUnwrap.luau +70 -0
- package/examples/game/libs/Chrono/Shared/Config.luau +264 -0
- package/examples/game/libs/Chrono/Shared/Entity.luau +1016 -0
- package/examples/game/libs/Chrono/Shared/Events.luau +39 -0
- package/examples/game/libs/Chrono/Shared/Holder.luau +210 -0
- package/examples/game/libs/Chrono/Shared/InterpolationMath.luau +51 -0
- package/examples/game/libs/Chrono/Shared/ModelHelper.luau +122 -0
- package/examples/game/libs/Chrono/Shared/Remotes/ClientClockRelay.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/ClientHeartbeat.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/ClientLoaded.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/Death.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/Heartbeat.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/Replicate.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/ReplicateFull.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/SafeReplicate.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/ReplicationRules.luau +122 -0
- package/examples/game/libs/Chrono/Shared/Signal.luau +219 -0
- package/examples/game/libs/Chrono/Shared/Snapshots.luau +218 -0
- package/examples/game/libs/Chrono/Shared/Stats.luau +204 -0
- package/examples/game/libs/Chrono/Shared/Ticker.luau +112 -0
- package/examples/game/libs/Chrono/Shared/Types.luau +247 -0
- package/examples/game/libs/Chrono/Shared/Warn.luau +33 -0
- package/examples/game/libs/Chrono/Shared/_CUSTOM_MODEL_REP/init.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Client/ClientClock.luau +202 -0
- package/examples/game/libs/Chrono/_impl/Client/InterpolationBuffer.luau +74 -0
- package/examples/game/libs/Chrono/_impl/Client/ModelResolver.luau +53 -0
- package/examples/game/libs/Chrono/_impl/Client/Player.luau +113 -0
- package/examples/game/libs/Chrono/_impl/Client/Receiver.luau +395 -0
- package/examples/game/libs/Chrono/_impl/Client/Replicate.luau +333 -0
- package/examples/game/libs/Chrono/_impl/Client/Sender.luau +205 -0
- package/examples/game/libs/Chrono/_impl/LICENSE +21 -0
- package/examples/game/libs/Chrono/_impl/Server/EntityGrid.luau +299 -0
- package/examples/game/libs/Chrono/_impl/Server/Player.luau +141 -0
- package/examples/game/libs/Chrono/_impl/Server/Receiver.luau +287 -0
- package/examples/game/libs/Chrono/_impl/Server/Replicate.luau +415 -0
- package/examples/game/libs/Chrono/_impl/Server/Sender.luau +306 -0
- package/examples/game/libs/Chrono/_impl/Server/ServerClock.luau +50 -0
- package/examples/game/libs/Chrono/_impl/Shared/ApplyMounts.luau +137 -0
- package/examples/game/libs/Chrono/_impl/Shared/Bin.luau +31 -0
- package/examples/game/libs/Chrono/_impl/Shared/ClockUnwrap.luau +70 -0
- package/examples/game/libs/Chrono/_impl/Shared/Config.luau +264 -0
- package/examples/game/libs/Chrono/_impl/Shared/Entity.luau +1016 -0
- package/examples/game/libs/Chrono/_impl/Shared/Events.luau +39 -0
- package/examples/game/libs/Chrono/_impl/Shared/Holder.luau +210 -0
- package/examples/game/libs/Chrono/_impl/Shared/InterpolationMath.luau +51 -0
- package/examples/game/libs/Chrono/_impl/Shared/ModelHelper.luau +122 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/ClientClockRelay.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/ClientHeartbeat.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/ClientLoaded.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/Death.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/Heartbeat.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/Replicate.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/ReplicateFull.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/SafeReplicate.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/ReplicationRules.luau +122 -0
- package/examples/game/libs/Chrono/_impl/Shared/Signal.luau +219 -0
- package/examples/game/libs/Chrono/_impl/Shared/Snapshots.luau +218 -0
- package/examples/game/libs/Chrono/_impl/Shared/Stats.luau +204 -0
- package/examples/game/libs/Chrono/_impl/Shared/Ticker.luau +112 -0
- package/examples/game/libs/Chrono/_impl/Shared/Types.luau +247 -0
- package/examples/game/libs/Chrono/_impl/Shared/Warn.luau +33 -0
- package/examples/game/libs/Chrono/_impl/Shared/_CUSTOM_MODEL_REP/init.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/init.luau +96 -0
- package/examples/game/libs/Chrono/init.luau +14 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/announce.luau +21 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/announceServer.luau +17 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/ban.luau +59 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/banServer.luau +30 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/gotoPlace.luau +35 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/gotoPlaceServer.luau +17 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/kick.luau +19 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/kickServer.luau +27 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/kill.luau +13 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/killServer.luau +13 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/respawn.luau +15 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/respawnServer.luau +7 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/teleport.luau +30 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/teleportServer.luau +26 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/unban.luau +26 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/unbanServer.luau +10 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/blink.luau +35 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/fetch.luau +12 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/fetchServer.luau +7 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +20 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +28 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/position.luau +30 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/thru.luau +50 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/uptime.luau +6 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/uptimeServer.luau +12 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/version.luau +12 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/alias.luau +22 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/bind.luau +104 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/clear.luau +20 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/convertTimestamp.luau +18 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/echo.luau +17 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/edit.luau +75 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/exit.luau +11 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/history.luau +27 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/hover.luau +21 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/jsonArrayDecode.luau +25 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/jsonArrayEncode.luau +18 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/len.luau +16 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/math.luau +36 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/pick.luau +21 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/rand.luau +27 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/replace.luau +32 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/resolve.luau +32 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/run.luau +20 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/runLines.luau +34 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/runif.luau +95 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/unbind.luau +27 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/var.luau +29 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/varServer.luau +37 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/varSet.luau +30 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/varSetServer.luau +29 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/help.luau +96 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/BrickColor.luau +258 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Color3.luau +59 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Command.luau +23 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Duration.luau +111 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/JSON.luau +13 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/MathOperator.luau +43 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Player.luau +36 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/PlayerId.luau +66 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Primitives.luau +145 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/StoredKey.luau +33 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Team.luau +49 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Type.luau +23 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/URL.luau +18 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/UserInput.luau +32 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Vector.luau +58 -0
- package/examples/game/libs/Cmdr/CmdrClient/CmdrInterface/AutoComplete.luau +240 -0
- package/examples/game/libs/Cmdr/CmdrClient/CmdrInterface/CreateGui.luau +227 -0
- package/examples/game/libs/Cmdr/CmdrClient/CmdrInterface/Window.luau +713 -0
- package/examples/game/libs/Cmdr/CmdrClient/CmdrInterface/init.luau +18 -0
- package/examples/game/libs/Cmdr/CmdrClient/DefaultEventHandlers.luau +18 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/Argument.luau +395 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +39 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +36 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +10 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +10 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +10 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +8 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/Command.luau +415 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/Dispatcher.luau +407 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/Registry.luau +717 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/Util.luau +879 -0
- package/examples/game/libs/Cmdr/CmdrClient/init.luau +377 -0
- package/examples/game/libs/Cmdr/LICENSE +21 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/announce.luau +21 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/announceServer.luau +17 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/ban.luau +59 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/banServer.luau +30 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/gotoPlace.luau +35 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/gotoPlaceServer.luau +17 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kick.luau +19 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kickServer.luau +27 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kill.luau +13 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/killServer.luau +13 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/respawn.luau +15 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/respawnServer.luau +7 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/teleport.luau +30 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/teleportServer.luau +26 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/unban.luau +26 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/unbanServer.luau +10 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/blink.luau +35 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/fetch.luau +12 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/fetchServer.luau +7 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +20 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +28 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/position.luau +30 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/thru.luau +50 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/uptime.luau +6 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/uptimeServer.luau +12 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/version.luau +12 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/alias.luau +22 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/bind.luau +104 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/clear.luau +20 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/convertTimestamp.luau +18 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/echo.luau +17 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/edit.luau +75 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/exit.luau +11 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/history.luau +27 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/hover.luau +21 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayDecode.luau +25 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayEncode.luau +18 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/len.luau +16 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/math.luau +36 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/pick.luau +21 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/rand.luau +27 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/replace.luau +32 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/resolve.luau +32 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/run.luau +20 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/runLines.luau +34 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/runif.luau +95 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/unbind.luau +27 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/var.luau +29 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varServer.luau +37 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varSet.luau +30 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varSetServer.luau +29 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/help.luau +96 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/BrickColor.luau +258 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Color3.luau +59 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Command.luau +23 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Duration.luau +111 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/JSON.luau +13 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/MathOperator.luau +43 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Player.luau +36 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/PlayerId.luau +66 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Primitives.luau +145 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/StoredKey.luau +33 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Team.luau +49 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Type.luau +23 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/URL.luau +18 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/UserInput.luau +32 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Vector.luau +58 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/AutoComplete.luau +240 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/CreateGui.luau +227 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/Window.luau +713 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/init.luau +18 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/DefaultEventHandlers.luau +18 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Argument.luau +395 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +39 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +36 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +10 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +10 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +10 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +8 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Command.luau +415 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Dispatcher.luau +407 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Registry.luau +717 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Util.luau +879 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/init.luau +377 -0
- package/examples/game/libs/Cmdr/_impl/LICENSE +21 -0
- package/examples/game/libs/Cmdr/_impl/init.luau +178 -0
- package/examples/game/libs/Cmdr/init.luau +8 -0
- package/examples/game/libs/DataService/Client.luau +209 -0
- package/examples/game/libs/DataService/Data.luau +886 -0
- package/examples/game/libs/DataService/Enum.luau +6 -0
- package/examples/game/libs/DataService/Enums.luau +10 -0
- package/examples/game/libs/DataService/Packages/quicknet/DataTypes.luau +70 -0
- package/examples/game/libs/DataService/Packages/quicknet/Enums.luau +85 -0
- package/examples/game/libs/DataService/Packages/quicknet/EnumsToNativeTypes.luau +57 -0
- package/examples/game/libs/DataService/Packages/quicknet/Parser.luau +355 -0
- package/examples/game/libs/DataService/Packages/quicknet/QuickNet.luau +953 -0
- package/examples/game/libs/DataService/Packages/quicknet/Serialize.luau +2020 -0
- package/examples/game/libs/DataService/Packages/quicknet/Types.luau +72 -0
- package/examples/game/libs/DataService/Packages/quicknet/init.luau +1 -0
- package/examples/game/libs/DataService/Packages/signal/init.luau +433 -0
- package/examples/game/libs/DataService/Path.luau +236 -0
- package/examples/game/libs/DataService/ProfileStore.luau +2243 -0
- package/examples/game/libs/DataService/Replicator.luau +172 -0
- package/examples/game/libs/DataService/Server.luau +412 -0
- package/examples/game/libs/DataService/init.luau +204 -0
- package/examples/game/libs/Display/LICENSE +201 -0
- package/examples/game/libs/Display/_impl/LICENSE +201 -0
- package/examples/game/libs/Display/_impl/init.luau +269 -0
- package/examples/game/libs/Display/_impl/option.luau +237 -0
- package/examples/game/libs/Display/init.luau +10 -0
- package/examples/game/libs/Display/option.luau +237 -0
- package/examples/game/libs/EzVisualz/Dropshadow.luau +148 -0
- package/examples/game/libs/EzVisualz/Gradient.luau +452 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Bubblegum.luau +16 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Chrome.luau +16 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Death.luau +15 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Electric.luau +14 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Fire.luau +13 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Galaxy.luau +11 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Ghost.luau +16 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Gold.luau +14 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Green.luau +14 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Ice.luau +14 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Lava.luau +15 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Matrix.luau +19 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Neon.luau +12 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Oceanic.luau +15 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Rainbow.luau +13 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Silver.luau +12 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Sunset.luau +11 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Zebra.luau +18 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/init.luau +9 -0
- package/examples/game/libs/EzVisualz/LICENSE.md +21 -0
- package/examples/game/libs/EzVisualz/Presets/Bubblegum.luau +36 -0
- package/examples/game/libs/EzVisualz/Presets/ChromeStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/DeathStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/ElectricStroke.luau +54 -0
- package/examples/game/libs/EzVisualz/Presets/FireStroke.luau +29 -0
- package/examples/game/libs/EzVisualz/Presets/GalaxyStroke.luau +31 -0
- package/examples/game/libs/EzVisualz/Presets/Ghost.luau +10 -0
- package/examples/game/libs/EzVisualz/Presets/GhostStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/Gold.luau +10 -0
- package/examples/game/libs/EzVisualz/Presets/GoldStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/GreenOutline.luau +23 -0
- package/examples/game/libs/EzVisualz/Presets/IceStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/Lava.luau +9 -0
- package/examples/game/libs/EzVisualz/Presets/LavaStroke.luau +13 -0
- package/examples/game/libs/EzVisualz/Presets/Matrix.luau +21 -0
- package/examples/game/libs/EzVisualz/Presets/NeonStroke.luau +30 -0
- package/examples/game/libs/EzVisualz/Presets/OceanicStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/Rainbow.luau +9 -0
- package/examples/game/libs/EzVisualz/Presets/RainbowOutline.luau +23 -0
- package/examples/game/libs/EzVisualz/Presets/RainbowStroke.luau +13 -0
- package/examples/game/libs/EzVisualz/Presets/Shine.luau +48 -0
- package/examples/game/libs/EzVisualz/Presets/ShineOutline.luau +66 -0
- package/examples/game/libs/EzVisualz/Presets/Silver.luau +10 -0
- package/examples/game/libs/EzVisualz/Presets/SilverStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/SunsetStroke.luau +31 -0
- package/examples/game/libs/EzVisualz/Presets/WaveStroke.luau +33 -0
- package/examples/game/libs/EzVisualz/Presets/Zebra.luau +21 -0
- package/examples/game/libs/EzVisualz/Presets/init.luau +9 -0
- package/examples/game/libs/EzVisualz/Stroke.luau +167 -0
- package/examples/game/libs/EzVisualz/Util.luau +7 -0
- package/examples/game/libs/EzVisualz/_impl/Dropshadow.luau +148 -0
- package/examples/game/libs/EzVisualz/_impl/Gradient.luau +452 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Bubblegum.luau +16 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Chrome.luau +16 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Death.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Electric.luau +14 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Fire.luau +13 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Galaxy.luau +11 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Ghost.luau +16 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Gold.luau +14 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Green.luau +14 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Ice.luau +14 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Lava.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Matrix.luau +19 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Neon.luau +12 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Oceanic.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Rainbow.luau +13 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Silver.luau +12 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Sunset.luau +11 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Zebra.luau +18 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/init.luau +9 -0
- package/examples/game/libs/EzVisualz/_impl/LICENSE.md +21 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Bubblegum.luau +36 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/ChromeStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/DeathStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/ElectricStroke.luau +54 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/FireStroke.luau +29 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/GalaxyStroke.luau +31 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Ghost.luau +10 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/GhostStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Gold.luau +10 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/GoldStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/GreenOutline.luau +23 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/IceStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Lava.luau +9 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/LavaStroke.luau +13 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Matrix.luau +21 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/NeonStroke.luau +30 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/OceanicStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Rainbow.luau +9 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/RainbowOutline.luau +23 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/RainbowStroke.luau +13 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Shine.luau +48 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/ShineOutline.luau +66 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Silver.luau +10 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/SilverStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/SunsetStroke.luau +31 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/WaveStroke.luau +33 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Zebra.luau +21 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/init.luau +9 -0
- package/examples/game/libs/EzVisualz/_impl/Stroke.luau +167 -0
- package/examples/game/libs/EzVisualz/_impl/Util.luau +7 -0
- package/examples/game/libs/EzVisualz/_impl/init.luau +319 -0
- package/examples/game/libs/EzVisualz/_impl/wally.lock +8 -0
- package/examples/game/libs/EzVisualz/_impl/wally.toml +8 -0
- package/examples/game/libs/EzVisualz/init.luau +9 -0
- package/examples/game/libs/EzVisualz/wally.lock +8 -0
- package/examples/game/libs/EzVisualz/wally.toml +8 -0
- package/examples/game/libs/FormatNumber/LICENSE.md +25 -0
- package/examples/game/libs/FormatNumber/Main/DecimalFormatSymbols.lua +43 -0
- package/examples/game/libs/FormatNumber/Main/IntegerWidth.lua +41 -0
- package/examples/game/libs/FormatNumber/Main/Notation.lua +116 -0
- package/examples/game/libs/FormatNumber/Main/Precision.lua +179 -0
- package/examples/game/libs/FormatNumber/Main/init.lua +199 -0
- package/examples/game/libs/FormatNumber/Simple/init.lua +76 -0
- package/examples/game/libs/FormatNumber/Version.lua +82 -0
- package/examples/game/libs/FormatNumber/_impl/LICENSE.md +25 -0
- package/examples/game/libs/FormatNumber/_impl/Main/DecimalFormatSymbols.lua +43 -0
- package/examples/game/libs/FormatNumber/_impl/Main/IntegerWidth.lua +41 -0
- package/examples/game/libs/FormatNumber/_impl/Main/Notation.lua +116 -0
- package/examples/game/libs/FormatNumber/_impl/Main/Precision.lua +179 -0
- package/examples/game/libs/FormatNumber/_impl/Main/init.lua +199 -0
- package/examples/game/libs/FormatNumber/_impl/Simple/init.lua +76 -0
- package/examples/game/libs/FormatNumber/_impl/Version.lua +82 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/class.lua +204 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/decimal_conversion.lua +30 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/enums.lua +55 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/format.lua +342 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/formatter_settings.lua +160 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/init.lua +8 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/skeleton.lua +541 -0
- package/examples/game/libs/FormatNumber/_impl/init.lua +20 -0
- package/examples/game/libs/FormatNumber/_internal/class.lua +204 -0
- package/examples/game/libs/FormatNumber/_internal/decimal_conversion.lua +30 -0
- package/examples/game/libs/FormatNumber/_internal/enums.lua +55 -0
- package/examples/game/libs/FormatNumber/_internal/format.lua +342 -0
- package/examples/game/libs/FormatNumber/_internal/formatter_settings.lua +160 -0
- package/examples/game/libs/FormatNumber/_internal/init.lua +8 -0
- package/examples/game/libs/FormatNumber/_internal/skeleton.lua +541 -0
- package/examples/game/libs/FormatNumber/init.lua +20 -0
- package/examples/game/libs/FormatNumber/init.luau +20 -0
- package/examples/game/libs/Fusion/Animation/ExternalTime.luau +84 -0
- package/examples/game/libs/Fusion/Animation/Spring.luau +313 -0
- package/examples/game/libs/Fusion/Animation/Stopwatch.luau +128 -0
- package/examples/game/libs/Fusion/Animation/Tween.luau +178 -0
- package/examples/game/libs/Fusion/Animation/getTweenDuration.luau +27 -0
- package/examples/game/libs/Fusion/Animation/getTweenRatio.luau +47 -0
- package/examples/game/libs/Fusion/Animation/lerpType.luau +164 -0
- package/examples/game/libs/Fusion/Animation/packType.luau +100 -0
- package/examples/game/libs/Fusion/Animation/springCoefficients.luau +80 -0
- package/examples/game/libs/Fusion/Animation/unpackType.luau +103 -0
- package/examples/game/libs/Fusion/Colour/Oklab.luau +70 -0
- package/examples/game/libs/Fusion/Colour/sRGB.luau +47 -0
- package/examples/game/libs/Fusion/External.luau +156 -0
- package/examples/game/libs/Fusion/ExternalDebug.luau +70 -0
- package/examples/game/libs/Fusion/Graph/Observer.luau +111 -0
- package/examples/game/libs/Fusion/Graph/castToGraph.luau +29 -0
- package/examples/game/libs/Fusion/Graph/change.luau +81 -0
- package/examples/game/libs/Fusion/Graph/depend.luau +33 -0
- package/examples/game/libs/Fusion/Graph/evaluate.luau +56 -0
- package/examples/game/libs/Fusion/Instances/Attribute.luau +58 -0
- package/examples/game/libs/Fusion/Instances/AttributeChange.luau +47 -0
- package/examples/game/libs/Fusion/Instances/AttributeOut.luau +63 -0
- package/examples/game/libs/Fusion/Instances/Child.luau +21 -0
- package/examples/game/libs/Fusion/Instances/Children.luau +148 -0
- package/examples/game/libs/Fusion/Instances/Hydrate.luau +29 -0
- package/examples/game/libs/Fusion/Instances/New.luau +48 -0
- package/examples/game/libs/Fusion/Instances/OnChange.luau +50 -0
- package/examples/game/libs/Fusion/Instances/OnEvent.luau +54 -0
- package/examples/game/libs/Fusion/Instances/Out.luau +69 -0
- package/examples/game/libs/Fusion/Instances/Tag.luau +61 -0
- package/examples/game/libs/Fusion/Instances/applyInstanceProps.luau +149 -0
- package/examples/game/libs/Fusion/Instances/defaultProps.luau +194 -0
- package/examples/game/libs/Fusion/LICENSE +21 -0
- package/examples/game/libs/Fusion/Logging/formatError.luau +49 -0
- package/examples/game/libs/Fusion/Logging/messages.luau +46 -0
- package/examples/game/libs/Fusion/Logging/parseError.luau +25 -0
- package/examples/game/libs/Fusion/Memory/checkLifetime.luau +134 -0
- package/examples/game/libs/Fusion/Memory/deriveScope.luau +24 -0
- package/examples/game/libs/Fusion/Memory/deriveScopeImpl.luau +40 -0
- package/examples/game/libs/Fusion/Memory/doCleanup.luau +91 -0
- package/examples/game/libs/Fusion/Memory/innerScope.luau +34 -0
- package/examples/game/libs/Fusion/Memory/insert.luau +22 -0
- package/examples/game/libs/Fusion/Memory/needsDestruction.luau +17 -0
- package/examples/game/libs/Fusion/Memory/scoped.luau +24 -0
- package/examples/game/libs/Fusion/RobloxExternal.luau +98 -0
- package/examples/game/libs/Fusion/State/Computed.luau +122 -0
- package/examples/game/libs/Fusion/State/For/Disassembly.luau +207 -0
- package/examples/game/libs/Fusion/State/For/ForTypes.luau +30 -0
- package/examples/game/libs/Fusion/State/For/init.luau +101 -0
- package/examples/game/libs/Fusion/State/ForKeys.luau +88 -0
- package/examples/game/libs/Fusion/State/ForPairs.luau +91 -0
- package/examples/game/libs/Fusion/State/ForValues.luau +88 -0
- package/examples/game/libs/Fusion/State/Value.luau +76 -0
- package/examples/game/libs/Fusion/State/castToState.luau +26 -0
- package/examples/game/libs/Fusion/State/peek.luau +31 -0
- package/examples/game/libs/Fusion/State/updateAll.luau +1 -0
- package/examples/game/libs/Fusion/Types.luau +318 -0
- package/examples/game/libs/Fusion/Utility/Contextual.luau +91 -0
- package/examples/game/libs/Fusion/Utility/Safe.luau +23 -0
- package/examples/game/libs/Fusion/Utility/isSimilar.luau +29 -0
- package/examples/game/libs/Fusion/Utility/merge.luau +35 -0
- package/examples/game/libs/Fusion/Utility/nameOf.luau +35 -0
- package/examples/game/libs/Fusion/Utility/never.luau +14 -0
- package/examples/game/libs/Fusion/Utility/nicknames.luau +11 -0
- package/examples/game/libs/Fusion/Utility/xtypeof.luau +27 -0
- package/examples/game/libs/Fusion/_impl/Animation/ExternalTime.luau +84 -0
- package/examples/game/libs/Fusion/_impl/Animation/Spring.luau +313 -0
- package/examples/game/libs/Fusion/_impl/Animation/Stopwatch.luau +128 -0
- package/examples/game/libs/Fusion/_impl/Animation/Tween.luau +178 -0
- package/examples/game/libs/Fusion/_impl/Animation/getTweenDuration.luau +27 -0
- package/examples/game/libs/Fusion/_impl/Animation/getTweenRatio.luau +47 -0
- package/examples/game/libs/Fusion/_impl/Animation/lerpType.luau +164 -0
- package/examples/game/libs/Fusion/_impl/Animation/packType.luau +100 -0
- package/examples/game/libs/Fusion/_impl/Animation/springCoefficients.luau +80 -0
- package/examples/game/libs/Fusion/_impl/Animation/unpackType.luau +103 -0
- package/examples/game/libs/Fusion/_impl/Colour/Oklab.luau +70 -0
- package/examples/game/libs/Fusion/_impl/Colour/sRGB.luau +47 -0
- package/examples/game/libs/Fusion/_impl/External.luau +156 -0
- package/examples/game/libs/Fusion/_impl/ExternalDebug.luau +70 -0
- package/examples/game/libs/Fusion/_impl/Graph/Observer.luau +111 -0
- package/examples/game/libs/Fusion/_impl/Graph/castToGraph.luau +29 -0
- package/examples/game/libs/Fusion/_impl/Graph/change.luau +81 -0
- package/examples/game/libs/Fusion/_impl/Graph/depend.luau +33 -0
- package/examples/game/libs/Fusion/_impl/Graph/evaluate.luau +56 -0
- package/examples/game/libs/Fusion/_impl/Instances/Attribute.luau +58 -0
- package/examples/game/libs/Fusion/_impl/Instances/AttributeChange.luau +47 -0
- package/examples/game/libs/Fusion/_impl/Instances/AttributeOut.luau +63 -0
- package/examples/game/libs/Fusion/_impl/Instances/Child.luau +21 -0
- package/examples/game/libs/Fusion/_impl/Instances/Children.luau +148 -0
- package/examples/game/libs/Fusion/_impl/Instances/Hydrate.luau +29 -0
- package/examples/game/libs/Fusion/_impl/Instances/New.luau +48 -0
- package/examples/game/libs/Fusion/_impl/Instances/OnChange.luau +50 -0
- package/examples/game/libs/Fusion/_impl/Instances/OnEvent.luau +54 -0
- package/examples/game/libs/Fusion/_impl/Instances/Out.luau +69 -0
- package/examples/game/libs/Fusion/_impl/Instances/Tag.luau +61 -0
- package/examples/game/libs/Fusion/_impl/Instances/applyInstanceProps.luau +149 -0
- package/examples/game/libs/Fusion/_impl/Instances/defaultProps.luau +194 -0
- package/examples/game/libs/Fusion/_impl/LICENSE +21 -0
- package/examples/game/libs/Fusion/_impl/Logging/formatError.luau +49 -0
- package/examples/game/libs/Fusion/_impl/Logging/messages.luau +46 -0
- package/examples/game/libs/Fusion/_impl/Logging/parseError.luau +25 -0
- package/examples/game/libs/Fusion/_impl/Memory/checkLifetime.luau +134 -0
- package/examples/game/libs/Fusion/_impl/Memory/deriveScope.luau +24 -0
- package/examples/game/libs/Fusion/_impl/Memory/deriveScopeImpl.luau +40 -0
- package/examples/game/libs/Fusion/_impl/Memory/doCleanup.luau +91 -0
- package/examples/game/libs/Fusion/_impl/Memory/innerScope.luau +34 -0
- package/examples/game/libs/Fusion/_impl/Memory/insert.luau +22 -0
- package/examples/game/libs/Fusion/_impl/Memory/needsDestruction.luau +17 -0
- package/examples/game/libs/Fusion/_impl/Memory/scoped.luau +24 -0
- package/examples/game/libs/Fusion/_impl/RobloxExternal.luau +98 -0
- package/examples/game/libs/Fusion/_impl/State/Computed.luau +122 -0
- package/examples/game/libs/Fusion/_impl/State/For/Disassembly.luau +207 -0
- package/examples/game/libs/Fusion/_impl/State/For/ForTypes.luau +30 -0
- package/examples/game/libs/Fusion/_impl/State/For/init.luau +101 -0
- package/examples/game/libs/Fusion/_impl/State/ForKeys.luau +88 -0
- package/examples/game/libs/Fusion/_impl/State/ForPairs.luau +91 -0
- package/examples/game/libs/Fusion/_impl/State/ForValues.luau +88 -0
- package/examples/game/libs/Fusion/_impl/State/Value.luau +76 -0
- package/examples/game/libs/Fusion/_impl/State/castToState.luau +26 -0
- package/examples/game/libs/Fusion/_impl/State/peek.luau +31 -0
- package/examples/game/libs/Fusion/_impl/State/updateAll.luau +1 -0
- package/examples/game/libs/Fusion/_impl/Types.luau +318 -0
- package/examples/game/libs/Fusion/_impl/Utility/Contextual.luau +91 -0
- package/examples/game/libs/Fusion/_impl/Utility/Safe.luau +23 -0
- package/examples/game/libs/Fusion/_impl/Utility/isSimilar.luau +29 -0
- package/examples/game/libs/Fusion/_impl/Utility/merge.luau +35 -0
- package/examples/game/libs/Fusion/_impl/Utility/nameOf.luau +35 -0
- package/examples/game/libs/Fusion/_impl/Utility/never.luau +14 -0
- package/examples/game/libs/Fusion/_impl/Utility/nicknames.luau +11 -0
- package/examples/game/libs/Fusion/_impl/Utility/xtypeof.luau +27 -0
- package/examples/game/libs/Fusion/_impl/init.luau +83 -0
- package/examples/game/libs/Fusion/init.luau +27 -0
- package/examples/game/libs/Iris/API.lua +2085 -0
- package/examples/game/libs/Iris/Internal.lua +895 -0
- package/examples/game/libs/Iris/LICENSE.txt +21 -0
- package/examples/game/libs/Iris/PubTypes.lua +43 -0
- package/examples/game/libs/Iris/Types.lua +660 -0
- package/examples/game/libs/Iris/WidgetTypes.lua +521 -0
- package/examples/game/libs/Iris/_impl/API.lua +2085 -0
- package/examples/game/libs/Iris/_impl/Internal.lua +895 -0
- package/examples/game/libs/Iris/_impl/LICENSE.txt +21 -0
- package/examples/game/libs/Iris/_impl/PubTypes.lua +43 -0
- package/examples/game/libs/Iris/_impl/Types.lua +660 -0
- package/examples/game/libs/Iris/_impl/WidgetTypes.lua +521 -0
- package/examples/game/libs/Iris/_impl/config.lua +305 -0
- package/examples/game/libs/Iris/_impl/init.lua +696 -0
- package/examples/game/libs/Iris/_impl/widgets/Button.lua +90 -0
- package/examples/game/libs/Iris/_impl/widgets/Checkbox.lua +115 -0
- package/examples/game/libs/Iris/_impl/widgets/Combo.lua +492 -0
- package/examples/game/libs/Iris/_impl/widgets/Format.lua +140 -0
- package/examples/game/libs/Iris/_impl/widgets/Image.lua +155 -0
- package/examples/game/libs/Iris/_impl/widgets/Input.lua +1232 -0
- package/examples/game/libs/Iris/_impl/widgets/Menu.lua +599 -0
- package/examples/game/libs/Iris/_impl/widgets/Plot.lua +639 -0
- package/examples/game/libs/Iris/_impl/widgets/RadioButton.lua +126 -0
- package/examples/game/libs/Iris/_impl/widgets/Root.lua +143 -0
- package/examples/game/libs/Iris/_impl/widgets/Tab.lua +333 -0
- package/examples/game/libs/Iris/_impl/widgets/Table.lua +635 -0
- package/examples/game/libs/Iris/_impl/widgets/Text.lua +132 -0
- package/examples/game/libs/Iris/_impl/widgets/Tree.lua +287 -0
- package/examples/game/libs/Iris/_impl/widgets/Window.lua +1075 -0
- package/examples/game/libs/Iris/_impl/widgets/init.lua +447 -0
- package/examples/game/libs/Iris/config.lua +305 -0
- package/examples/game/libs/Iris/init.lua +696 -0
- package/examples/game/libs/Iris/init.luau +12 -0
- package/examples/game/libs/Iris/widgets/Button.lua +90 -0
- package/examples/game/libs/Iris/widgets/Checkbox.lua +115 -0
- package/examples/game/libs/Iris/widgets/Combo.lua +492 -0
- package/examples/game/libs/Iris/widgets/Format.lua +140 -0
- package/examples/game/libs/Iris/widgets/Image.lua +155 -0
- package/examples/game/libs/Iris/widgets/Input.lua +1232 -0
- package/examples/game/libs/Iris/widgets/Menu.lua +599 -0
- package/examples/game/libs/Iris/widgets/Plot.lua +639 -0
- package/examples/game/libs/Iris/widgets/RadioButton.lua +126 -0
- package/examples/game/libs/Iris/widgets/Root.lua +143 -0
- package/examples/game/libs/Iris/widgets/Tab.lua +333 -0
- package/examples/game/libs/Iris/widgets/Table.lua +635 -0
- package/examples/game/libs/Iris/widgets/Text.lua +132 -0
- package/examples/game/libs/Iris/widgets/Tree.lua +287 -0
- package/examples/game/libs/Iris/widgets/Window.lua +1075 -0
- package/examples/game/libs/Iris/widgets/init.lua +447 -0
- package/examples/game/libs/Janitor/FastDefer.luau +33 -0
- package/examples/game/libs/Janitor/LICENSE +21 -0
- package/examples/game/libs/Janitor/_impl/FastDefer.luau +33 -0
- package/examples/game/libs/Janitor/_impl/LICENSE +21 -0
- package/examples/game/libs/Janitor/_impl/init.luau +999 -0
- package/examples/game/libs/Janitor/init.luau +15 -0
- package/examples/game/libs/MathUtils/init.luau +100 -0
- package/examples/game/libs/Module3D/LICENSE +21 -0
- package/examples/game/libs/Module3D/_impl/LICENSE +21 -0
- package/examples/game/libs/Module3D/_impl/init.luau +269 -0
- package/examples/game/libs/Module3D/init.luau +14 -0
- package/examples/game/libs/Net/init.luau +125 -0
- package/examples/game/libs/Net/src/codec.luau +153 -0
- package/examples/game/libs/Occlude/init.luau +54 -0
- package/examples/game/libs/Promise/LICENSE +21 -0
- package/examples/game/libs/Promise/_impl/LICENSE +21 -0
- package/examples/game/libs/Promise/_impl/init.lua +1991 -0
- package/examples/game/libs/Promise/init.lua +1990 -0
- package/examples/game/libs/Promise/init.luau +13 -0
- package/examples/game/libs/Promise/types.luau +46 -0
- package/examples/game/libs/SOURCES.md +22 -0
- package/examples/game/libs/Spring/LICENSE +201 -0
- package/examples/game/libs/Spring/_impl/LICENSE +201 -0
- package/examples/game/libs/Spring/_impl/init.luau +111 -0
- package/examples/game/libs/Spring/init.luau +24 -0
- package/examples/game/libs/StateMachine/Classes/State.lua +375 -0
- package/examples/game/libs/StateMachine/Classes/Transition.lua +336 -0
- package/examples/game/libs/StateMachine/Functions/deepCopy.lua +19 -0
- package/examples/game/libs/StateMachine/Functions/mergeTables.lua +22 -0
- package/examples/game/libs/StateMachine/LICENSE +19 -0
- package/examples/game/libs/StateMachine/Vendor/Signal.lua +386 -0
- package/examples/game/libs/StateMachine/Vendor/Trove.lua +188 -0
- package/examples/game/libs/StateMachine/_impl/Classes/State.lua +375 -0
- package/examples/game/libs/StateMachine/_impl/Classes/Transition.lua +336 -0
- package/examples/game/libs/StateMachine/_impl/Functions/deepCopy.lua +19 -0
- package/examples/game/libs/StateMachine/_impl/Functions/mergeTables.lua +22 -0
- package/examples/game/libs/StateMachine/_impl/LICENSE +19 -0
- package/examples/game/libs/StateMachine/_impl/Vendor/Signal.lua +386 -0
- package/examples/game/libs/StateMachine/_impl/Vendor/Trove.lua +188 -0
- package/examples/game/libs/StateMachine/_impl/init.lua +595 -0
- package/examples/game/libs/StateMachine/init.lua +595 -0
- package/examples/game/libs/StateMachine/init.luau +10 -0
- package/examples/game/libs/StickyBillboard/init.luau +167 -0
- package/examples/game/libs/TopbarPlus/Attribute.lua +35 -0
- package/examples/game/libs/TopbarPlus/Elements/Caption.lua +316 -0
- package/examples/game/libs/TopbarPlus/Elements/Container.lua +215 -0
- package/examples/game/libs/TopbarPlus/Elements/Dropdown.lua +315 -0
- package/examples/game/libs/TopbarPlus/Elements/Indicator.lua +91 -0
- package/examples/game/libs/TopbarPlus/Elements/Menu.lua +180 -0
- package/examples/game/libs/TopbarPlus/Elements/Notice.lua +113 -0
- package/examples/game/libs/TopbarPlus/Elements/Selection.lua +49 -0
- package/examples/game/libs/TopbarPlus/Elements/Widget.lua +437 -0
- package/examples/game/libs/TopbarPlus/Features/Gamepad.lua +201 -0
- package/examples/game/libs/TopbarPlus/Features/Overflow.lua +360 -0
- package/examples/game/libs/TopbarPlus/Features/Themes/Classic.lua +27 -0
- package/examples/game/libs/TopbarPlus/Features/Themes/Default.lua +75 -0
- package/examples/game/libs/TopbarPlus/Features/Themes/init.lua +353 -0
- package/examples/game/libs/TopbarPlus/LICENSE +381 -0
- package/examples/game/libs/TopbarPlus/Packages/GoodSignal.lua +182 -0
- package/examples/game/libs/TopbarPlus/Packages/Janitor.lua +322 -0
- package/examples/game/libs/TopbarPlus/Reference.lua +30 -0
- package/examples/game/libs/TopbarPlus/Types.lua +477 -0
- package/examples/game/libs/TopbarPlus/Utility.lua +462 -0
- package/examples/game/libs/TopbarPlus/VERSION.lua +51 -0
- package/examples/game/libs/TopbarPlus/_impl/Attribute.lua +35 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Caption.lua +316 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Container.lua +215 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Dropdown.lua +315 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Indicator.lua +91 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Menu.lua +180 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Notice.lua +113 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Selection.lua +49 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Widget.lua +437 -0
- package/examples/game/libs/TopbarPlus/_impl/Features/Gamepad.lua +201 -0
- package/examples/game/libs/TopbarPlus/_impl/Features/Overflow.lua +360 -0
- package/examples/game/libs/TopbarPlus/_impl/Features/Themes/Classic.lua +27 -0
- package/examples/game/libs/TopbarPlus/_impl/Features/Themes/Default.lua +75 -0
- package/examples/game/libs/TopbarPlus/_impl/Features/Themes/init.lua +353 -0
- package/examples/game/libs/TopbarPlus/_impl/LICENSE +381 -0
- package/examples/game/libs/TopbarPlus/_impl/Packages/GoodSignal.lua +182 -0
- package/examples/game/libs/TopbarPlus/_impl/Packages/Janitor.lua +322 -0
- package/examples/game/libs/TopbarPlus/_impl/Reference.lua +30 -0
- package/examples/game/libs/TopbarPlus/_impl/Types.lua +477 -0
- package/examples/game/libs/TopbarPlus/_impl/Utility.lua +462 -0
- package/examples/game/libs/TopbarPlus/_impl/VERSION.lua +51 -0
- package/examples/game/libs/TopbarPlus/_impl/init.lua +1249 -0
- package/examples/game/libs/TopbarPlus/init.lua +1249 -0
- package/examples/game/libs/TopbarPlus/init.luau +8 -0
- package/examples/game/libs/Twinkle/init.luau +157 -0
- package/examples/game/libs/VfxUtil/init.luau +164 -0
- package/examples/game/src/client/hud.client.clpp +54 -0
- package/examples/game/src/client/init.client.clpp +6 -0
- package/examples/game/src/server/combat.server.clpp +85 -0
- package/examples/game/src/server/leaderstats.server.clpp +28 -0
- package/examples/game/src/shared/PlayerData.clh +20 -0
- package/examples/game/src/shared/config.clp +6 -0
- package/examples/game/src/shared/features.clp +100 -0
- package/generated/cli.js +46 -24
- package/generated/clpp/contract.js +6 -0
- package/generated/clpp/index.js +29 -0
- package/generated/clpp/paths.js +119 -0
- package/generated/clpp/postprocess.js +78 -0
- package/generated/clpp/runner.js +253 -0
- package/generated/compile.js +41 -134
- package/generated/intellisense.js +35 -166
- package/generated/libs.js +1 -1
- package/generated/lsp.js +6 -37
- package/generated/preprocess.js +8 -179
- package/generated/system-understander.js +1 -1
- package/generated/transpile.js +6 -49
- package/generated/utils/project.js +89 -61
- package/include/clpp/datatypes.clh +585 -0
- package/include/clpp/generated/enums.clh +4920 -0
- package/include/clpp/generated/instances.clh +12489 -0
- package/include/clpp/libs/chrono.clh +26 -0
- package/include/clpp/libs/cmdr.clh +16 -0
- package/include/clpp/libs/dataservice.clh +138 -0
- package/include/clpp/libs/display.clh +12 -0
- package/include/clpp/libs/ezvisual.clh +16 -0
- package/include/clpp/libs/formatnumber.clh +14 -0
- package/include/clpp/libs/fusion.clh +41 -0
- package/include/clpp/libs/iris.clh +40 -0
- package/include/clpp/libs/janitor.clh +38 -0
- package/include/clpp/libs/math.clh +14 -0
- package/include/clpp/libs/module3d.clh +23 -0
- package/include/clpp/libs/net.clh +40 -0
- package/include/clpp/libs/promise.clh +28 -0
- package/include/clpp/libs/spring.clh +17 -0
- package/include/clpp/libs/statemachine.clh +18 -0
- package/include/clpp/libs/stickybillboard.clh +13 -0
- package/include/clpp/libs/topbarplus.clh +28 -0
- package/include/clpp/libs/twinkle.clh +15 -0
- package/include/clpp/libs/vfx.clh +13 -0
- package/include/clpp/libs.clh +24 -0
- package/include/clpp/roblox.clh +32 -0
- package/package.json +13 -30
- package/src/cli.ts +45 -25
- package/src/clpp/contract.ts +51 -0
- package/src/clpp/index.ts +18 -0
- package/src/clpp/paths.ts +115 -0
- package/src/clpp/postprocess.ts +93 -0
- package/src/clpp/runner.ts +272 -0
- package/src/compile.ts +43 -144
- package/src/intellisense.ts +33 -173
- package/src/libs.ts +1 -1
- package/src/lsp.ts +6 -35
- package/src/preprocess.ts +8 -180
- package/src/system-understander.ts +1 -1
- package/src/transpile.ts +17 -51
- package/src/types.ts +1 -0
- package/src/utils/project.ts +106 -68
- package/templates/game/.vscode/extensions.json +2 -4
- package/templates/game/.vscode/settings.json +6 -14
- package/templates/game/include/clpp/datatypes.clh +585 -0
- package/templates/game/include/clpp/generated/enums.clh +4920 -0
- package/templates/game/include/clpp/generated/instances.clh +12489 -0
- package/templates/game/include/clpp/libs/chrono.clh +26 -0
- package/templates/game/include/clpp/libs/cmdr.clh +16 -0
- package/templates/game/include/clpp/libs/dataservice.clh +138 -0
- package/templates/game/include/clpp/libs/display.clh +12 -0
- package/templates/game/include/clpp/libs/ezvisual.clh +16 -0
- package/templates/game/include/clpp/libs/formatnumber.clh +14 -0
- package/templates/game/include/clpp/libs/fusion.clh +41 -0
- package/templates/game/include/clpp/libs/iris.clh +40 -0
- package/templates/game/include/clpp/libs/janitor.clh +38 -0
- package/templates/game/include/clpp/libs/math.clh +14 -0
- package/templates/game/include/clpp/libs/module3d.clh +23 -0
- package/templates/game/include/clpp/libs/net.clh +40 -0
- package/templates/game/include/clpp/libs/promise.clh +28 -0
- package/templates/game/include/clpp/libs/spring.clh +17 -0
- package/templates/game/include/clpp/libs/statemachine.clh +18 -0
- package/templates/game/include/clpp/libs/stickybillboard.clh +13 -0
- package/templates/game/include/clpp/libs/topbarplus.clh +28 -0
- package/templates/game/include/clpp/libs/twinkle.clh +15 -0
- package/templates/game/include/clpp/libs/vfx.clh +13 -0
- package/templates/game/include/clpp/libs.clh +24 -0
- package/templates/game/include/clpp/roblox.clh +32 -0
- package/templates/game/libs/ArrayIndexer/init.luau +144 -0
- package/templates/game/libs/Chrono/Client/ClientClock.luau +202 -0
- package/templates/game/libs/Chrono/Client/InterpolationBuffer.luau +74 -0
- package/templates/game/libs/Chrono/Client/ModelResolver.luau +53 -0
- package/templates/game/libs/Chrono/Client/Player.luau +113 -0
- package/templates/game/libs/Chrono/Client/Receiver.luau +395 -0
- package/templates/game/libs/Chrono/Client/Replicate.luau +333 -0
- package/templates/game/libs/Chrono/Client/Sender.luau +205 -0
- package/templates/game/libs/Chrono/LICENSE +21 -0
- package/templates/game/libs/Chrono/Server/EntityGrid.luau +299 -0
- package/templates/game/libs/Chrono/Server/Player.luau +141 -0
- package/templates/game/libs/Chrono/Server/Receiver.luau +287 -0
- package/templates/game/libs/Chrono/Server/Replicate.luau +415 -0
- package/templates/game/libs/Chrono/Server/Sender.luau +306 -0
- package/templates/game/libs/Chrono/Server/ServerClock.luau +50 -0
- package/templates/game/libs/Chrono/Shared/ApplyMounts.luau +137 -0
- package/templates/game/libs/Chrono/Shared/Bin.luau +31 -0
- package/templates/game/libs/Chrono/Shared/ClockUnwrap.luau +70 -0
- package/templates/game/libs/Chrono/Shared/Config.luau +264 -0
- package/templates/game/libs/Chrono/Shared/Entity.luau +1016 -0
- package/templates/game/libs/Chrono/Shared/Events.luau +39 -0
- package/templates/game/libs/Chrono/Shared/Holder.luau +210 -0
- package/templates/game/libs/Chrono/Shared/InterpolationMath.luau +51 -0
- package/templates/game/libs/Chrono/Shared/ModelHelper.luau +122 -0
- package/templates/game/libs/Chrono/Shared/Remotes/ClientClockRelay.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/ClientHeartbeat.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/ClientLoaded.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/Death.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/Heartbeat.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/Replicate.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/ReplicateFull.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/SafeReplicate.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/ReplicationRules.luau +122 -0
- package/templates/game/libs/Chrono/Shared/Signal.luau +219 -0
- package/templates/game/libs/Chrono/Shared/Snapshots.luau +218 -0
- package/templates/game/libs/Chrono/Shared/Stats.luau +204 -0
- package/templates/game/libs/Chrono/Shared/Ticker.luau +112 -0
- package/templates/game/libs/Chrono/Shared/Types.luau +247 -0
- package/templates/game/libs/Chrono/Shared/Warn.luau +33 -0
- package/templates/game/libs/Chrono/Shared/_CUSTOM_MODEL_REP/init.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Client/ClientClock.luau +202 -0
- package/templates/game/libs/Chrono/_impl/Client/InterpolationBuffer.luau +74 -0
- package/templates/game/libs/Chrono/_impl/Client/ModelResolver.luau +53 -0
- package/templates/game/libs/Chrono/_impl/Client/Player.luau +113 -0
- package/templates/game/libs/Chrono/_impl/Client/Receiver.luau +395 -0
- package/templates/game/libs/Chrono/_impl/Client/Replicate.luau +333 -0
- package/templates/game/libs/Chrono/_impl/Client/Sender.luau +205 -0
- package/templates/game/libs/Chrono/_impl/LICENSE +21 -0
- package/templates/game/libs/Chrono/_impl/Server/EntityGrid.luau +299 -0
- package/templates/game/libs/Chrono/_impl/Server/Player.luau +141 -0
- package/templates/game/libs/Chrono/_impl/Server/Receiver.luau +287 -0
- package/templates/game/libs/Chrono/_impl/Server/Replicate.luau +415 -0
- package/templates/game/libs/Chrono/_impl/Server/Sender.luau +306 -0
- package/templates/game/libs/Chrono/_impl/Server/ServerClock.luau +50 -0
- package/templates/game/libs/Chrono/_impl/Shared/ApplyMounts.luau +137 -0
- package/templates/game/libs/Chrono/_impl/Shared/Bin.luau +31 -0
- package/templates/game/libs/Chrono/_impl/Shared/ClockUnwrap.luau +70 -0
- package/templates/game/libs/Chrono/_impl/Shared/Config.luau +264 -0
- package/templates/game/libs/Chrono/_impl/Shared/Entity.luau +1016 -0
- package/templates/game/libs/Chrono/_impl/Shared/Events.luau +39 -0
- package/templates/game/libs/Chrono/_impl/Shared/Holder.luau +210 -0
- package/templates/game/libs/Chrono/_impl/Shared/InterpolationMath.luau +51 -0
- package/templates/game/libs/Chrono/_impl/Shared/ModelHelper.luau +122 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/ClientClockRelay.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/ClientHeartbeat.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/ClientLoaded.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/Death.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/Heartbeat.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/Replicate.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/ReplicateFull.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/SafeReplicate.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/ReplicationRules.luau +122 -0
- package/templates/game/libs/Chrono/_impl/Shared/Signal.luau +219 -0
- package/templates/game/libs/Chrono/_impl/Shared/Snapshots.luau +218 -0
- package/templates/game/libs/Chrono/_impl/Shared/Stats.luau +204 -0
- package/templates/game/libs/Chrono/_impl/Shared/Ticker.luau +112 -0
- package/templates/game/libs/Chrono/_impl/Shared/Types.luau +247 -0
- package/templates/game/libs/Chrono/_impl/Shared/Warn.luau +33 -0
- package/templates/game/libs/Chrono/_impl/Shared/_CUSTOM_MODEL_REP/init.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/init.luau +96 -0
- package/templates/game/libs/Chrono/init.luau +14 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/announce.luau +21 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/announceServer.luau +17 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/ban.luau +59 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/banServer.luau +30 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/gotoPlace.luau +35 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/gotoPlaceServer.luau +17 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/kick.luau +19 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/kickServer.luau +27 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/kill.luau +13 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/killServer.luau +13 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/respawn.luau +15 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/respawnServer.luau +7 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/teleport.luau +30 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/teleportServer.luau +26 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/unban.luau +26 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/unbanServer.luau +10 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/blink.luau +35 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/fetch.luau +12 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/fetchServer.luau +7 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +20 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +28 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/position.luau +30 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/thru.luau +50 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/uptime.luau +6 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/uptimeServer.luau +12 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/version.luau +12 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/alias.luau +22 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/bind.luau +104 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/clear.luau +20 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/convertTimestamp.luau +18 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/echo.luau +17 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/edit.luau +75 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/exit.luau +11 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/history.luau +27 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/hover.luau +21 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/jsonArrayDecode.luau +25 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/jsonArrayEncode.luau +18 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/len.luau +16 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/math.luau +36 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/pick.luau +21 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/rand.luau +27 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/replace.luau +32 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/resolve.luau +32 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/run.luau +20 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/runLines.luau +34 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/runif.luau +95 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/unbind.luau +27 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/var.luau +29 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/varServer.luau +37 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/varSet.luau +30 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/varSetServer.luau +29 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/help.luau +96 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/BrickColor.luau +258 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Color3.luau +59 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Command.luau +23 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Duration.luau +111 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/JSON.luau +13 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/MathOperator.luau +43 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Player.luau +36 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/PlayerId.luau +66 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Primitives.luau +145 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/StoredKey.luau +33 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Team.luau +49 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Type.luau +23 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/URL.luau +18 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/UserInput.luau +32 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Vector.luau +58 -0
- package/templates/game/libs/Cmdr/CmdrClient/CmdrInterface/AutoComplete.luau +240 -0
- package/templates/game/libs/Cmdr/CmdrClient/CmdrInterface/CreateGui.luau +227 -0
- package/templates/game/libs/Cmdr/CmdrClient/CmdrInterface/Window.luau +713 -0
- package/templates/game/libs/Cmdr/CmdrClient/CmdrInterface/init.luau +18 -0
- package/templates/game/libs/Cmdr/CmdrClient/DefaultEventHandlers.luau +18 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/Argument.luau +395 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +39 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +36 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +10 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +10 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +10 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +8 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/Command.luau +415 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/Dispatcher.luau +407 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/Registry.luau +717 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/Util.luau +879 -0
- package/templates/game/libs/Cmdr/CmdrClient/init.luau +377 -0
- package/templates/game/libs/Cmdr/LICENSE +21 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/announce.luau +21 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/announceServer.luau +17 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/ban.luau +59 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/banServer.luau +30 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/gotoPlace.luau +35 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/gotoPlaceServer.luau +17 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kick.luau +19 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kickServer.luau +27 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kill.luau +13 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/killServer.luau +13 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/respawn.luau +15 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/respawnServer.luau +7 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/teleport.luau +30 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/teleportServer.luau +26 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/unban.luau +26 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/unbanServer.luau +10 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/blink.luau +35 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/fetch.luau +12 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/fetchServer.luau +7 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +20 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +28 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/position.luau +30 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/thru.luau +50 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/uptime.luau +6 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/uptimeServer.luau +12 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/version.luau +12 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/alias.luau +22 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/bind.luau +104 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/clear.luau +20 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/convertTimestamp.luau +18 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/echo.luau +17 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/edit.luau +75 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/exit.luau +11 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/history.luau +27 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/hover.luau +21 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayDecode.luau +25 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayEncode.luau +18 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/len.luau +16 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/math.luau +36 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/pick.luau +21 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/rand.luau +27 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/replace.luau +32 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/resolve.luau +32 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/run.luau +20 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/runLines.luau +34 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/runif.luau +95 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/unbind.luau +27 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/var.luau +29 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varServer.luau +37 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varSet.luau +30 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varSetServer.luau +29 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/help.luau +96 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/BrickColor.luau +258 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Color3.luau +59 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Command.luau +23 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Duration.luau +111 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/JSON.luau +13 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/MathOperator.luau +43 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Player.luau +36 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/PlayerId.luau +66 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Primitives.luau +145 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/StoredKey.luau +33 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Team.luau +49 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Type.luau +23 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/URL.luau +18 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/UserInput.luau +32 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Vector.luau +58 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/AutoComplete.luau +240 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/CreateGui.luau +227 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/Window.luau +713 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/init.luau +18 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/DefaultEventHandlers.luau +18 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Argument.luau +395 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +39 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +36 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +10 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +10 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +10 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +8 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Command.luau +415 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Dispatcher.luau +407 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Registry.luau +717 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Util.luau +879 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/init.luau +377 -0
- package/templates/game/libs/Cmdr/_impl/LICENSE +21 -0
- package/templates/game/libs/Cmdr/_impl/init.luau +178 -0
- package/templates/game/libs/Cmdr/init.luau +8 -0
- package/templates/game/libs/DataService/Client.luau +209 -0
- package/templates/game/libs/DataService/Data.luau +886 -0
- package/templates/game/libs/DataService/Enum.luau +6 -0
- package/templates/game/libs/DataService/Enums.luau +10 -0
- package/templates/game/libs/DataService/Packages/quicknet/DataTypes.luau +70 -0
- package/templates/game/libs/DataService/Packages/quicknet/Enums.luau +85 -0
- package/templates/game/libs/DataService/Packages/quicknet/EnumsToNativeTypes.luau +57 -0
- package/templates/game/libs/DataService/Packages/quicknet/Parser.luau +355 -0
- package/templates/game/libs/DataService/Packages/quicknet/QuickNet.luau +953 -0
- package/templates/game/libs/DataService/Packages/quicknet/Serialize.luau +2020 -0
- package/templates/game/libs/DataService/Packages/quicknet/Types.luau +72 -0
- package/templates/game/libs/DataService/Packages/quicknet/init.luau +1 -0
- package/templates/game/libs/DataService/Packages/signal/init.luau +433 -0
- package/templates/game/libs/DataService/Path.luau +236 -0
- package/templates/game/libs/DataService/ProfileStore.luau +2243 -0
- package/templates/game/libs/DataService/Replicator.luau +172 -0
- package/templates/game/libs/DataService/Server.luau +412 -0
- package/templates/game/libs/DataService/init.luau +204 -0
- package/templates/game/libs/Display/LICENSE +201 -0
- package/templates/game/libs/Display/_impl/LICENSE +201 -0
- package/templates/game/libs/Display/_impl/init.luau +269 -0
- package/templates/game/libs/Display/_impl/option.luau +237 -0
- package/templates/game/libs/Display/init.luau +10 -0
- package/templates/game/libs/Display/option.luau +237 -0
- package/templates/game/libs/EzVisualz/Dropshadow.luau +148 -0
- package/templates/game/libs/EzVisualz/Gradient.luau +452 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Bubblegum.luau +16 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Chrome.luau +16 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Death.luau +15 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Electric.luau +14 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Fire.luau +13 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Galaxy.luau +11 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Ghost.luau +16 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Gold.luau +14 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Green.luau +14 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Ice.luau +14 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Lava.luau +15 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Matrix.luau +19 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Neon.luau +12 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Oceanic.luau +15 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Rainbow.luau +13 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Silver.luau +12 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Sunset.luau +11 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Zebra.luau +18 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/init.luau +9 -0
- package/templates/game/libs/EzVisualz/LICENSE.md +21 -0
- package/templates/game/libs/EzVisualz/Presets/Bubblegum.luau +36 -0
- package/templates/game/libs/EzVisualz/Presets/ChromeStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/DeathStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/ElectricStroke.luau +54 -0
- package/templates/game/libs/EzVisualz/Presets/FireStroke.luau +29 -0
- package/templates/game/libs/EzVisualz/Presets/GalaxyStroke.luau +31 -0
- package/templates/game/libs/EzVisualz/Presets/Ghost.luau +10 -0
- package/templates/game/libs/EzVisualz/Presets/GhostStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/Gold.luau +10 -0
- package/templates/game/libs/EzVisualz/Presets/GoldStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/GreenOutline.luau +23 -0
- package/templates/game/libs/EzVisualz/Presets/IceStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/Lava.luau +9 -0
- package/templates/game/libs/EzVisualz/Presets/LavaStroke.luau +13 -0
- package/templates/game/libs/EzVisualz/Presets/Matrix.luau +21 -0
- package/templates/game/libs/EzVisualz/Presets/NeonStroke.luau +30 -0
- package/templates/game/libs/EzVisualz/Presets/OceanicStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/Rainbow.luau +9 -0
- package/templates/game/libs/EzVisualz/Presets/RainbowOutline.luau +23 -0
- package/templates/game/libs/EzVisualz/Presets/RainbowStroke.luau +13 -0
- package/templates/game/libs/EzVisualz/Presets/Shine.luau +48 -0
- package/templates/game/libs/EzVisualz/Presets/ShineOutline.luau +66 -0
- package/templates/game/libs/EzVisualz/Presets/Silver.luau +10 -0
- package/templates/game/libs/EzVisualz/Presets/SilverStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/SunsetStroke.luau +31 -0
- package/templates/game/libs/EzVisualz/Presets/WaveStroke.luau +33 -0
- package/templates/game/libs/EzVisualz/Presets/Zebra.luau +21 -0
- package/templates/game/libs/EzVisualz/Presets/init.luau +9 -0
- package/templates/game/libs/EzVisualz/Stroke.luau +167 -0
- package/templates/game/libs/EzVisualz/Util.luau +7 -0
- package/templates/game/libs/EzVisualz/_impl/Dropshadow.luau +148 -0
- package/templates/game/libs/EzVisualz/_impl/Gradient.luau +452 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Bubblegum.luau +16 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Chrome.luau +16 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Death.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Electric.luau +14 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Fire.luau +13 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Galaxy.luau +11 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Ghost.luau +16 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Gold.luau +14 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Green.luau +14 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Ice.luau +14 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Lava.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Matrix.luau +19 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Neon.luau +12 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Oceanic.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Rainbow.luau +13 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Silver.luau +12 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Sunset.luau +11 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Zebra.luau +18 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/init.luau +9 -0
- package/templates/game/libs/EzVisualz/_impl/LICENSE.md +21 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Bubblegum.luau +36 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/ChromeStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/DeathStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/ElectricStroke.luau +54 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/FireStroke.luau +29 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/GalaxyStroke.luau +31 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Ghost.luau +10 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/GhostStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Gold.luau +10 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/GoldStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/GreenOutline.luau +23 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/IceStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Lava.luau +9 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/LavaStroke.luau +13 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Matrix.luau +21 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/NeonStroke.luau +30 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/OceanicStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Rainbow.luau +9 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/RainbowOutline.luau +23 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/RainbowStroke.luau +13 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Shine.luau +48 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/ShineOutline.luau +66 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Silver.luau +10 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/SilverStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/SunsetStroke.luau +31 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/WaveStroke.luau +33 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Zebra.luau +21 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/init.luau +9 -0
- package/templates/game/libs/EzVisualz/_impl/Stroke.luau +167 -0
- package/templates/game/libs/EzVisualz/_impl/Util.luau +7 -0
- package/templates/game/libs/EzVisualz/_impl/init.luau +319 -0
- package/templates/game/libs/EzVisualz/_impl/wally.lock +8 -0
- package/templates/game/libs/EzVisualz/_impl/wally.toml +8 -0
- package/templates/game/libs/EzVisualz/init.luau +9 -0
- package/templates/game/libs/EzVisualz/wally.lock +8 -0
- package/templates/game/libs/EzVisualz/wally.toml +8 -0
- package/templates/game/libs/FormatNumber/LICENSE.md +25 -0
- package/templates/game/libs/FormatNumber/Main/DecimalFormatSymbols.lua +43 -0
- package/templates/game/libs/FormatNumber/Main/IntegerWidth.lua +41 -0
- package/templates/game/libs/FormatNumber/Main/Notation.lua +116 -0
- package/templates/game/libs/FormatNumber/Main/Precision.lua +179 -0
- package/templates/game/libs/FormatNumber/Main/init.lua +199 -0
- package/templates/game/libs/FormatNumber/Simple/init.lua +76 -0
- package/templates/game/libs/FormatNumber/Version.lua +82 -0
- package/templates/game/libs/FormatNumber/_impl/LICENSE.md +25 -0
- package/templates/game/libs/FormatNumber/_impl/Main/DecimalFormatSymbols.lua +43 -0
- package/templates/game/libs/FormatNumber/_impl/Main/IntegerWidth.lua +41 -0
- package/templates/game/libs/FormatNumber/_impl/Main/Notation.lua +116 -0
- package/templates/game/libs/FormatNumber/_impl/Main/Precision.lua +179 -0
- package/templates/game/libs/FormatNumber/_impl/Main/init.lua +199 -0
- package/templates/game/libs/FormatNumber/_impl/Simple/init.lua +76 -0
- package/templates/game/libs/FormatNumber/_impl/Version.lua +82 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/class.lua +204 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/decimal_conversion.lua +30 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/enums.lua +55 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/format.lua +342 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/formatter_settings.lua +160 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/init.lua +8 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/skeleton.lua +541 -0
- package/templates/game/libs/FormatNumber/_impl/init.lua +20 -0
- package/templates/game/libs/FormatNumber/_internal/class.lua +204 -0
- package/templates/game/libs/FormatNumber/_internal/decimal_conversion.lua +30 -0
- package/templates/game/libs/FormatNumber/_internal/enums.lua +55 -0
- package/templates/game/libs/FormatNumber/_internal/format.lua +342 -0
- package/templates/game/libs/FormatNumber/_internal/formatter_settings.lua +160 -0
- package/templates/game/libs/FormatNumber/_internal/init.lua +8 -0
- package/templates/game/libs/FormatNumber/_internal/skeleton.lua +541 -0
- package/templates/game/libs/FormatNumber/init.lua +20 -0
- package/templates/game/libs/FormatNumber/init.luau +20 -0
- package/templates/game/libs/Fusion/Animation/ExternalTime.luau +84 -0
- package/templates/game/libs/Fusion/Animation/Spring.luau +313 -0
- package/templates/game/libs/Fusion/Animation/Stopwatch.luau +128 -0
- package/templates/game/libs/Fusion/Animation/Tween.luau +178 -0
- package/templates/game/libs/Fusion/Animation/getTweenDuration.luau +27 -0
- package/templates/game/libs/Fusion/Animation/getTweenRatio.luau +47 -0
- package/templates/game/libs/Fusion/Animation/lerpType.luau +164 -0
- package/templates/game/libs/Fusion/Animation/packType.luau +100 -0
- package/templates/game/libs/Fusion/Animation/springCoefficients.luau +80 -0
- package/templates/game/libs/Fusion/Animation/unpackType.luau +103 -0
- package/templates/game/libs/Fusion/Colour/Oklab.luau +70 -0
- package/templates/game/libs/Fusion/Colour/sRGB.luau +47 -0
- package/templates/game/libs/Fusion/External.luau +156 -0
- package/templates/game/libs/Fusion/ExternalDebug.luau +70 -0
- package/templates/game/libs/Fusion/Graph/Observer.luau +111 -0
- package/templates/game/libs/Fusion/Graph/castToGraph.luau +29 -0
- package/templates/game/libs/Fusion/Graph/change.luau +81 -0
- package/templates/game/libs/Fusion/Graph/depend.luau +33 -0
- package/templates/game/libs/Fusion/Graph/evaluate.luau +56 -0
- package/templates/game/libs/Fusion/Instances/Attribute.luau +58 -0
- package/templates/game/libs/Fusion/Instances/AttributeChange.luau +47 -0
- package/templates/game/libs/Fusion/Instances/AttributeOut.luau +63 -0
- package/templates/game/libs/Fusion/Instances/Child.luau +21 -0
- package/templates/game/libs/Fusion/Instances/Children.luau +148 -0
- package/templates/game/libs/Fusion/Instances/Hydrate.luau +29 -0
- package/templates/game/libs/Fusion/Instances/New.luau +48 -0
- package/templates/game/libs/Fusion/Instances/OnChange.luau +50 -0
- package/templates/game/libs/Fusion/Instances/OnEvent.luau +54 -0
- package/templates/game/libs/Fusion/Instances/Out.luau +69 -0
- package/templates/game/libs/Fusion/Instances/Tag.luau +61 -0
- package/templates/game/libs/Fusion/Instances/applyInstanceProps.luau +149 -0
- package/templates/game/libs/Fusion/Instances/defaultProps.luau +194 -0
- package/templates/game/libs/Fusion/LICENSE +21 -0
- package/templates/game/libs/Fusion/Logging/formatError.luau +49 -0
- package/templates/game/libs/Fusion/Logging/messages.luau +46 -0
- package/templates/game/libs/Fusion/Logging/parseError.luau +25 -0
- package/templates/game/libs/Fusion/Memory/checkLifetime.luau +134 -0
- package/templates/game/libs/Fusion/Memory/deriveScope.luau +24 -0
- package/templates/game/libs/Fusion/Memory/deriveScopeImpl.luau +40 -0
- package/templates/game/libs/Fusion/Memory/doCleanup.luau +91 -0
- package/templates/game/libs/Fusion/Memory/innerScope.luau +34 -0
- package/templates/game/libs/Fusion/Memory/insert.luau +22 -0
- package/templates/game/libs/Fusion/Memory/needsDestruction.luau +17 -0
- package/templates/game/libs/Fusion/Memory/scoped.luau +24 -0
- package/templates/game/libs/Fusion/RobloxExternal.luau +98 -0
- package/templates/game/libs/Fusion/State/Computed.luau +122 -0
- package/templates/game/libs/Fusion/State/For/Disassembly.luau +207 -0
- package/templates/game/libs/Fusion/State/For/ForTypes.luau +30 -0
- package/templates/game/libs/Fusion/State/For/init.luau +101 -0
- package/templates/game/libs/Fusion/State/ForKeys.luau +88 -0
- package/templates/game/libs/Fusion/State/ForPairs.luau +91 -0
- package/templates/game/libs/Fusion/State/ForValues.luau +88 -0
- package/templates/game/libs/Fusion/State/Value.luau +76 -0
- package/templates/game/libs/Fusion/State/castToState.luau +26 -0
- package/templates/game/libs/Fusion/State/peek.luau +31 -0
- package/templates/game/libs/Fusion/State/updateAll.luau +1 -0
- package/templates/game/libs/Fusion/Types.luau +318 -0
- package/templates/game/libs/Fusion/Utility/Contextual.luau +91 -0
- package/templates/game/libs/Fusion/Utility/Safe.luau +23 -0
- package/templates/game/libs/Fusion/Utility/isSimilar.luau +29 -0
- package/templates/game/libs/Fusion/Utility/merge.luau +35 -0
- package/templates/game/libs/Fusion/Utility/nameOf.luau +35 -0
- package/templates/game/libs/Fusion/Utility/never.luau +14 -0
- package/templates/game/libs/Fusion/Utility/nicknames.luau +11 -0
- package/templates/game/libs/Fusion/Utility/xtypeof.luau +27 -0
- package/templates/game/libs/Fusion/_impl/Animation/ExternalTime.luau +84 -0
- package/templates/game/libs/Fusion/_impl/Animation/Spring.luau +313 -0
- package/templates/game/libs/Fusion/_impl/Animation/Stopwatch.luau +128 -0
- package/templates/game/libs/Fusion/_impl/Animation/Tween.luau +178 -0
- package/templates/game/libs/Fusion/_impl/Animation/getTweenDuration.luau +27 -0
- package/templates/game/libs/Fusion/_impl/Animation/getTweenRatio.luau +47 -0
- package/templates/game/libs/Fusion/_impl/Animation/lerpType.luau +164 -0
- package/templates/game/libs/Fusion/_impl/Animation/packType.luau +100 -0
- package/templates/game/libs/Fusion/_impl/Animation/springCoefficients.luau +80 -0
- package/templates/game/libs/Fusion/_impl/Animation/unpackType.luau +103 -0
- package/templates/game/libs/Fusion/_impl/Colour/Oklab.luau +70 -0
- package/templates/game/libs/Fusion/_impl/Colour/sRGB.luau +47 -0
- package/templates/game/libs/Fusion/_impl/External.luau +156 -0
- package/templates/game/libs/Fusion/_impl/ExternalDebug.luau +70 -0
- package/templates/game/libs/Fusion/_impl/Graph/Observer.luau +111 -0
- package/templates/game/libs/Fusion/_impl/Graph/castToGraph.luau +29 -0
- package/templates/game/libs/Fusion/_impl/Graph/change.luau +81 -0
- package/templates/game/libs/Fusion/_impl/Graph/depend.luau +33 -0
- package/templates/game/libs/Fusion/_impl/Graph/evaluate.luau +56 -0
- package/templates/game/libs/Fusion/_impl/Instances/Attribute.luau +58 -0
- package/templates/game/libs/Fusion/_impl/Instances/AttributeChange.luau +47 -0
- package/templates/game/libs/Fusion/_impl/Instances/AttributeOut.luau +63 -0
- package/templates/game/libs/Fusion/_impl/Instances/Child.luau +21 -0
- package/templates/game/libs/Fusion/_impl/Instances/Children.luau +148 -0
- package/templates/game/libs/Fusion/_impl/Instances/Hydrate.luau +29 -0
- package/templates/game/libs/Fusion/_impl/Instances/New.luau +48 -0
- package/templates/game/libs/Fusion/_impl/Instances/OnChange.luau +50 -0
- package/templates/game/libs/Fusion/_impl/Instances/OnEvent.luau +54 -0
- package/templates/game/libs/Fusion/_impl/Instances/Out.luau +69 -0
- package/templates/game/libs/Fusion/_impl/Instances/Tag.luau +61 -0
- package/templates/game/libs/Fusion/_impl/Instances/applyInstanceProps.luau +149 -0
- package/templates/game/libs/Fusion/_impl/Instances/defaultProps.luau +194 -0
- package/templates/game/libs/Fusion/_impl/LICENSE +21 -0
- package/templates/game/libs/Fusion/_impl/Logging/formatError.luau +49 -0
- package/templates/game/libs/Fusion/_impl/Logging/messages.luau +46 -0
- package/templates/game/libs/Fusion/_impl/Logging/parseError.luau +25 -0
- package/templates/game/libs/Fusion/_impl/Memory/checkLifetime.luau +134 -0
- package/templates/game/libs/Fusion/_impl/Memory/deriveScope.luau +24 -0
- package/templates/game/libs/Fusion/_impl/Memory/deriveScopeImpl.luau +40 -0
- package/templates/game/libs/Fusion/_impl/Memory/doCleanup.luau +91 -0
- package/templates/game/libs/Fusion/_impl/Memory/innerScope.luau +34 -0
- package/templates/game/libs/Fusion/_impl/Memory/insert.luau +22 -0
- package/templates/game/libs/Fusion/_impl/Memory/needsDestruction.luau +17 -0
- package/templates/game/libs/Fusion/_impl/Memory/scoped.luau +24 -0
- package/templates/game/libs/Fusion/_impl/RobloxExternal.luau +98 -0
- package/templates/game/libs/Fusion/_impl/State/Computed.luau +122 -0
- package/templates/game/libs/Fusion/_impl/State/For/Disassembly.luau +207 -0
- package/templates/game/libs/Fusion/_impl/State/For/ForTypes.luau +30 -0
- package/templates/game/libs/Fusion/_impl/State/For/init.luau +101 -0
- package/templates/game/libs/Fusion/_impl/State/ForKeys.luau +88 -0
- package/templates/game/libs/Fusion/_impl/State/ForPairs.luau +91 -0
- package/templates/game/libs/Fusion/_impl/State/ForValues.luau +88 -0
- package/templates/game/libs/Fusion/_impl/State/Value.luau +76 -0
- package/templates/game/libs/Fusion/_impl/State/castToState.luau +26 -0
- package/templates/game/libs/Fusion/_impl/State/peek.luau +31 -0
- package/templates/game/libs/Fusion/_impl/State/updateAll.luau +1 -0
- package/templates/game/libs/Fusion/_impl/Types.luau +318 -0
- package/templates/game/libs/Fusion/_impl/Utility/Contextual.luau +91 -0
- package/templates/game/libs/Fusion/_impl/Utility/Safe.luau +23 -0
- package/templates/game/libs/Fusion/_impl/Utility/isSimilar.luau +29 -0
- package/templates/game/libs/Fusion/_impl/Utility/merge.luau +35 -0
- package/templates/game/libs/Fusion/_impl/Utility/nameOf.luau +35 -0
- package/templates/game/libs/Fusion/_impl/Utility/never.luau +14 -0
- package/templates/game/libs/Fusion/_impl/Utility/nicknames.luau +11 -0
- package/templates/game/libs/Fusion/_impl/Utility/xtypeof.luau +27 -0
- package/templates/game/libs/Fusion/_impl/init.luau +83 -0
- package/templates/game/libs/Fusion/init.luau +27 -0
- package/templates/game/libs/Iris/API.lua +2085 -0
- package/templates/game/libs/Iris/Internal.lua +895 -0
- package/templates/game/libs/Iris/LICENSE.txt +21 -0
- package/templates/game/libs/Iris/PubTypes.lua +43 -0
- package/templates/game/libs/Iris/Types.lua +660 -0
- package/templates/game/libs/Iris/WidgetTypes.lua +521 -0
- package/templates/game/libs/Iris/_impl/API.lua +2085 -0
- package/templates/game/libs/Iris/_impl/Internal.lua +895 -0
- package/templates/game/libs/Iris/_impl/LICENSE.txt +21 -0
- package/templates/game/libs/Iris/_impl/PubTypes.lua +43 -0
- package/templates/game/libs/Iris/_impl/Types.lua +660 -0
- package/templates/game/libs/Iris/_impl/WidgetTypes.lua +521 -0
- package/templates/game/libs/Iris/_impl/config.lua +305 -0
- package/templates/game/libs/Iris/_impl/init.lua +696 -0
- package/templates/game/libs/Iris/_impl/widgets/Button.lua +90 -0
- package/templates/game/libs/Iris/_impl/widgets/Checkbox.lua +115 -0
- package/templates/game/libs/Iris/_impl/widgets/Combo.lua +492 -0
- package/templates/game/libs/Iris/_impl/widgets/Format.lua +140 -0
- package/templates/game/libs/Iris/_impl/widgets/Image.lua +155 -0
- package/templates/game/libs/Iris/_impl/widgets/Input.lua +1232 -0
- package/templates/game/libs/Iris/_impl/widgets/Menu.lua +599 -0
- package/templates/game/libs/Iris/_impl/widgets/Plot.lua +639 -0
- package/templates/game/libs/Iris/_impl/widgets/RadioButton.lua +126 -0
- package/templates/game/libs/Iris/_impl/widgets/Root.lua +143 -0
- package/templates/game/libs/Iris/_impl/widgets/Tab.lua +333 -0
- package/templates/game/libs/Iris/_impl/widgets/Table.lua +635 -0
- package/templates/game/libs/Iris/_impl/widgets/Text.lua +132 -0
- package/templates/game/libs/Iris/_impl/widgets/Tree.lua +287 -0
- package/templates/game/libs/Iris/_impl/widgets/Window.lua +1075 -0
- package/templates/game/libs/Iris/_impl/widgets/init.lua +447 -0
- package/templates/game/libs/Iris/config.lua +305 -0
- package/templates/game/libs/Iris/init.lua +696 -0
- package/templates/game/libs/Iris/init.luau +12 -0
- package/templates/game/libs/Iris/widgets/Button.lua +90 -0
- package/templates/game/libs/Iris/widgets/Checkbox.lua +115 -0
- package/templates/game/libs/Iris/widgets/Combo.lua +492 -0
- package/templates/game/libs/Iris/widgets/Format.lua +140 -0
- package/templates/game/libs/Iris/widgets/Image.lua +155 -0
- package/templates/game/libs/Iris/widgets/Input.lua +1232 -0
- package/templates/game/libs/Iris/widgets/Menu.lua +599 -0
- package/templates/game/libs/Iris/widgets/Plot.lua +639 -0
- package/templates/game/libs/Iris/widgets/RadioButton.lua +126 -0
- package/templates/game/libs/Iris/widgets/Root.lua +143 -0
- package/templates/game/libs/Iris/widgets/Tab.lua +333 -0
- package/templates/game/libs/Iris/widgets/Table.lua +635 -0
- package/templates/game/libs/Iris/widgets/Text.lua +132 -0
- package/templates/game/libs/Iris/widgets/Tree.lua +287 -0
- package/templates/game/libs/Iris/widgets/Window.lua +1075 -0
- package/templates/game/libs/Iris/widgets/init.lua +447 -0
- package/templates/game/libs/Janitor/FastDefer.luau +33 -0
- package/templates/game/libs/Janitor/LICENSE +21 -0
- package/templates/game/libs/Janitor/_impl/FastDefer.luau +33 -0
- package/templates/game/libs/Janitor/_impl/LICENSE +21 -0
- package/templates/game/libs/Janitor/_impl/init.luau +999 -0
- package/templates/game/libs/Janitor/init.luau +15 -0
- package/templates/game/libs/MathUtils/init.luau +100 -0
- package/templates/game/libs/Module3D/LICENSE +21 -0
- package/templates/game/libs/Module3D/_impl/LICENSE +21 -0
- package/templates/game/libs/Module3D/_impl/init.luau +269 -0
- package/templates/game/libs/Module3D/init.luau +14 -0
- package/templates/game/libs/Net/init.luau +125 -0
- package/templates/game/libs/Net/src/codec.luau +153 -0
- package/templates/game/libs/Occlude/init.luau +54 -0
- package/templates/game/libs/Promise/LICENSE +21 -0
- package/templates/game/libs/Promise/_impl/LICENSE +21 -0
- package/templates/game/libs/Promise/_impl/init.lua +1991 -0
- package/templates/game/libs/Promise/init.lua +1990 -0
- package/templates/game/libs/Promise/init.luau +13 -0
- package/templates/game/libs/Promise/types.luau +46 -0
- package/templates/game/libs/SOURCES.md +22 -0
- package/templates/game/libs/Spring/LICENSE +201 -0
- package/templates/game/libs/Spring/_impl/LICENSE +201 -0
- package/templates/game/libs/Spring/_impl/init.luau +111 -0
- package/templates/game/libs/Spring/init.luau +24 -0
- package/templates/game/libs/StateMachine/Classes/State.lua +375 -0
- package/templates/game/libs/StateMachine/Classes/Transition.lua +336 -0
- package/templates/game/libs/StateMachine/Functions/deepCopy.lua +19 -0
- package/templates/game/libs/StateMachine/Functions/mergeTables.lua +22 -0
- package/templates/game/libs/StateMachine/LICENSE +19 -0
- package/templates/game/libs/StateMachine/Vendor/Signal.lua +386 -0
- package/templates/game/libs/StateMachine/Vendor/Trove.lua +188 -0
- package/templates/game/libs/StateMachine/_impl/Classes/State.lua +375 -0
- package/templates/game/libs/StateMachine/_impl/Classes/Transition.lua +336 -0
- package/templates/game/libs/StateMachine/_impl/Functions/deepCopy.lua +19 -0
- package/templates/game/libs/StateMachine/_impl/Functions/mergeTables.lua +22 -0
- package/templates/game/libs/StateMachine/_impl/LICENSE +19 -0
- package/templates/game/libs/StateMachine/_impl/Vendor/Signal.lua +386 -0
- package/templates/game/libs/StateMachine/_impl/Vendor/Trove.lua +188 -0
- package/templates/game/libs/StateMachine/_impl/init.lua +595 -0
- package/templates/game/libs/StateMachine/init.lua +595 -0
- package/templates/game/libs/StateMachine/init.luau +10 -0
- package/templates/game/libs/StickyBillboard/init.luau +167 -0
- package/templates/game/libs/TopbarPlus/Attribute.lua +35 -0
- package/templates/game/libs/TopbarPlus/Elements/Caption.lua +316 -0
- package/templates/game/libs/TopbarPlus/Elements/Container.lua +215 -0
- package/templates/game/libs/TopbarPlus/Elements/Dropdown.lua +315 -0
- package/templates/game/libs/TopbarPlus/Elements/Indicator.lua +91 -0
- package/templates/game/libs/TopbarPlus/Elements/Menu.lua +180 -0
- package/templates/game/libs/TopbarPlus/Elements/Notice.lua +113 -0
- package/templates/game/libs/TopbarPlus/Elements/Selection.lua +49 -0
- package/templates/game/libs/TopbarPlus/Elements/Widget.lua +437 -0
- package/templates/game/libs/TopbarPlus/Features/Gamepad.lua +201 -0
- package/templates/game/libs/TopbarPlus/Features/Overflow.lua +360 -0
- package/templates/game/libs/TopbarPlus/Features/Themes/Classic.lua +27 -0
- package/templates/game/libs/TopbarPlus/Features/Themes/Default.lua +75 -0
- package/templates/game/libs/TopbarPlus/Features/Themes/init.lua +353 -0
- package/templates/game/libs/TopbarPlus/LICENSE +381 -0
- package/templates/game/libs/TopbarPlus/Packages/GoodSignal.lua +182 -0
- package/templates/game/libs/TopbarPlus/Packages/Janitor.lua +322 -0
- package/templates/game/libs/TopbarPlus/Reference.lua +30 -0
- package/templates/game/libs/TopbarPlus/Types.lua +477 -0
- package/templates/game/libs/TopbarPlus/Utility.lua +462 -0
- package/templates/game/libs/TopbarPlus/VERSION.lua +51 -0
- package/templates/game/libs/TopbarPlus/_impl/Attribute.lua +35 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Caption.lua +316 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Container.lua +215 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Dropdown.lua +315 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Indicator.lua +91 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Menu.lua +180 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Notice.lua +113 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Selection.lua +49 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Widget.lua +437 -0
- package/templates/game/libs/TopbarPlus/_impl/Features/Gamepad.lua +201 -0
- package/templates/game/libs/TopbarPlus/_impl/Features/Overflow.lua +360 -0
- package/templates/game/libs/TopbarPlus/_impl/Features/Themes/Classic.lua +27 -0
- package/templates/game/libs/TopbarPlus/_impl/Features/Themes/Default.lua +75 -0
- package/templates/game/libs/TopbarPlus/_impl/Features/Themes/init.lua +353 -0
- package/templates/game/libs/TopbarPlus/_impl/LICENSE +381 -0
- package/templates/game/libs/TopbarPlus/_impl/Packages/GoodSignal.lua +182 -0
- package/templates/game/libs/TopbarPlus/_impl/Packages/Janitor.lua +322 -0
- package/templates/game/libs/TopbarPlus/_impl/Reference.lua +30 -0
- package/templates/game/libs/TopbarPlus/_impl/Types.lua +477 -0
- package/templates/game/libs/TopbarPlus/_impl/Utility.lua +462 -0
- package/templates/game/libs/TopbarPlus/_impl/VERSION.lua +51 -0
- package/templates/game/libs/TopbarPlus/_impl/init.lua +1249 -0
- package/templates/game/libs/TopbarPlus/init.lua +1249 -0
- package/templates/game/libs/TopbarPlus/init.luau +8 -0
- package/templates/game/libs/Twinkle/init.luau +157 -0
- package/templates/game/libs/VfxUtil/init.luau +164 -0
- package/templates/game/src/client/init.client.clpp +6 -0
- package/templates/game/src/server/leaderstats.server.clpp +29 -0
- package/templates/game/src/shared/config.clp +6 -0
- package/docs/README.md +0 -35
- package/docs/architecture.md +0 -92
- package/docs/cli.md +0 -91
- package/docs/comparison.md +0 -37
- package/docs/config.md +0 -31
- package/docs/cpp-advanced.md +0 -78
- package/docs/cpp-const.md +0 -52
- package/docs/cpp-organization.md +0 -63
- package/docs/cpp-safety.md +0 -62
- package/docs/cpp-types.md +0 -68
- package/docs/examples/_category_.json +0 -5
- package/docs/examples/combat.md +0 -239
- package/docs/examples/data-boot.md +0 -98
- package/docs/examples/hud.md +0 -96
- package/docs/examples/index.md +0 -45
- package/docs/examples/leaderstats.md +0 -69
- package/docs/examples/shop.md +0 -122
- package/docs/examples/sword.md +0 -108
- package/docs/getting-started.md +0 -179
- package/docs/intellisense.md +0 -48
- package/docs/intro.md +0 -37
- package/docs/libraries/_category_.json +0 -5
- package/docs/libraries/dataservice.md +0 -107
- package/docs/libraries/index.md +0 -23
- package/docs/libraries/janitor.md +0 -65
- package/docs/libraries/more.md +0 -81
- package/docs/libraries/net.md +0 -35
- package/docs/libraries/promise.md +0 -27
- package/docs/libraries/ui.md +0 -76
- package/docs/oop/_category_.json +0 -5
- package/docs/oop/file-tags.md +0 -48
- package/docs/oop/index.md +0 -35
- package/docs/oop/modules.md +0 -88
- package/docs/oop/services.md +0 -76
- package/docs/print-cout.md +0 -91
- package/docs/roblox-api.md +0 -29
- package/docs/syntax.md +0 -262
- package/examples/game/.clangd +0 -25
- package/examples/game/compile_flags.txt +0 -6
- package/examples/game/src/client/hud.client.cpp +0 -12
- package/examples/game/src/client/init.client.cpp +0 -6
- package/examples/game/src/server/combat.server.cpp +0 -23
- package/examples/game/src/server/leaderstats.server.cpp +0 -29
- package/examples/game/src/shared/config.cpp +0 -5
- package/examples/game/src/shared/config.h +0 -5
- package/include/cluaupp/libs/chrono.hpp +0 -26
- package/include/cluaupp/libs/cmdr.hpp +0 -16
- package/include/cluaupp/libs/ezvisual.hpp +0 -18
- package/include/cluaupp/libs/promise.hpp +0 -30
- package/include/cluaupp/libs/topbarplus.hpp +0 -29
- package/include/cluaupp/libs/twinkle.hpp +0 -15
- package/include/cluaupp/libs/vfx.hpp +0 -13
- package/include/cluaupp/libs.hpp +0 -25
- package/include/cluaupp/roblox.hpp +0 -47
- package/src/architecture.ts +0 -500
- package/src/ast.ts +0 -37
- package/src/emit.ts +0 -609
- package/src/emitter/luau-codegen.ts +0 -187
- package/src/emitter/translators.ts +0 -168
- package/src/headers.ts +0 -233
- package/src/layout.ts +0 -114
- package/src/lex.ts +0 -158
- package/src/parse.ts +0 -729
- package/src/parser/collector.ts +0 -148
- package/src/parser/index.ts +0 -27
- package/src/tree-sitter-cpp.d.ts +0 -4
- package/src/understand.ts +0 -322
- package/templates/game/src/client/init.client.cpp +0 -6
- package/templates/game/src/server/leaderstats.server.cpp +0 -29
- package/templates/game/src/shared/config.cpp +0 -5
- package/templates/game/src/shared/config.h +0 -5
- /package/{include/cluaupp/generated/enums.hpp → examples/game/include/clpp/generated/enums.clh} +0 -0
- /package/{include/cluaupp/libs/math.hpp → examples/game/include/clpp/libs/math.clh} +0 -0
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
import { spawn, spawnSync } from "node:child_process";
|
|
2
|
+
import fs from "node:fs";
|
|
3
|
+
import os from "node:os";
|
|
4
|
+
import path from "node:path";
|
|
5
|
+
import {
|
|
6
|
+
CLPP_INSTALL_HINT,
|
|
7
|
+
MIN_CLPP_VERSION,
|
|
8
|
+
type CompileArtifact,
|
|
9
|
+
type CompileDiagnostic,
|
|
10
|
+
type CompileRequest,
|
|
11
|
+
type LanguageManifest,
|
|
12
|
+
} from "./contract.js";
|
|
13
|
+
|
|
14
|
+
const MISSING_CLPP = `cluaupp: clpp not found. ${CLPP_INSTALL_HINT}`;
|
|
15
|
+
|
|
16
|
+
type Semver = { major: number; minor: number; patch: number };
|
|
17
|
+
|
|
18
|
+
let cachedBin: string | null | undefined;
|
|
19
|
+
|
|
20
|
+
function parseSemver(text: string): Semver | null {
|
|
21
|
+
const match = String(text).match(/(\d+)\.(\d+)\.(\d+)/);
|
|
22
|
+
if (!match) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return { major: Number(match[1]), minor: Number(match[2]), patch: Number(match[3]) };
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function cmpSemver(a: Semver, b: Semver): number {
|
|
29
|
+
return a.major - b.major || a.minor - b.minor || a.patch - b.patch;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function minClpp(): Semver {
|
|
33
|
+
return parseSemver(MIN_CLPP_VERSION) || { major: 0, minor: 3, patch: 2 };
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
function tooOldMessage(bin: string, version: string | null): string {
|
|
37
|
+
return `cluaupp: clpp ${version || "unknown"} is too old (${bin}). Need CL++ ${MIN_CLPP_VERSION}+. Install https://github.com/KartzRbx/CLPP/releases/download/v0.3.2/clpp-setup.exe or set CLPP / CLPP_PATH.`;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function probeVersion(bin: string): string | null {
|
|
41
|
+
const result = spawnSync(bin, ["--version"], { encoding: "utf8", windowsHide: true });
|
|
42
|
+
if (result.status !== 0) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
return String(result.stdout || result.stderr || "").trim() || null;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function pushCandidate(out: string[], seen: Set<string>, item: string | undefined): void {
|
|
49
|
+
const value = String(item || "").trim();
|
|
50
|
+
if (!value) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
const key = value.toLowerCase();
|
|
54
|
+
if (seen.has(key)) {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
seen.add(key);
|
|
58
|
+
out.push(value);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function existsBin(bin: string): boolean {
|
|
62
|
+
try {
|
|
63
|
+
return fs.existsSync(bin);
|
|
64
|
+
} catch {
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
function listClppCandidates(): string[] {
|
|
70
|
+
const seen = new Set<string>();
|
|
71
|
+
const override: string[] = [];
|
|
72
|
+
pushCandidate(override, seen, process.env.CLPP);
|
|
73
|
+
pushCandidate(override, seen, process.env.CLPP_PATH);
|
|
74
|
+
const overrideExisting = override.filter(existsBin);
|
|
75
|
+
if (overrideExisting.length > 0) {
|
|
76
|
+
return overrideExisting;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
const out: string[] = [];
|
|
80
|
+
const finder = process.platform === "win32" ? "where" : "which";
|
|
81
|
+
const found = spawnSync(finder, ["clpp"], { encoding: "utf8", windowsHide: true });
|
|
82
|
+
if (found.status === 0) {
|
|
83
|
+
for (const line of String(found.stdout || "").split(/\r?\n/)) {
|
|
84
|
+
pushCandidate(out, seen, line);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
if (process.platform === "win32") {
|
|
89
|
+
const local = process.env.LOCALAPPDATA || path.join(os.homedir(), "AppData", "Local");
|
|
90
|
+
pushCandidate(out, seen, path.join(local, "Programs", "CLPP", "clpp.exe"));
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return out.filter(existsBin);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
function pickClppBinary(): string | null {
|
|
97
|
+
const candidates = listClppCandidates();
|
|
98
|
+
if (candidates.length === 0) {
|
|
99
|
+
return null;
|
|
100
|
+
}
|
|
101
|
+
let best: { bin: string; parsed: Semver } | null = null;
|
|
102
|
+
let fallback: string | null = null;
|
|
103
|
+
for (const bin of candidates) {
|
|
104
|
+
const version = probeVersion(bin);
|
|
105
|
+
const parsed = parseSemver(version || "");
|
|
106
|
+
if (!fallback) {
|
|
107
|
+
fallback = bin;
|
|
108
|
+
}
|
|
109
|
+
if (!parsed) {
|
|
110
|
+
continue;
|
|
111
|
+
}
|
|
112
|
+
if (!best || cmpSemver(parsed, best.parsed) > 0) {
|
|
113
|
+
best = { bin, parsed };
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
return best?.bin || fallback;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
function whichClpp(): string | null {
|
|
120
|
+
if (cachedBin !== undefined) {
|
|
121
|
+
return cachedBin;
|
|
122
|
+
}
|
|
123
|
+
cachedBin = pickClppBinary();
|
|
124
|
+
return cachedBin;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export function hasClpp(): boolean {
|
|
128
|
+
return Boolean(whichClpp());
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export function resolveClppBinary(): string {
|
|
132
|
+
const bin = whichClpp();
|
|
133
|
+
if (!bin) {
|
|
134
|
+
throw new Error(MISSING_CLPP);
|
|
135
|
+
}
|
|
136
|
+
const version = probeVersion(bin);
|
|
137
|
+
const parsed = parseSemver(version || "");
|
|
138
|
+
if (!parsed || cmpSemver(parsed, minClpp()) < 0) {
|
|
139
|
+
throw new Error(tooOldMessage(bin, version));
|
|
140
|
+
}
|
|
141
|
+
return bin;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
function parseArtifact(stdout: string, fileName: string, fallbackError: string): CompileArtifact {
|
|
145
|
+
const text = String(stdout || "").trim();
|
|
146
|
+
try {
|
|
147
|
+
const parsed = JSON.parse(text) as CompileArtifact;
|
|
148
|
+
if (parsed && typeof parsed === "object") {
|
|
149
|
+
return parsed;
|
|
150
|
+
}
|
|
151
|
+
} catch {
|
|
152
|
+
// fall through
|
|
153
|
+
}
|
|
154
|
+
return {
|
|
155
|
+
ok: false,
|
|
156
|
+
luau: "",
|
|
157
|
+
fileName,
|
|
158
|
+
outputHint: "",
|
|
159
|
+
scriptKind: null,
|
|
160
|
+
isScript: false,
|
|
161
|
+
isHeader: false,
|
|
162
|
+
rojoClass: "ModuleScript",
|
|
163
|
+
libraries: [],
|
|
164
|
+
error: fallbackError || "clpp returned invalid JSON",
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export function formatClppFailure(artifact: CompileArtifact, fallback: string): string {
|
|
169
|
+
const diags = Array.isArray(artifact.diagnostics) ? artifact.diagnostics : [];
|
|
170
|
+
if (diags.length > 0) {
|
|
171
|
+
return diags
|
|
172
|
+
.map((d: CompileDiagnostic) => {
|
|
173
|
+
const where = `${artifact.fileName || "clpp"}:${d.line}:${d.column}`;
|
|
174
|
+
return `${where}: ${d.message}`;
|
|
175
|
+
})
|
|
176
|
+
.join("\n");
|
|
177
|
+
}
|
|
178
|
+
return artifact.error || fallback;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export function compileViaClpp(request: CompileRequest): CompileArtifact {
|
|
182
|
+
const bin = resolveClppBinary();
|
|
183
|
+
const payload = JSON.stringify({
|
|
184
|
+
source: request.source,
|
|
185
|
+
fileName: request.fileName,
|
|
186
|
+
strict: request.strict ?? null,
|
|
187
|
+
});
|
|
188
|
+
const result = spawnSync(bin, ["api", "compile"], {
|
|
189
|
+
input: payload,
|
|
190
|
+
encoding: "utf8",
|
|
191
|
+
cwd: request.cwd,
|
|
192
|
+
maxBuffer: 16 * 1024 * 1024,
|
|
193
|
+
windowsHide: true,
|
|
194
|
+
});
|
|
195
|
+
const stderr = String(result.stderr || "").trim();
|
|
196
|
+
const artifact = parseArtifact(result.stdout, request.fileName, stderr || result.error?.message || "clpp api compile failed");
|
|
197
|
+
if (!artifact.ok) {
|
|
198
|
+
throw new Error(formatClppFailure(artifact, stderr || result.error?.message || `clpp failed (${result.status})`));
|
|
199
|
+
}
|
|
200
|
+
return artifact;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export function compileViaClppAsync(request: CompileRequest): Promise<CompileArtifact> {
|
|
204
|
+
return new Promise((resolve, reject) => {
|
|
205
|
+
let bin: string;
|
|
206
|
+
try {
|
|
207
|
+
bin = resolveClppBinary();
|
|
208
|
+
} catch (err) {
|
|
209
|
+
reject(err);
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
const child = spawn(bin, ["api", "compile"], {
|
|
213
|
+
cwd: request.cwd,
|
|
214
|
+
windowsHide: true,
|
|
215
|
+
});
|
|
216
|
+
let stdout = "";
|
|
217
|
+
let stderr = "";
|
|
218
|
+
child.stdout.setEncoding("utf8");
|
|
219
|
+
child.stderr.setEncoding("utf8");
|
|
220
|
+
child.stdout.on("data", (chunk) => {
|
|
221
|
+
stdout += chunk;
|
|
222
|
+
});
|
|
223
|
+
child.stderr.on("data", (chunk) => {
|
|
224
|
+
stderr += chunk;
|
|
225
|
+
});
|
|
226
|
+
child.on("error", reject);
|
|
227
|
+
child.on("close", (code) => {
|
|
228
|
+
const artifact = parseArtifact(stdout, request.fileName, stderr.trim() || `clpp api compile failed (${code})`);
|
|
229
|
+
if (!artifact.ok) {
|
|
230
|
+
reject(new Error(formatClppFailure(artifact, stderr.trim() || `clpp failed (${code})`)));
|
|
231
|
+
return;
|
|
232
|
+
}
|
|
233
|
+
resolve(artifact);
|
|
234
|
+
});
|
|
235
|
+
child.stdin.end(
|
|
236
|
+
JSON.stringify({
|
|
237
|
+
source: request.source,
|
|
238
|
+
fileName: request.fileName,
|
|
239
|
+
strict: request.strict ?? null,
|
|
240
|
+
}),
|
|
241
|
+
);
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
export function clppManifest(): LanguageManifest {
|
|
246
|
+
const bin = resolveClppBinary();
|
|
247
|
+
const result = spawnSync(bin, ["api", "manifest"], {
|
|
248
|
+
encoding: "utf8",
|
|
249
|
+
windowsHide: true,
|
|
250
|
+
});
|
|
251
|
+
if (result.status !== 0) {
|
|
252
|
+
throw new Error(String(result.stderr || result.error?.message || "clpp api manifest failed"));
|
|
253
|
+
}
|
|
254
|
+
return JSON.parse(result.stdout) as LanguageManifest;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export function clppVersion(): string | null {
|
|
258
|
+
const bin = whichClpp();
|
|
259
|
+
if (!bin) {
|
|
260
|
+
return null;
|
|
261
|
+
}
|
|
262
|
+
return probeVersion(bin);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export function clppInstalls(): Array<{ bin: string; version: string | null; selected: boolean }> {
|
|
266
|
+
const selected = whichClpp();
|
|
267
|
+
return listClppCandidates().map((bin) => ({
|
|
268
|
+
bin,
|
|
269
|
+
version: probeVersion(bin),
|
|
270
|
+
selected: bin === selected,
|
|
271
|
+
}));
|
|
272
|
+
}
|
package/src/compile.ts
CHANGED
|
@@ -1,160 +1,59 @@
|
|
|
1
|
-
import fs from "node:fs";
|
|
2
1
|
import path from "node:path";
|
|
3
|
-
import { parse } from "./parse.js";
|
|
4
|
-
import { emit } from "./emit.js";
|
|
5
|
-
import { preprocess, isHeaderFile, toLuauPath, siblingImplementation, siblingHeader, implOutName } from "./preprocess.js";
|
|
6
|
-
import { collectLibraries, insertPreamble } from "./libs.js";
|
|
7
|
-
import { planOutput } from "./architecture.js";
|
|
8
|
-
import { emitHeaderModule, primaryHeaderName } from "./headers.js";
|
|
9
|
-
import type { AstNode, AstProgram, ModuleInclude, PreprocessOptions } from "./ast.js";
|
|
10
2
|
import type { CompileOptions, CompileServiceResult } from "./types.js";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
return path.relative(from, file).replace(/\\/g, "/");
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
function declKey(decl: AstNode): string {
|
|
37
|
-
return `${decl.owner || ""}::${decl.name}`;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
function mergeSiblingImpl(ast: AstProgram, implPath: string, options: PreprocessOptions): void {
|
|
41
|
-
const implOptions: PreprocessOptions = {
|
|
42
|
-
...options,
|
|
43
|
-
moduleIncludes: [],
|
|
44
|
-
seen: new Set(),
|
|
45
|
-
pragmaResolved: false,
|
|
3
|
+
import { compileViaClpp, compileViaClppAsync } from "./clpp/runner.js";
|
|
4
|
+
import { clppLuauToGame, shouldSkipInit } from "./clpp/postprocess.js";
|
|
5
|
+
import { emitKind, siblingHeader, toLuauPath } from "./clpp/paths.js";
|
|
6
|
+
import type { CompileArtifact } from "./clpp/contract.js";
|
|
7
|
+
|
|
8
|
+
function compileArgs(source: string, fileName: string | undefined, options: CompileOptions) {
|
|
9
|
+
const relative = (options.relativeName || fileName || "input.clpp").replace(/\\/g, "/");
|
|
10
|
+
const outName = options.outName || toLuauPath(relative);
|
|
11
|
+
const header = options.filePath ? siblingHeader(options.filePath) : null;
|
|
12
|
+
const skipInit = options.skipInit === true || shouldSkipInit(relative, Boolean(header));
|
|
13
|
+
const diskPath = options.filePath ? path.resolve(options.filePath) : null;
|
|
14
|
+
return {
|
|
15
|
+
request: {
|
|
16
|
+
source,
|
|
17
|
+
fileName: diskPath ? diskPath.replace(/\\/g, "/") : relative,
|
|
18
|
+
strict: options.strict,
|
|
19
|
+
cwd: diskPath ? path.dirname(diskPath) : options.srcDir,
|
|
20
|
+
},
|
|
21
|
+
relative,
|
|
22
|
+
outName,
|
|
23
|
+
skipInit,
|
|
24
|
+
options,
|
|
46
25
|
};
|
|
47
|
-
const prepared = preprocess(fs.readFileSync(implPath, "utf8"), implPath, implOptions);
|
|
48
|
-
const implAst = parse(prepared, path.basename(implPath)) as AstProgram;
|
|
49
|
-
if (!Array.isArray(ast.body)) {
|
|
50
|
-
ast.body = [];
|
|
51
|
-
}
|
|
52
|
-
const existing = new Set(
|
|
53
|
-
(ast.body || [])
|
|
54
|
-
.filter((decl) => decl && (decl.type === "function" || decl.type === "proto") && decl.name)
|
|
55
|
-
.map(declKey),
|
|
56
|
-
);
|
|
57
|
-
for (const decl of implAst.body || []) {
|
|
58
|
-
if ((decl.type !== "function" && decl.type !== "proto") || !decl.name) {
|
|
59
|
-
continue;
|
|
60
|
-
}
|
|
61
|
-
const key = declKey(decl);
|
|
62
|
-
if (existing.has(key)) {
|
|
63
|
-
continue;
|
|
64
|
-
}
|
|
65
|
-
existing.add(key);
|
|
66
|
-
ast.body.push({
|
|
67
|
-
type: "proto",
|
|
68
|
-
name: decl.name,
|
|
69
|
-
owner: decl.owner,
|
|
70
|
-
returnType: decl.returnType,
|
|
71
|
-
params: decl.params,
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
function wireHeaderImpl(ast: AstProgram, fileName: string, options: PreprocessOptions): void {
|
|
77
|
-
const headerPath = options.filePath || null;
|
|
78
|
-
const impl = headerPath ? siblingImplementation(headerPath) : null;
|
|
79
|
-
if (!impl) {
|
|
80
|
-
return;
|
|
81
|
-
}
|
|
82
|
-
mergeSiblingImpl(ast, impl, options);
|
|
83
|
-
const typeName = primaryHeaderName(ast, options.relativeName || fileName);
|
|
84
|
-
const implRel = options.srcDir ? posixRel(options.srcDir, impl) : path.basename(impl).replace(/\\/g, "/");
|
|
85
|
-
const implOut = implOutName(implRel);
|
|
86
|
-
options.headerImplName = `${typeName}Module`;
|
|
87
|
-
options.moduleIncludes = options.moduleIncludes || [];
|
|
88
|
-
if (!options.moduleIncludes.some((spec: ModuleInclude) => spec.name === options.headerImplName)) {
|
|
89
|
-
options.moduleIncludes.push({
|
|
90
|
-
name: options.headerImplName,
|
|
91
|
-
outRel: implOut,
|
|
92
|
-
exports: { consts: [], structs: [] },
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
26
|
}
|
|
96
27
|
|
|
97
|
-
function
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
28
|
+
function finishArtifact(artifact: CompileArtifact, relative: string, outName: string, options: CompileOptions, skipInit: boolean): CompileServiceResult {
|
|
29
|
+
const luau = clppLuauToGame(artifact, {
|
|
30
|
+
relativeName: relative,
|
|
31
|
+
outName,
|
|
32
|
+
srcDir: options.srcDir,
|
|
33
|
+
rootDir: options.rootDir,
|
|
34
|
+
strict: options.strict,
|
|
35
|
+
skipInit,
|
|
36
|
+
});
|
|
102
37
|
return {
|
|
103
|
-
kind:
|
|
104
|
-
plan: { kind:
|
|
38
|
+
kind: emitKind(relative),
|
|
39
|
+
plan: { kind: emitKind(relative), strict: options.strict === true },
|
|
105
40
|
files: [{ name: outName, contents: luau }],
|
|
106
41
|
stale: [],
|
|
107
42
|
};
|
|
108
43
|
}
|
|
109
44
|
|
|
110
45
|
export function compileSource(source: string, fileName?: string, options: CompileOptions = {}): string {
|
|
111
|
-
|
|
112
|
-
opts.moduleIncludes = opts.moduleIncludes || [];
|
|
113
|
-
const prepared = preprocess(source, opts.filePath || null, opts);
|
|
114
|
-
const ast = parse(prepared, fileName || "input.cpp");
|
|
115
|
-
if (isHeaderFile(fileName || "") || isHeaderFile(opts.filePath || "")) {
|
|
116
|
-
return compileHeader(source, fileName || "header.h", opts, ast).files[0].contents;
|
|
117
|
-
}
|
|
118
|
-
const luau = emit(ast, opts);
|
|
119
|
-
return attachRequires(luau, source, ast, opts, opts.outName || fileName || "input.cpp");
|
|
46
|
+
return compileService(source, fileName, options).files[0]?.contents ?? "";
|
|
120
47
|
}
|
|
121
48
|
|
|
122
49
|
export function compileService(source: string, fileName?: string, options: CompileOptions = {}): CompileServiceResult {
|
|
123
|
-
const
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
const
|
|
131
|
-
|
|
132
|
-
opts.skipInit = true;
|
|
133
|
-
}
|
|
134
|
-
const planned = planOutput(ast, fileName || "input.cpp", {
|
|
135
|
-
...opts,
|
|
136
|
-
relativeName: opts.relativeName || fileName,
|
|
137
|
-
source: prepared,
|
|
138
|
-
siblingHeader: implHeader,
|
|
139
|
-
});
|
|
140
|
-
if (planned.files) {
|
|
141
|
-
return {
|
|
142
|
-
...planned,
|
|
143
|
-
files: planned.files.map((file: { name: string; contents: string }) => ({
|
|
144
|
-
...file,
|
|
145
|
-
contents: attachRequires(file.contents, source, ast, opts, file.name),
|
|
146
|
-
})),
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
const luau = attachRequires(emit(ast, opts), source, ast, opts, planned.outName || opts.outName || fileName || "input.cpp");
|
|
150
|
-
const name =
|
|
151
|
-
planned.outName ||
|
|
152
|
-
opts.outName ||
|
|
153
|
-
String(fileName || "input.cpp").replace(/\.(cpp|cc|cxx|c|h|hpp|hh)$/i, ".luau");
|
|
154
|
-
return {
|
|
155
|
-
kind: planned.kind || "flat",
|
|
156
|
-
plan: planned.plan,
|
|
157
|
-
files: [{ name, contents: luau }],
|
|
158
|
-
stale: planned.stale || [],
|
|
159
|
-
};
|
|
50
|
+
const args = compileArgs(source, fileName, options);
|
|
51
|
+
const artifact = compileViaClpp(args.request);
|
|
52
|
+
return finishArtifact(artifact, args.relative, args.outName, args.options, args.skipInit);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export async function compileServiceAsync(source: string, fileName?: string, options: CompileOptions = {}): Promise<CompileServiceResult> {
|
|
56
|
+
const args = compileArgs(source, fileName, options);
|
|
57
|
+
const artifact = await compileViaClppAsync(args.request);
|
|
58
|
+
return finishArtifact(artifact, args.relative, args.outName, args.options, args.skipInit);
|
|
160
59
|
}
|