cluaupp 1.0.0 → 1.4.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.
Files changed (962) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/README.md +28 -16
  3. package/editors/vscode/extension.js +8 -31
  4. package/editors/vscode/package.json +2 -2
  5. package/examples/README.md +5 -6
  6. package/examples/game/.vscode/extensions.json +2 -1
  7. package/examples/game/default.project.json +16 -11
  8. package/examples/game/include/clpp/datatypes.clh +611 -0
  9. package/examples/game/include/clpp/generated/enums.clh +4920 -0
  10. package/examples/game/include/clpp/generated/instances.clh +87111 -0
  11. package/examples/game/include/clpp/libs/arrayindexer.clh +12 -0
  12. package/examples/game/include/clpp/libs/axiom.clh +154 -0
  13. package/examples/game/include/clpp/libs/bloom.clh +58 -0
  14. package/examples/game/include/clpp/libs/coil.clh +37 -0
  15. package/examples/game/include/clpp/libs/crest.clh +22 -0
  16. package/examples/game/include/clpp/libs/echo.clh +52 -0
  17. package/examples/game/include/clpp/libs/ember.clh +17 -0
  18. package/examples/game/include/clpp/libs/flare.clh +65 -0
  19. package/examples/game/include/clpp/libs/gleam.clh +111 -0
  20. package/examples/game/include/clpp/libs/guide.clh +42 -0
  21. package/examples/game/include/clpp/libs/helm.clh +31 -0
  22. package/examples/game/include/clpp/libs/hive.clh +20 -0
  23. package/examples/game/include/clpp/libs/keep.clh +158 -0
  24. package/examples/game/include/clpp/libs/lens.clh +24 -0
  25. package/examples/game/include/clpp/libs/mint.clh +28 -0
  26. package/examples/game/include/clpp/libs/net.clh +31 -0
  27. package/examples/game/include/clpp/libs/occlude.clh +15 -0
  28. package/examples/game/include/clpp/libs/pin.clh +28 -0
  29. package/examples/game/include/clpp/libs/promise.clh +24 -0
  30. package/examples/game/include/clpp/libs/roster.clh +117 -0
  31. package/examples/game/include/clpp/libs/shift.clh +22 -0
  32. package/examples/game/include/clpp/libs/spark.clh +28 -0
  33. package/examples/game/include/clpp/libs/stage.clh +23 -0
  34. package/examples/game/include/clpp/libs/sweep.clh +23 -0
  35. package/examples/game/include/clpp/libs/trace.clh +18 -0
  36. package/examples/game/include/clpp/libs/ward.clh +18 -0
  37. package/examples/game/include/clpp/libs.clh +31 -0
  38. package/examples/game/include/clpp/roblox.clh +42 -0
  39. package/examples/game/src/ReplicatedFirst/Loading/.gitkeep +1 -0
  40. package/examples/game/src/ReplicatedStorage/Shared/Constants/Classes/.gitkeep +1 -0
  41. package/examples/game/src/ReplicatedStorage/Shared/Constants/Datas/TemplateData.clh +40 -0
  42. package/examples/game/src/ReplicatedStorage/Shared/Constants/Primitives/.gitkeep +1 -0
  43. package/examples/game/src/ReplicatedStorage/Shared/Modules/.gitkeep +1 -0
  44. package/examples/game/src/ReplicatedStorage/Shared/Net/.gitkeep +1 -0
  45. package/examples/game/src/ReplicatedStorage/Shared/Services/.gitkeep +1 -0
  46. package/examples/game/src/ReplicatedStorage/Shared/Types/.gitkeep +1 -0
  47. package/examples/game/src/ReplicatedStorage/Shared/Utils/.gitkeep +1 -0
  48. package/examples/game/src/ServerScriptService/Boot/DataBoot.server.clpp +13 -0
  49. package/examples/game/src/ServerScriptService/Components/.gitkeep +1 -0
  50. package/examples/game/src/ServerScriptService/Configuration/ServerConfig.clp +4 -0
  51. package/examples/game/src/ServerScriptService/Handlers/Guard.server.clpp +7 -0
  52. package/examples/game/src/ServerScriptService/Handlers/PlayerHandler.server.clpp +23 -0
  53. package/examples/game/src/ServerScriptService/Services/.gitkeep +1 -0
  54. package/examples/game/src/ServerStorage/Configuration/.gitkeep +1 -0
  55. package/examples/game/src/ServerStorage/Modules/.gitkeep +1 -0
  56. package/{templates/game/src/client/init.client.clpp → examples/game/src/StarterPlayer/StarterCharacterScripts/Character/CharacterReady.client.clpp} +1 -1
  57. package/examples/game/src/StarterPlayer/StarterCharacterScripts/Combat/.gitkeep +1 -0
  58. package/examples/game/src/StarterPlayer/StarterCharacterScripts/Movement/.gitkeep +1 -0
  59. package/examples/game/src/StarterPlayer/StarterPlayerScripts/Controllers/DataController.client.clpp +7 -0
  60. package/examples/game/src/StarterPlayer/StarterPlayerScripts/Input/.gitkeep +1 -0
  61. package/examples/game/src/StarterPlayer/StarterPlayerScripts/UI/.gitkeep +1 -0
  62. package/examples/game/wally.toml +3 -3
  63. package/generated/cli.js +8 -2
  64. package/generated/clpp/contract.js +4 -3
  65. package/generated/clpp/index.js +3 -1
  66. package/generated/clpp/paths.js +2 -3
  67. package/generated/clpp/postprocess.js +64 -6
  68. package/generated/clpp/runner.js +167 -16
  69. package/generated/compile.js +30 -10
  70. package/generated/flare/emit.js +222 -0
  71. package/generated/flare/index.js +58 -0
  72. package/generated/flare/parse.js +130 -0
  73. package/generated/flare/types.js +2 -0
  74. package/generated/intellisense.js +4 -16
  75. package/generated/libs.js +146 -75
  76. package/generated/lsp.js +6 -30
  77. package/generated/native/index.js +482 -0
  78. package/generated/transpile.js +4 -0
  79. package/generated/utils/project.js +192 -46
  80. package/generated/utils/rojo-mapper.js +12 -6
  81. package/include/clpp/datatypes.clh +40 -14
  82. package/include/clpp/generated/instances.clh +79876 -5254
  83. package/include/clpp/libs/arrayindexer.clh +12 -0
  84. package/include/clpp/libs/axiom.clh +154 -0
  85. package/include/clpp/libs/bloom.clh +58 -0
  86. package/include/clpp/libs/coil.clh +37 -0
  87. package/include/clpp/libs/crest.clh +22 -0
  88. package/include/clpp/libs/echo.clh +52 -0
  89. package/include/clpp/libs/ember.clh +17 -0
  90. package/include/clpp/libs/flare.clh +65 -0
  91. package/include/clpp/libs/gleam.clh +111 -0
  92. package/include/clpp/libs/guide.clh +42 -0
  93. package/include/clpp/libs/helm.clh +31 -0
  94. package/include/clpp/libs/hive.clh +20 -0
  95. package/include/clpp/libs/keep.clh +158 -0
  96. package/include/clpp/libs/lens.clh +24 -0
  97. package/include/clpp/libs/mint.clh +28 -0
  98. package/include/clpp/libs/net.clh +31 -40
  99. package/include/clpp/libs/occlude.clh +15 -0
  100. package/include/clpp/libs/pin.clh +28 -0
  101. package/include/clpp/libs/promise.clh +24 -27
  102. package/include/clpp/libs/roster.clh +117 -0
  103. package/include/clpp/libs/shift.clh +22 -0
  104. package/include/clpp/libs/spark.clh +28 -0
  105. package/include/clpp/libs/stage.clh +23 -0
  106. package/include/clpp/libs/sweep.clh +23 -0
  107. package/include/clpp/libs/trace.clh +18 -0
  108. package/include/clpp/libs/ward.clh +18 -0
  109. package/include/clpp/libs.clh +24 -17
  110. package/include/clpp/roblox.clh +21 -10
  111. package/package.json +9 -18
  112. package/runtime/ArrayIndexer/init.luau +127 -62
  113. package/runtime/Axiom/init.luau +605 -0
  114. package/runtime/Bloom/init.luau +433 -0
  115. package/runtime/Coil/init.luau +209 -0
  116. package/runtime/Crest/init.luau +425 -0
  117. package/runtime/Echo/init.luau +417 -0
  118. package/runtime/Ember/init.luau +365 -0
  119. package/runtime/Flare/init.luau +716 -0
  120. package/runtime/Gleam/init.luau +718 -0
  121. package/runtime/Guide/init.luau +215 -0
  122. package/runtime/Helm/init.luau +377 -0
  123. package/runtime/Hive/init.luau +219 -0
  124. package/runtime/Keep/Client.luau +114 -0
  125. package/runtime/{DataService → Keep}/Data.luau +883 -886
  126. package/runtime/Keep/Engine.luau +211 -0
  127. package/runtime/Keep/Replicator.luau +298 -0
  128. package/runtime/Keep/Server.luau +251 -0
  129. package/runtime/Keep/Store.luau +652 -0
  130. package/runtime/Keep/Trade.luau +455 -0
  131. package/runtime/{DataService → Keep}/init.luau +15 -14
  132. package/runtime/Lens/init.luau +609 -0
  133. package/runtime/Mint/init.luau +279 -0
  134. package/runtime/Net/init.luau +33 -2
  135. package/runtime/Net/src/codec.luau +98 -27
  136. package/runtime/Occlude/init.luau +64 -1
  137. package/runtime/Pin/init.luau +306 -0
  138. package/runtime/Roster/init.luau +678 -0
  139. package/runtime/SOURCES.md +28 -19
  140. package/runtime/Shift/init.luau +238 -0
  141. package/runtime/Spark/init.luau +484 -0
  142. package/runtime/Stage/init.luau +178 -0
  143. package/runtime/Sweep/init.luau +257 -0
  144. package/runtime/Trace/init.luau +210 -0
  145. package/runtime/Ward/init.luau +178 -0
  146. package/src/cli.ts +9 -3
  147. package/src/clpp/contract.ts +14 -2
  148. package/src/clpp/index.ts +3 -3
  149. package/src/clpp/paths.ts +2 -3
  150. package/src/clpp/postprocess.ts +69 -7
  151. package/src/clpp/runner.ts +188 -18
  152. package/src/compile.ts +42 -12
  153. package/src/flare/emit.ts +231 -0
  154. package/src/flare/index.ts +50 -0
  155. package/src/flare/parse.ts +147 -0
  156. package/src/flare/types.ts +61 -0
  157. package/src/intellisense.ts +5 -16
  158. package/src/libs.ts +147 -75
  159. package/src/lsp.ts +6 -31
  160. package/src/native/index.ts +509 -0
  161. package/src/transpile.ts +10 -1
  162. package/src/types.ts +1 -0
  163. package/src/utils/project.ts +210 -52
  164. package/src/utils/rojo-mapper.ts +12 -6
  165. package/templates/game/.vscode/extensions.json +2 -1
  166. package/templates/game/default.project.json +16 -11
  167. package/templates/game/include/clpp/datatypes.clh +611 -0
  168. package/templates/game/include/clpp/generated/enums.clh +4920 -0
  169. package/templates/game/include/clpp/generated/instances.clh +87111 -0
  170. package/templates/game/include/clpp/libs/arrayindexer.clh +12 -0
  171. package/templates/game/include/clpp/libs/axiom.clh +154 -0
  172. package/templates/game/include/clpp/libs/bloom.clh +58 -0
  173. package/templates/game/include/clpp/libs/coil.clh +37 -0
  174. package/templates/game/include/clpp/libs/crest.clh +22 -0
  175. package/templates/game/include/clpp/libs/echo.clh +52 -0
  176. package/templates/game/include/clpp/libs/ember.clh +17 -0
  177. package/templates/game/include/clpp/libs/flare.clh +65 -0
  178. package/templates/game/include/clpp/libs/gleam.clh +111 -0
  179. package/templates/game/include/clpp/libs/guide.clh +42 -0
  180. package/templates/game/include/clpp/libs/helm.clh +31 -0
  181. package/templates/game/include/clpp/libs/hive.clh +20 -0
  182. package/templates/game/include/clpp/libs/keep.clh +158 -0
  183. package/templates/game/include/clpp/libs/lens.clh +24 -0
  184. package/templates/game/include/clpp/libs/mint.clh +28 -0
  185. package/templates/game/include/clpp/libs/net.clh +31 -0
  186. package/templates/game/include/clpp/libs/occlude.clh +15 -0
  187. package/templates/game/include/clpp/libs/pin.clh +28 -0
  188. package/templates/game/include/clpp/libs/promise.clh +24 -0
  189. package/templates/game/include/clpp/libs/roster.clh +117 -0
  190. package/templates/game/include/clpp/libs/shift.clh +22 -0
  191. package/templates/game/include/clpp/libs/spark.clh +28 -0
  192. package/templates/game/include/clpp/libs/stage.clh +23 -0
  193. package/templates/game/include/clpp/libs/sweep.clh +23 -0
  194. package/templates/game/include/clpp/libs/trace.clh +18 -0
  195. package/templates/game/include/clpp/libs/ward.clh +18 -0
  196. package/templates/game/include/clpp/libs.clh +31 -0
  197. package/templates/game/include/clpp/roblox.clh +42 -0
  198. package/templates/game/src/ReplicatedFirst/Loading/.gitkeep +1 -0
  199. package/templates/game/src/ReplicatedStorage/Shared/Constants/Classes/.gitkeep +1 -0
  200. package/templates/game/src/ReplicatedStorage/Shared/Constants/Datas/TemplateData.clh +40 -0
  201. package/templates/game/src/ReplicatedStorage/Shared/Constants/Primitives/.gitkeep +1 -0
  202. package/templates/game/src/ReplicatedStorage/Shared/Modules/.gitkeep +1 -0
  203. package/templates/game/src/ReplicatedStorage/Shared/Net/.gitkeep +1 -0
  204. package/templates/game/src/ReplicatedStorage/Shared/Services/.gitkeep +1 -0
  205. package/templates/game/src/ReplicatedStorage/Shared/Types/.gitkeep +1 -0
  206. package/templates/game/src/ReplicatedStorage/Shared/Utils/.gitkeep +1 -0
  207. package/templates/game/src/ServerScriptService/Boot/DataBoot.server.clpp +13 -0
  208. package/templates/game/src/ServerScriptService/Components/.gitkeep +1 -0
  209. package/templates/game/src/ServerScriptService/Configuration/ServerConfig.clp +4 -0
  210. package/templates/game/src/ServerScriptService/Handlers/Guard.server.clpp +7 -0
  211. package/templates/game/src/ServerScriptService/Handlers/PlayerHandler.server.clpp +24 -0
  212. package/templates/game/src/ServerScriptService/Services/.gitkeep +1 -0
  213. package/templates/game/src/ServerStorage/Configuration/.gitkeep +1 -0
  214. package/templates/game/src/ServerStorage/Modules/.gitkeep +1 -0
  215. package/{examples/game/src/client/init.client.clpp → templates/game/src/StarterPlayer/StarterCharacterScripts/Character/CharacterReady.client.clpp} +1 -1
  216. package/templates/game/src/StarterPlayer/StarterCharacterScripts/Combat/.gitkeep +1 -0
  217. package/templates/game/src/StarterPlayer/StarterCharacterScripts/Movement/.gitkeep +1 -0
  218. package/templates/game/src/StarterPlayer/StarterPlayerScripts/Controllers/DataController.client.clpp +7 -0
  219. package/templates/game/src/StarterPlayer/StarterPlayerScripts/Input/.gitkeep +1 -0
  220. package/templates/game/src/StarterPlayer/StarterPlayerScripts/UI/.gitkeep +1 -0
  221. package/templates/game/wally.toml +4 -3
  222. package/docs/README.md +0 -27
  223. package/docs/architecture.md +0 -29
  224. package/docs/cli.md +0 -39
  225. package/docs/comparison.md +0 -19
  226. package/docs/config.md +0 -30
  227. package/docs/cpp-advanced.md +0 -78
  228. package/docs/cpp-const.md +0 -52
  229. package/docs/cpp-organization.md +0 -63
  230. package/docs/cpp-safety.md +0 -62
  231. package/docs/cpp-types.md +0 -68
  232. package/docs/examples/_category_.json +0 -5
  233. package/docs/examples/combat.md +0 -31
  234. package/docs/examples/data-boot.md +0 -98
  235. package/docs/examples/hud.md +0 -28
  236. package/docs/examples/index.md +0 -38
  237. package/docs/examples/leaderstats.md +0 -69
  238. package/docs/examples/shop.md +0 -122
  239. package/docs/examples/sword.md +0 -108
  240. package/docs/getting-started.md +0 -62
  241. package/docs/intellisense.md +0 -12
  242. package/docs/intro.md +0 -38
  243. package/docs/libraries/_category_.json +0 -5
  244. package/docs/libraries/dataservice.md +0 -107
  245. package/docs/libraries/index.md +0 -23
  246. package/docs/libraries/janitor.md +0 -65
  247. package/docs/libraries/more.md +0 -81
  248. package/docs/libraries/net.md +0 -35
  249. package/docs/libraries/promise.md +0 -27
  250. package/docs/libraries/ui.md +0 -76
  251. package/docs/migration.md +0 -38
  252. package/docs/oop/_category_.json +0 -5
  253. package/docs/oop/file-tags.md +0 -24
  254. package/docs/oop/index.md +0 -29
  255. package/docs/oop/modules.md +0 -88
  256. package/docs/oop/services.md +0 -76
  257. package/docs/print-cout.md +0 -91
  258. package/docs/roblox-api.md +0 -29
  259. package/docs/syntax.md +0 -80
  260. package/examples/game/src/client/hud.client.clpp +0 -54
  261. package/examples/game/src/server/combat.server.clpp +0 -85
  262. package/examples/game/src/server/leaderstats.server.clpp +0 -28
  263. package/examples/game/src/shared/PlayerData.clh +0 -20
  264. package/examples/game/src/shared/config.clp +0 -6
  265. package/examples/game/src/shared/features.clp +0 -88
  266. package/include/clpp/libs/chrono.clh +0 -26
  267. package/include/clpp/libs/cmdr.clh +0 -16
  268. package/include/clpp/libs/dataservice.clh +0 -138
  269. package/include/clpp/libs/display.clh +0 -12
  270. package/include/clpp/libs/ezvisual.clh +0 -16
  271. package/include/clpp/libs/formatnumber.clh +0 -14
  272. package/include/clpp/libs/fusion.clh +0 -41
  273. package/include/clpp/libs/iris.clh +0 -40
  274. package/include/clpp/libs/janitor.clh +0 -38
  275. package/include/clpp/libs/math.clh +0 -14
  276. package/include/clpp/libs/module3d.clh +0 -23
  277. package/include/clpp/libs/spring.clh +0 -17
  278. package/include/clpp/libs/statemachine.clh +0 -18
  279. package/include/clpp/libs/stickybillboard.clh +0 -13
  280. package/include/clpp/libs/topbarplus.clh +0 -28
  281. package/include/clpp/libs/twinkle.clh +0 -15
  282. package/include/clpp/libs/vfx.clh +0 -13
  283. package/runtime/Chrono/Client/ClientClock.luau +0 -202
  284. package/runtime/Chrono/Client/InterpolationBuffer.luau +0 -74
  285. package/runtime/Chrono/Client/ModelResolver.luau +0 -53
  286. package/runtime/Chrono/Client/Player.luau +0 -113
  287. package/runtime/Chrono/Client/Receiver.luau +0 -395
  288. package/runtime/Chrono/Client/Replicate.luau +0 -333
  289. package/runtime/Chrono/Client/Sender.luau +0 -205
  290. package/runtime/Chrono/LICENSE +0 -21
  291. package/runtime/Chrono/Server/EntityGrid.luau +0 -299
  292. package/runtime/Chrono/Server/Player.luau +0 -141
  293. package/runtime/Chrono/Server/Receiver.luau +0 -287
  294. package/runtime/Chrono/Server/Replicate.luau +0 -415
  295. package/runtime/Chrono/Server/Sender.luau +0 -306
  296. package/runtime/Chrono/Server/ServerClock.luau +0 -50
  297. package/runtime/Chrono/Shared/ApplyMounts.luau +0 -137
  298. package/runtime/Chrono/Shared/Bin.luau +0 -31
  299. package/runtime/Chrono/Shared/ClockUnwrap.luau +0 -70
  300. package/runtime/Chrono/Shared/Config.luau +0 -264
  301. package/runtime/Chrono/Shared/Entity.luau +0 -1016
  302. package/runtime/Chrono/Shared/Events.luau +0 -39
  303. package/runtime/Chrono/Shared/Holder.luau +0 -210
  304. package/runtime/Chrono/Shared/InterpolationMath.luau +0 -51
  305. package/runtime/Chrono/Shared/ModelHelper.luau +0 -122
  306. package/runtime/Chrono/Shared/Remotes/ClientClockRelay.model.json +0 -3
  307. package/runtime/Chrono/Shared/Remotes/ClientHeartbeat.model.json +0 -3
  308. package/runtime/Chrono/Shared/Remotes/ClientLoaded.model.json +0 -3
  309. package/runtime/Chrono/Shared/Remotes/Death.model.json +0 -3
  310. package/runtime/Chrono/Shared/Remotes/Heartbeat.model.json +0 -3
  311. package/runtime/Chrono/Shared/Remotes/Replicate.model.json +0 -3
  312. package/runtime/Chrono/Shared/Remotes/ReplicateFull.model.json +0 -3
  313. package/runtime/Chrono/Shared/Remotes/SafeReplicate.model.json +0 -3
  314. package/runtime/Chrono/Shared/ReplicationRules.luau +0 -122
  315. package/runtime/Chrono/Shared/Signal.luau +0 -219
  316. package/runtime/Chrono/Shared/Snapshots.luau +0 -218
  317. package/runtime/Chrono/Shared/Stats.luau +0 -204
  318. package/runtime/Chrono/Shared/Ticker.luau +0 -112
  319. package/runtime/Chrono/Shared/Types.luau +0 -247
  320. package/runtime/Chrono/Shared/Warn.luau +0 -33
  321. package/runtime/Chrono/Shared/_CUSTOM_MODEL_REP/init.model.json +0 -3
  322. package/runtime/Chrono/_impl/Client/ClientClock.luau +0 -202
  323. package/runtime/Chrono/_impl/Client/InterpolationBuffer.luau +0 -74
  324. package/runtime/Chrono/_impl/Client/ModelResolver.luau +0 -53
  325. package/runtime/Chrono/_impl/Client/Player.luau +0 -113
  326. package/runtime/Chrono/_impl/Client/Receiver.luau +0 -395
  327. package/runtime/Chrono/_impl/Client/Replicate.luau +0 -333
  328. package/runtime/Chrono/_impl/Client/Sender.luau +0 -205
  329. package/runtime/Chrono/_impl/LICENSE +0 -21
  330. package/runtime/Chrono/_impl/Server/EntityGrid.luau +0 -299
  331. package/runtime/Chrono/_impl/Server/Player.luau +0 -141
  332. package/runtime/Chrono/_impl/Server/Receiver.luau +0 -287
  333. package/runtime/Chrono/_impl/Server/Replicate.luau +0 -415
  334. package/runtime/Chrono/_impl/Server/Sender.luau +0 -306
  335. package/runtime/Chrono/_impl/Server/ServerClock.luau +0 -50
  336. package/runtime/Chrono/_impl/Shared/ApplyMounts.luau +0 -137
  337. package/runtime/Chrono/_impl/Shared/Bin.luau +0 -31
  338. package/runtime/Chrono/_impl/Shared/ClockUnwrap.luau +0 -70
  339. package/runtime/Chrono/_impl/Shared/Config.luau +0 -264
  340. package/runtime/Chrono/_impl/Shared/Entity.luau +0 -1016
  341. package/runtime/Chrono/_impl/Shared/Events.luau +0 -39
  342. package/runtime/Chrono/_impl/Shared/Holder.luau +0 -210
  343. package/runtime/Chrono/_impl/Shared/InterpolationMath.luau +0 -51
  344. package/runtime/Chrono/_impl/Shared/ModelHelper.luau +0 -122
  345. package/runtime/Chrono/_impl/Shared/Remotes/ClientClockRelay.model.json +0 -3
  346. package/runtime/Chrono/_impl/Shared/Remotes/ClientHeartbeat.model.json +0 -3
  347. package/runtime/Chrono/_impl/Shared/Remotes/ClientLoaded.model.json +0 -3
  348. package/runtime/Chrono/_impl/Shared/Remotes/Death.model.json +0 -3
  349. package/runtime/Chrono/_impl/Shared/Remotes/Heartbeat.model.json +0 -3
  350. package/runtime/Chrono/_impl/Shared/Remotes/Replicate.model.json +0 -3
  351. package/runtime/Chrono/_impl/Shared/Remotes/ReplicateFull.model.json +0 -3
  352. package/runtime/Chrono/_impl/Shared/Remotes/SafeReplicate.model.json +0 -3
  353. package/runtime/Chrono/_impl/Shared/ReplicationRules.luau +0 -122
  354. package/runtime/Chrono/_impl/Shared/Signal.luau +0 -219
  355. package/runtime/Chrono/_impl/Shared/Snapshots.luau +0 -218
  356. package/runtime/Chrono/_impl/Shared/Stats.luau +0 -204
  357. package/runtime/Chrono/_impl/Shared/Ticker.luau +0 -112
  358. package/runtime/Chrono/_impl/Shared/Types.luau +0 -247
  359. package/runtime/Chrono/_impl/Shared/Warn.luau +0 -33
  360. package/runtime/Chrono/_impl/Shared/_CUSTOM_MODEL_REP/init.model.json +0 -3
  361. package/runtime/Chrono/_impl/init.luau +0 -96
  362. package/runtime/Chrono/init.luau +0 -14
  363. package/runtime/Cmdr/BuiltInCommands/Admin/announce.luau +0 -21
  364. package/runtime/Cmdr/BuiltInCommands/Admin/announceServer.luau +0 -17
  365. package/runtime/Cmdr/BuiltInCommands/Admin/ban.luau +0 -59
  366. package/runtime/Cmdr/BuiltInCommands/Admin/banServer.luau +0 -30
  367. package/runtime/Cmdr/BuiltInCommands/Admin/gotoPlace.luau +0 -35
  368. package/runtime/Cmdr/BuiltInCommands/Admin/gotoPlaceServer.luau +0 -17
  369. package/runtime/Cmdr/BuiltInCommands/Admin/kick.luau +0 -19
  370. package/runtime/Cmdr/BuiltInCommands/Admin/kickServer.luau +0 -27
  371. package/runtime/Cmdr/BuiltInCommands/Admin/kill.luau +0 -13
  372. package/runtime/Cmdr/BuiltInCommands/Admin/killServer.luau +0 -13
  373. package/runtime/Cmdr/BuiltInCommands/Admin/respawn.luau +0 -15
  374. package/runtime/Cmdr/BuiltInCommands/Admin/respawnServer.luau +0 -7
  375. package/runtime/Cmdr/BuiltInCommands/Admin/teleport.luau +0 -30
  376. package/runtime/Cmdr/BuiltInCommands/Admin/teleportServer.luau +0 -26
  377. package/runtime/Cmdr/BuiltInCommands/Admin/unban.luau +0 -26
  378. package/runtime/Cmdr/BuiltInCommands/Admin/unbanServer.luau +0 -10
  379. package/runtime/Cmdr/BuiltInCommands/Debug/blink.luau +0 -35
  380. package/runtime/Cmdr/BuiltInCommands/Debug/fetch.luau +0 -12
  381. package/runtime/Cmdr/BuiltInCommands/Debug/fetchServer.luau +0 -7
  382. package/runtime/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +0 -20
  383. package/runtime/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +0 -28
  384. package/runtime/Cmdr/BuiltInCommands/Debug/position.luau +0 -30
  385. package/runtime/Cmdr/BuiltInCommands/Debug/thru.luau +0 -50
  386. package/runtime/Cmdr/BuiltInCommands/Debug/uptime.luau +0 -6
  387. package/runtime/Cmdr/BuiltInCommands/Debug/uptimeServer.luau +0 -12
  388. package/runtime/Cmdr/BuiltInCommands/Debug/version.luau +0 -12
  389. package/runtime/Cmdr/BuiltInCommands/Utility/alias.luau +0 -22
  390. package/runtime/Cmdr/BuiltInCommands/Utility/bind.luau +0 -104
  391. package/runtime/Cmdr/BuiltInCommands/Utility/clear.luau +0 -20
  392. package/runtime/Cmdr/BuiltInCommands/Utility/convertTimestamp.luau +0 -18
  393. package/runtime/Cmdr/BuiltInCommands/Utility/echo.luau +0 -17
  394. package/runtime/Cmdr/BuiltInCommands/Utility/edit.luau +0 -75
  395. package/runtime/Cmdr/BuiltInCommands/Utility/exit.luau +0 -11
  396. package/runtime/Cmdr/BuiltInCommands/Utility/history.luau +0 -27
  397. package/runtime/Cmdr/BuiltInCommands/Utility/hover.luau +0 -21
  398. package/runtime/Cmdr/BuiltInCommands/Utility/jsonArrayDecode.luau +0 -25
  399. package/runtime/Cmdr/BuiltInCommands/Utility/jsonArrayEncode.luau +0 -18
  400. package/runtime/Cmdr/BuiltInCommands/Utility/len.luau +0 -16
  401. package/runtime/Cmdr/BuiltInCommands/Utility/math.luau +0 -36
  402. package/runtime/Cmdr/BuiltInCommands/Utility/pick.luau +0 -21
  403. package/runtime/Cmdr/BuiltInCommands/Utility/rand.luau +0 -27
  404. package/runtime/Cmdr/BuiltInCommands/Utility/replace.luau +0 -32
  405. package/runtime/Cmdr/BuiltInCommands/Utility/resolve.luau +0 -32
  406. package/runtime/Cmdr/BuiltInCommands/Utility/run.luau +0 -20
  407. package/runtime/Cmdr/BuiltInCommands/Utility/runLines.luau +0 -34
  408. package/runtime/Cmdr/BuiltInCommands/Utility/runif.luau +0 -95
  409. package/runtime/Cmdr/BuiltInCommands/Utility/unbind.luau +0 -27
  410. package/runtime/Cmdr/BuiltInCommands/Utility/var.luau +0 -29
  411. package/runtime/Cmdr/BuiltInCommands/Utility/varServer.luau +0 -37
  412. package/runtime/Cmdr/BuiltInCommands/Utility/varSet.luau +0 -30
  413. package/runtime/Cmdr/BuiltInCommands/Utility/varSetServer.luau +0 -29
  414. package/runtime/Cmdr/BuiltInCommands/help.luau +0 -96
  415. package/runtime/Cmdr/BuiltInTypes/BrickColor.luau +0 -258
  416. package/runtime/Cmdr/BuiltInTypes/Color3.luau +0 -59
  417. package/runtime/Cmdr/BuiltInTypes/Command.luau +0 -23
  418. package/runtime/Cmdr/BuiltInTypes/Duration.luau +0 -111
  419. package/runtime/Cmdr/BuiltInTypes/JSON.luau +0 -13
  420. package/runtime/Cmdr/BuiltInTypes/MathOperator.luau +0 -43
  421. package/runtime/Cmdr/BuiltInTypes/Player.luau +0 -36
  422. package/runtime/Cmdr/BuiltInTypes/PlayerId.luau +0 -66
  423. package/runtime/Cmdr/BuiltInTypes/Primitives.luau +0 -145
  424. package/runtime/Cmdr/BuiltInTypes/StoredKey.luau +0 -33
  425. package/runtime/Cmdr/BuiltInTypes/Team.luau +0 -49
  426. package/runtime/Cmdr/BuiltInTypes/Type.luau +0 -23
  427. package/runtime/Cmdr/BuiltInTypes/URL.luau +0 -18
  428. package/runtime/Cmdr/BuiltInTypes/UserInput.luau +0 -32
  429. package/runtime/Cmdr/BuiltInTypes/Vector.luau +0 -58
  430. package/runtime/Cmdr/CmdrClient/CmdrInterface/AutoComplete.luau +0 -240
  431. package/runtime/Cmdr/CmdrClient/CmdrInterface/CreateGui.luau +0 -227
  432. package/runtime/Cmdr/CmdrClient/CmdrInterface/Window.luau +0 -713
  433. package/runtime/Cmdr/CmdrClient/CmdrInterface/init.luau +0 -18
  434. package/runtime/Cmdr/CmdrClient/DefaultEventHandlers.luau +0 -18
  435. package/runtime/Cmdr/CmdrClient/Shared/Argument.luau +0 -395
  436. package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +0 -39
  437. package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +0 -36
  438. package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +0 -10
  439. package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +0 -10
  440. package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +0 -10
  441. package/runtime/Cmdr/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +0 -8
  442. package/runtime/Cmdr/CmdrClient/Shared/Command.luau +0 -415
  443. package/runtime/Cmdr/CmdrClient/Shared/Dispatcher.luau +0 -407
  444. package/runtime/Cmdr/CmdrClient/Shared/Registry.luau +0 -717
  445. package/runtime/Cmdr/CmdrClient/Shared/Util.luau +0 -879
  446. package/runtime/Cmdr/CmdrClient/init.luau +0 -377
  447. package/runtime/Cmdr/LICENSE +0 -21
  448. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/announce.luau +0 -21
  449. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/announceServer.luau +0 -17
  450. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/ban.luau +0 -59
  451. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/banServer.luau +0 -30
  452. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/gotoPlace.luau +0 -35
  453. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/gotoPlaceServer.luau +0 -17
  454. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/kick.luau +0 -19
  455. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/kickServer.luau +0 -27
  456. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/kill.luau +0 -13
  457. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/killServer.luau +0 -13
  458. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/respawn.luau +0 -15
  459. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/respawnServer.luau +0 -7
  460. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/teleport.luau +0 -30
  461. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/teleportServer.luau +0 -26
  462. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/unban.luau +0 -26
  463. package/runtime/Cmdr/_impl/BuiltInCommands/Admin/unbanServer.luau +0 -10
  464. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/blink.luau +0 -35
  465. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/fetch.luau +0 -12
  466. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/fetchServer.luau +0 -7
  467. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +0 -20
  468. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +0 -28
  469. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/position.luau +0 -30
  470. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/thru.luau +0 -50
  471. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/uptime.luau +0 -6
  472. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/uptimeServer.luau +0 -12
  473. package/runtime/Cmdr/_impl/BuiltInCommands/Debug/version.luau +0 -12
  474. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/alias.luau +0 -22
  475. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/bind.luau +0 -104
  476. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/clear.luau +0 -20
  477. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/convertTimestamp.luau +0 -18
  478. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/echo.luau +0 -17
  479. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/edit.luau +0 -75
  480. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/exit.luau +0 -11
  481. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/history.luau +0 -27
  482. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/hover.luau +0 -21
  483. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayDecode.luau +0 -25
  484. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayEncode.luau +0 -18
  485. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/len.luau +0 -16
  486. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/math.luau +0 -36
  487. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/pick.luau +0 -21
  488. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/rand.luau +0 -27
  489. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/replace.luau +0 -32
  490. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/resolve.luau +0 -32
  491. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/run.luau +0 -20
  492. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/runLines.luau +0 -34
  493. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/runif.luau +0 -95
  494. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/unbind.luau +0 -27
  495. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/var.luau +0 -29
  496. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/varServer.luau +0 -37
  497. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/varSet.luau +0 -30
  498. package/runtime/Cmdr/_impl/BuiltInCommands/Utility/varSetServer.luau +0 -29
  499. package/runtime/Cmdr/_impl/BuiltInCommands/help.luau +0 -96
  500. package/runtime/Cmdr/_impl/BuiltInTypes/BrickColor.luau +0 -258
  501. package/runtime/Cmdr/_impl/BuiltInTypes/Color3.luau +0 -59
  502. package/runtime/Cmdr/_impl/BuiltInTypes/Command.luau +0 -23
  503. package/runtime/Cmdr/_impl/BuiltInTypes/Duration.luau +0 -111
  504. package/runtime/Cmdr/_impl/BuiltInTypes/JSON.luau +0 -13
  505. package/runtime/Cmdr/_impl/BuiltInTypes/MathOperator.luau +0 -43
  506. package/runtime/Cmdr/_impl/BuiltInTypes/Player.luau +0 -36
  507. package/runtime/Cmdr/_impl/BuiltInTypes/PlayerId.luau +0 -66
  508. package/runtime/Cmdr/_impl/BuiltInTypes/Primitives.luau +0 -145
  509. package/runtime/Cmdr/_impl/BuiltInTypes/StoredKey.luau +0 -33
  510. package/runtime/Cmdr/_impl/BuiltInTypes/Team.luau +0 -49
  511. package/runtime/Cmdr/_impl/BuiltInTypes/Type.luau +0 -23
  512. package/runtime/Cmdr/_impl/BuiltInTypes/URL.luau +0 -18
  513. package/runtime/Cmdr/_impl/BuiltInTypes/UserInput.luau +0 -32
  514. package/runtime/Cmdr/_impl/BuiltInTypes/Vector.luau +0 -58
  515. package/runtime/Cmdr/_impl/CmdrClient/CmdrInterface/AutoComplete.luau +0 -240
  516. package/runtime/Cmdr/_impl/CmdrClient/CmdrInterface/CreateGui.luau +0 -227
  517. package/runtime/Cmdr/_impl/CmdrClient/CmdrInterface/Window.luau +0 -713
  518. package/runtime/Cmdr/_impl/CmdrClient/CmdrInterface/init.luau +0 -18
  519. package/runtime/Cmdr/_impl/CmdrClient/DefaultEventHandlers.luau +0 -18
  520. package/runtime/Cmdr/_impl/CmdrClient/Shared/Argument.luau +0 -395
  521. package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +0 -39
  522. package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +0 -36
  523. package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +0 -10
  524. package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +0 -10
  525. package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +0 -10
  526. package/runtime/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +0 -8
  527. package/runtime/Cmdr/_impl/CmdrClient/Shared/Command.luau +0 -415
  528. package/runtime/Cmdr/_impl/CmdrClient/Shared/Dispatcher.luau +0 -407
  529. package/runtime/Cmdr/_impl/CmdrClient/Shared/Registry.luau +0 -717
  530. package/runtime/Cmdr/_impl/CmdrClient/Shared/Util.luau +0 -879
  531. package/runtime/Cmdr/_impl/CmdrClient/init.luau +0 -377
  532. package/runtime/Cmdr/_impl/LICENSE +0 -21
  533. package/runtime/Cmdr/_impl/init.luau +0 -178
  534. package/runtime/Cmdr/init.luau +0 -8
  535. package/runtime/DataService/Client.luau +0 -209
  536. package/runtime/DataService/Packages/quicknet/DataTypes.luau +0 -70
  537. package/runtime/DataService/Packages/quicknet/Enums.luau +0 -85
  538. package/runtime/DataService/Packages/quicknet/EnumsToNativeTypes.luau +0 -57
  539. package/runtime/DataService/Packages/quicknet/Parser.luau +0 -355
  540. package/runtime/DataService/Packages/quicknet/QuickNet.luau +0 -953
  541. package/runtime/DataService/Packages/quicknet/Serialize.luau +0 -2020
  542. package/runtime/DataService/Packages/quicknet/Types.luau +0 -72
  543. package/runtime/DataService/Packages/quicknet/init.luau +0 -1
  544. package/runtime/DataService/Packages/signal/init.luau +0 -433
  545. package/runtime/DataService/ProfileStore.luau +0 -2243
  546. package/runtime/DataService/Replicator.luau +0 -172
  547. package/runtime/DataService/Server.luau +0 -412
  548. package/runtime/Display/LICENSE +0 -201
  549. package/runtime/Display/_impl/LICENSE +0 -201
  550. package/runtime/Display/_impl/init.luau +0 -269
  551. package/runtime/Display/_impl/option.luau +0 -237
  552. package/runtime/Display/init.luau +0 -10
  553. package/runtime/Display/option.luau +0 -237
  554. package/runtime/EzVisualz/Dropshadow.luau +0 -148
  555. package/runtime/EzVisualz/Gradient.luau +0 -452
  556. package/runtime/EzVisualz/GradientTemplates/Bubblegum.luau +0 -16
  557. package/runtime/EzVisualz/GradientTemplates/Chrome.luau +0 -16
  558. package/runtime/EzVisualz/GradientTemplates/Death.luau +0 -15
  559. package/runtime/EzVisualz/GradientTemplates/Electric.luau +0 -14
  560. package/runtime/EzVisualz/GradientTemplates/Fire.luau +0 -13
  561. package/runtime/EzVisualz/GradientTemplates/Galaxy.luau +0 -11
  562. package/runtime/EzVisualz/GradientTemplates/Ghost.luau +0 -16
  563. package/runtime/EzVisualz/GradientTemplates/Gold.luau +0 -14
  564. package/runtime/EzVisualz/GradientTemplates/Green.luau +0 -14
  565. package/runtime/EzVisualz/GradientTemplates/Ice.luau +0 -14
  566. package/runtime/EzVisualz/GradientTemplates/Lava.luau +0 -15
  567. package/runtime/EzVisualz/GradientTemplates/Matrix.luau +0 -19
  568. package/runtime/EzVisualz/GradientTemplates/Neon.luau +0 -12
  569. package/runtime/EzVisualz/GradientTemplates/Oceanic.luau +0 -15
  570. package/runtime/EzVisualz/GradientTemplates/Rainbow.luau +0 -13
  571. package/runtime/EzVisualz/GradientTemplates/Silver.luau +0 -12
  572. package/runtime/EzVisualz/GradientTemplates/Sunset.luau +0 -11
  573. package/runtime/EzVisualz/GradientTemplates/Zebra.luau +0 -18
  574. package/runtime/EzVisualz/GradientTemplates/init.luau +0 -9
  575. package/runtime/EzVisualz/LICENSE.md +0 -21
  576. package/runtime/EzVisualz/Presets/Bubblegum.luau +0 -36
  577. package/runtime/EzVisualz/Presets/ChromeStroke.luau +0 -15
  578. package/runtime/EzVisualz/Presets/DeathStroke.luau +0 -15
  579. package/runtime/EzVisualz/Presets/ElectricStroke.luau +0 -54
  580. package/runtime/EzVisualz/Presets/FireStroke.luau +0 -29
  581. package/runtime/EzVisualz/Presets/GalaxyStroke.luau +0 -31
  582. package/runtime/EzVisualz/Presets/Ghost.luau +0 -10
  583. package/runtime/EzVisualz/Presets/GhostStroke.luau +0 -15
  584. package/runtime/EzVisualz/Presets/Gold.luau +0 -10
  585. package/runtime/EzVisualz/Presets/GoldStroke.luau +0 -15
  586. package/runtime/EzVisualz/Presets/GreenOutline.luau +0 -23
  587. package/runtime/EzVisualz/Presets/IceStroke.luau +0 -15
  588. package/runtime/EzVisualz/Presets/Lava.luau +0 -9
  589. package/runtime/EzVisualz/Presets/LavaStroke.luau +0 -13
  590. package/runtime/EzVisualz/Presets/Matrix.luau +0 -21
  591. package/runtime/EzVisualz/Presets/NeonStroke.luau +0 -30
  592. package/runtime/EzVisualz/Presets/OceanicStroke.luau +0 -15
  593. package/runtime/EzVisualz/Presets/Rainbow.luau +0 -9
  594. package/runtime/EzVisualz/Presets/RainbowOutline.luau +0 -23
  595. package/runtime/EzVisualz/Presets/RainbowStroke.luau +0 -13
  596. package/runtime/EzVisualz/Presets/Shine.luau +0 -48
  597. package/runtime/EzVisualz/Presets/ShineOutline.luau +0 -66
  598. package/runtime/EzVisualz/Presets/Silver.luau +0 -10
  599. package/runtime/EzVisualz/Presets/SilverStroke.luau +0 -15
  600. package/runtime/EzVisualz/Presets/SunsetStroke.luau +0 -31
  601. package/runtime/EzVisualz/Presets/WaveStroke.luau +0 -33
  602. package/runtime/EzVisualz/Presets/Zebra.luau +0 -21
  603. package/runtime/EzVisualz/Presets/init.luau +0 -9
  604. package/runtime/EzVisualz/Stroke.luau +0 -167
  605. package/runtime/EzVisualz/Util.luau +0 -7
  606. package/runtime/EzVisualz/_impl/Dropshadow.luau +0 -148
  607. package/runtime/EzVisualz/_impl/Gradient.luau +0 -452
  608. package/runtime/EzVisualz/_impl/GradientTemplates/Bubblegum.luau +0 -16
  609. package/runtime/EzVisualz/_impl/GradientTemplates/Chrome.luau +0 -16
  610. package/runtime/EzVisualz/_impl/GradientTemplates/Death.luau +0 -15
  611. package/runtime/EzVisualz/_impl/GradientTemplates/Electric.luau +0 -14
  612. package/runtime/EzVisualz/_impl/GradientTemplates/Fire.luau +0 -13
  613. package/runtime/EzVisualz/_impl/GradientTemplates/Galaxy.luau +0 -11
  614. package/runtime/EzVisualz/_impl/GradientTemplates/Ghost.luau +0 -16
  615. package/runtime/EzVisualz/_impl/GradientTemplates/Gold.luau +0 -14
  616. package/runtime/EzVisualz/_impl/GradientTemplates/Green.luau +0 -14
  617. package/runtime/EzVisualz/_impl/GradientTemplates/Ice.luau +0 -14
  618. package/runtime/EzVisualz/_impl/GradientTemplates/Lava.luau +0 -15
  619. package/runtime/EzVisualz/_impl/GradientTemplates/Matrix.luau +0 -19
  620. package/runtime/EzVisualz/_impl/GradientTemplates/Neon.luau +0 -12
  621. package/runtime/EzVisualz/_impl/GradientTemplates/Oceanic.luau +0 -15
  622. package/runtime/EzVisualz/_impl/GradientTemplates/Rainbow.luau +0 -13
  623. package/runtime/EzVisualz/_impl/GradientTemplates/Silver.luau +0 -12
  624. package/runtime/EzVisualz/_impl/GradientTemplates/Sunset.luau +0 -11
  625. package/runtime/EzVisualz/_impl/GradientTemplates/Zebra.luau +0 -18
  626. package/runtime/EzVisualz/_impl/GradientTemplates/init.luau +0 -9
  627. package/runtime/EzVisualz/_impl/LICENSE.md +0 -21
  628. package/runtime/EzVisualz/_impl/Presets/Bubblegum.luau +0 -36
  629. package/runtime/EzVisualz/_impl/Presets/ChromeStroke.luau +0 -15
  630. package/runtime/EzVisualz/_impl/Presets/DeathStroke.luau +0 -15
  631. package/runtime/EzVisualz/_impl/Presets/ElectricStroke.luau +0 -54
  632. package/runtime/EzVisualz/_impl/Presets/FireStroke.luau +0 -29
  633. package/runtime/EzVisualz/_impl/Presets/GalaxyStroke.luau +0 -31
  634. package/runtime/EzVisualz/_impl/Presets/Ghost.luau +0 -10
  635. package/runtime/EzVisualz/_impl/Presets/GhostStroke.luau +0 -15
  636. package/runtime/EzVisualz/_impl/Presets/Gold.luau +0 -10
  637. package/runtime/EzVisualz/_impl/Presets/GoldStroke.luau +0 -15
  638. package/runtime/EzVisualz/_impl/Presets/GreenOutline.luau +0 -23
  639. package/runtime/EzVisualz/_impl/Presets/IceStroke.luau +0 -15
  640. package/runtime/EzVisualz/_impl/Presets/Lava.luau +0 -9
  641. package/runtime/EzVisualz/_impl/Presets/LavaStroke.luau +0 -13
  642. package/runtime/EzVisualz/_impl/Presets/Matrix.luau +0 -21
  643. package/runtime/EzVisualz/_impl/Presets/NeonStroke.luau +0 -30
  644. package/runtime/EzVisualz/_impl/Presets/OceanicStroke.luau +0 -15
  645. package/runtime/EzVisualz/_impl/Presets/Rainbow.luau +0 -9
  646. package/runtime/EzVisualz/_impl/Presets/RainbowOutline.luau +0 -23
  647. package/runtime/EzVisualz/_impl/Presets/RainbowStroke.luau +0 -13
  648. package/runtime/EzVisualz/_impl/Presets/Shine.luau +0 -48
  649. package/runtime/EzVisualz/_impl/Presets/ShineOutline.luau +0 -66
  650. package/runtime/EzVisualz/_impl/Presets/Silver.luau +0 -10
  651. package/runtime/EzVisualz/_impl/Presets/SilverStroke.luau +0 -15
  652. package/runtime/EzVisualz/_impl/Presets/SunsetStroke.luau +0 -31
  653. package/runtime/EzVisualz/_impl/Presets/WaveStroke.luau +0 -33
  654. package/runtime/EzVisualz/_impl/Presets/Zebra.luau +0 -21
  655. package/runtime/EzVisualz/_impl/Presets/init.luau +0 -9
  656. package/runtime/EzVisualz/_impl/Stroke.luau +0 -167
  657. package/runtime/EzVisualz/_impl/Util.luau +0 -7
  658. package/runtime/EzVisualz/_impl/init.luau +0 -319
  659. package/runtime/EzVisualz/_impl/wally.lock +0 -8
  660. package/runtime/EzVisualz/_impl/wally.toml +0 -8
  661. package/runtime/EzVisualz/init.luau +0 -9
  662. package/runtime/EzVisualz/wally.lock +0 -8
  663. package/runtime/EzVisualz/wally.toml +0 -8
  664. package/runtime/FormatNumber/LICENSE.md +0 -25
  665. package/runtime/FormatNumber/Main/DecimalFormatSymbols.lua +0 -43
  666. package/runtime/FormatNumber/Main/IntegerWidth.lua +0 -41
  667. package/runtime/FormatNumber/Main/Notation.lua +0 -116
  668. package/runtime/FormatNumber/Main/Precision.lua +0 -179
  669. package/runtime/FormatNumber/Main/init.lua +0 -199
  670. package/runtime/FormatNumber/Simple/init.lua +0 -76
  671. package/runtime/FormatNumber/Version.lua +0 -82
  672. package/runtime/FormatNumber/_impl/LICENSE.md +0 -25
  673. package/runtime/FormatNumber/_impl/Main/DecimalFormatSymbols.lua +0 -43
  674. package/runtime/FormatNumber/_impl/Main/IntegerWidth.lua +0 -41
  675. package/runtime/FormatNumber/_impl/Main/Notation.lua +0 -116
  676. package/runtime/FormatNumber/_impl/Main/Precision.lua +0 -179
  677. package/runtime/FormatNumber/_impl/Main/init.lua +0 -199
  678. package/runtime/FormatNumber/_impl/Simple/init.lua +0 -76
  679. package/runtime/FormatNumber/_impl/Version.lua +0 -82
  680. package/runtime/FormatNumber/_impl/_internal/class.lua +0 -204
  681. package/runtime/FormatNumber/_impl/_internal/decimal_conversion.lua +0 -30
  682. package/runtime/FormatNumber/_impl/_internal/enums.lua +0 -55
  683. package/runtime/FormatNumber/_impl/_internal/format.lua +0 -342
  684. package/runtime/FormatNumber/_impl/_internal/formatter_settings.lua +0 -160
  685. package/runtime/FormatNumber/_impl/_internal/init.lua +0 -8
  686. package/runtime/FormatNumber/_impl/_internal/skeleton.lua +0 -541
  687. package/runtime/FormatNumber/_impl/init.lua +0 -20
  688. package/runtime/FormatNumber/_internal/class.lua +0 -204
  689. package/runtime/FormatNumber/_internal/decimal_conversion.lua +0 -30
  690. package/runtime/FormatNumber/_internal/enums.lua +0 -55
  691. package/runtime/FormatNumber/_internal/format.lua +0 -342
  692. package/runtime/FormatNumber/_internal/formatter_settings.lua +0 -160
  693. package/runtime/FormatNumber/_internal/init.lua +0 -8
  694. package/runtime/FormatNumber/_internal/skeleton.lua +0 -541
  695. package/runtime/FormatNumber/init.lua +0 -20
  696. package/runtime/FormatNumber/init.luau +0 -20
  697. package/runtime/Fusion/Animation/ExternalTime.luau +0 -84
  698. package/runtime/Fusion/Animation/Spring.luau +0 -313
  699. package/runtime/Fusion/Animation/Stopwatch.luau +0 -128
  700. package/runtime/Fusion/Animation/Tween.luau +0 -178
  701. package/runtime/Fusion/Animation/getTweenDuration.luau +0 -27
  702. package/runtime/Fusion/Animation/getTweenRatio.luau +0 -47
  703. package/runtime/Fusion/Animation/lerpType.luau +0 -164
  704. package/runtime/Fusion/Animation/packType.luau +0 -100
  705. package/runtime/Fusion/Animation/springCoefficients.luau +0 -80
  706. package/runtime/Fusion/Animation/unpackType.luau +0 -103
  707. package/runtime/Fusion/Colour/Oklab.luau +0 -70
  708. package/runtime/Fusion/Colour/sRGB.luau +0 -47
  709. package/runtime/Fusion/External.luau +0 -156
  710. package/runtime/Fusion/ExternalDebug.luau +0 -70
  711. package/runtime/Fusion/Graph/Observer.luau +0 -111
  712. package/runtime/Fusion/Graph/castToGraph.luau +0 -29
  713. package/runtime/Fusion/Graph/change.luau +0 -81
  714. package/runtime/Fusion/Graph/depend.luau +0 -33
  715. package/runtime/Fusion/Graph/evaluate.luau +0 -56
  716. package/runtime/Fusion/Instances/Attribute.luau +0 -58
  717. package/runtime/Fusion/Instances/AttributeChange.luau +0 -47
  718. package/runtime/Fusion/Instances/AttributeOut.luau +0 -63
  719. package/runtime/Fusion/Instances/Child.luau +0 -21
  720. package/runtime/Fusion/Instances/Children.luau +0 -148
  721. package/runtime/Fusion/Instances/Hydrate.luau +0 -29
  722. package/runtime/Fusion/Instances/New.luau +0 -48
  723. package/runtime/Fusion/Instances/OnChange.luau +0 -50
  724. package/runtime/Fusion/Instances/OnEvent.luau +0 -54
  725. package/runtime/Fusion/Instances/Out.luau +0 -69
  726. package/runtime/Fusion/Instances/Tag.luau +0 -61
  727. package/runtime/Fusion/Instances/applyInstanceProps.luau +0 -149
  728. package/runtime/Fusion/Instances/defaultProps.luau +0 -194
  729. package/runtime/Fusion/LICENSE +0 -21
  730. package/runtime/Fusion/Logging/formatError.luau +0 -49
  731. package/runtime/Fusion/Logging/messages.luau +0 -46
  732. package/runtime/Fusion/Logging/parseError.luau +0 -25
  733. package/runtime/Fusion/Memory/checkLifetime.luau +0 -134
  734. package/runtime/Fusion/Memory/deriveScope.luau +0 -24
  735. package/runtime/Fusion/Memory/deriveScopeImpl.luau +0 -40
  736. package/runtime/Fusion/Memory/doCleanup.luau +0 -91
  737. package/runtime/Fusion/Memory/innerScope.luau +0 -34
  738. package/runtime/Fusion/Memory/insert.luau +0 -22
  739. package/runtime/Fusion/Memory/needsDestruction.luau +0 -17
  740. package/runtime/Fusion/Memory/scoped.luau +0 -24
  741. package/runtime/Fusion/RobloxExternal.luau +0 -98
  742. package/runtime/Fusion/State/Computed.luau +0 -122
  743. package/runtime/Fusion/State/For/Disassembly.luau +0 -207
  744. package/runtime/Fusion/State/For/ForTypes.luau +0 -30
  745. package/runtime/Fusion/State/For/init.luau +0 -101
  746. package/runtime/Fusion/State/ForKeys.luau +0 -88
  747. package/runtime/Fusion/State/ForPairs.luau +0 -91
  748. package/runtime/Fusion/State/ForValues.luau +0 -88
  749. package/runtime/Fusion/State/Value.luau +0 -76
  750. package/runtime/Fusion/State/castToState.luau +0 -26
  751. package/runtime/Fusion/State/peek.luau +0 -31
  752. package/runtime/Fusion/State/updateAll.luau +0 -1
  753. package/runtime/Fusion/Types.luau +0 -318
  754. package/runtime/Fusion/Utility/Contextual.luau +0 -91
  755. package/runtime/Fusion/Utility/Safe.luau +0 -23
  756. package/runtime/Fusion/Utility/isSimilar.luau +0 -29
  757. package/runtime/Fusion/Utility/merge.luau +0 -35
  758. package/runtime/Fusion/Utility/nameOf.luau +0 -35
  759. package/runtime/Fusion/Utility/never.luau +0 -14
  760. package/runtime/Fusion/Utility/nicknames.luau +0 -11
  761. package/runtime/Fusion/Utility/xtypeof.luau +0 -27
  762. package/runtime/Fusion/_impl/Animation/ExternalTime.luau +0 -84
  763. package/runtime/Fusion/_impl/Animation/Spring.luau +0 -313
  764. package/runtime/Fusion/_impl/Animation/Stopwatch.luau +0 -128
  765. package/runtime/Fusion/_impl/Animation/Tween.luau +0 -178
  766. package/runtime/Fusion/_impl/Animation/getTweenDuration.luau +0 -27
  767. package/runtime/Fusion/_impl/Animation/getTweenRatio.luau +0 -47
  768. package/runtime/Fusion/_impl/Animation/lerpType.luau +0 -164
  769. package/runtime/Fusion/_impl/Animation/packType.luau +0 -100
  770. package/runtime/Fusion/_impl/Animation/springCoefficients.luau +0 -80
  771. package/runtime/Fusion/_impl/Animation/unpackType.luau +0 -103
  772. package/runtime/Fusion/_impl/Colour/Oklab.luau +0 -70
  773. package/runtime/Fusion/_impl/Colour/sRGB.luau +0 -47
  774. package/runtime/Fusion/_impl/External.luau +0 -156
  775. package/runtime/Fusion/_impl/ExternalDebug.luau +0 -70
  776. package/runtime/Fusion/_impl/Graph/Observer.luau +0 -111
  777. package/runtime/Fusion/_impl/Graph/castToGraph.luau +0 -29
  778. package/runtime/Fusion/_impl/Graph/change.luau +0 -81
  779. package/runtime/Fusion/_impl/Graph/depend.luau +0 -33
  780. package/runtime/Fusion/_impl/Graph/evaluate.luau +0 -56
  781. package/runtime/Fusion/_impl/Instances/Attribute.luau +0 -58
  782. package/runtime/Fusion/_impl/Instances/AttributeChange.luau +0 -47
  783. package/runtime/Fusion/_impl/Instances/AttributeOut.luau +0 -63
  784. package/runtime/Fusion/_impl/Instances/Child.luau +0 -21
  785. package/runtime/Fusion/_impl/Instances/Children.luau +0 -148
  786. package/runtime/Fusion/_impl/Instances/Hydrate.luau +0 -29
  787. package/runtime/Fusion/_impl/Instances/New.luau +0 -48
  788. package/runtime/Fusion/_impl/Instances/OnChange.luau +0 -50
  789. package/runtime/Fusion/_impl/Instances/OnEvent.luau +0 -54
  790. package/runtime/Fusion/_impl/Instances/Out.luau +0 -69
  791. package/runtime/Fusion/_impl/Instances/Tag.luau +0 -61
  792. package/runtime/Fusion/_impl/Instances/applyInstanceProps.luau +0 -149
  793. package/runtime/Fusion/_impl/Instances/defaultProps.luau +0 -194
  794. package/runtime/Fusion/_impl/LICENSE +0 -21
  795. package/runtime/Fusion/_impl/Logging/formatError.luau +0 -49
  796. package/runtime/Fusion/_impl/Logging/messages.luau +0 -46
  797. package/runtime/Fusion/_impl/Logging/parseError.luau +0 -25
  798. package/runtime/Fusion/_impl/Memory/checkLifetime.luau +0 -134
  799. package/runtime/Fusion/_impl/Memory/deriveScope.luau +0 -24
  800. package/runtime/Fusion/_impl/Memory/deriveScopeImpl.luau +0 -40
  801. package/runtime/Fusion/_impl/Memory/doCleanup.luau +0 -91
  802. package/runtime/Fusion/_impl/Memory/innerScope.luau +0 -34
  803. package/runtime/Fusion/_impl/Memory/insert.luau +0 -22
  804. package/runtime/Fusion/_impl/Memory/needsDestruction.luau +0 -17
  805. package/runtime/Fusion/_impl/Memory/scoped.luau +0 -24
  806. package/runtime/Fusion/_impl/RobloxExternal.luau +0 -98
  807. package/runtime/Fusion/_impl/State/Computed.luau +0 -122
  808. package/runtime/Fusion/_impl/State/For/Disassembly.luau +0 -207
  809. package/runtime/Fusion/_impl/State/For/ForTypes.luau +0 -30
  810. package/runtime/Fusion/_impl/State/For/init.luau +0 -101
  811. package/runtime/Fusion/_impl/State/ForKeys.luau +0 -88
  812. package/runtime/Fusion/_impl/State/ForPairs.luau +0 -91
  813. package/runtime/Fusion/_impl/State/ForValues.luau +0 -88
  814. package/runtime/Fusion/_impl/State/Value.luau +0 -76
  815. package/runtime/Fusion/_impl/State/castToState.luau +0 -26
  816. package/runtime/Fusion/_impl/State/peek.luau +0 -31
  817. package/runtime/Fusion/_impl/State/updateAll.luau +0 -1
  818. package/runtime/Fusion/_impl/Types.luau +0 -318
  819. package/runtime/Fusion/_impl/Utility/Contextual.luau +0 -91
  820. package/runtime/Fusion/_impl/Utility/Safe.luau +0 -23
  821. package/runtime/Fusion/_impl/Utility/isSimilar.luau +0 -29
  822. package/runtime/Fusion/_impl/Utility/merge.luau +0 -35
  823. package/runtime/Fusion/_impl/Utility/nameOf.luau +0 -35
  824. package/runtime/Fusion/_impl/Utility/never.luau +0 -14
  825. package/runtime/Fusion/_impl/Utility/nicknames.luau +0 -11
  826. package/runtime/Fusion/_impl/Utility/xtypeof.luau +0 -27
  827. package/runtime/Fusion/_impl/init.luau +0 -83
  828. package/runtime/Fusion/init.luau +0 -27
  829. package/runtime/Iris/API.lua +0 -2085
  830. package/runtime/Iris/Internal.lua +0 -895
  831. package/runtime/Iris/LICENSE.txt +0 -21
  832. package/runtime/Iris/PubTypes.lua +0 -43
  833. package/runtime/Iris/Types.lua +0 -660
  834. package/runtime/Iris/WidgetTypes.lua +0 -521
  835. package/runtime/Iris/_impl/API.lua +0 -2085
  836. package/runtime/Iris/_impl/Internal.lua +0 -895
  837. package/runtime/Iris/_impl/LICENSE.txt +0 -21
  838. package/runtime/Iris/_impl/PubTypes.lua +0 -43
  839. package/runtime/Iris/_impl/Types.lua +0 -660
  840. package/runtime/Iris/_impl/WidgetTypes.lua +0 -521
  841. package/runtime/Iris/_impl/config.lua +0 -305
  842. package/runtime/Iris/_impl/init.lua +0 -696
  843. package/runtime/Iris/_impl/widgets/Button.lua +0 -90
  844. package/runtime/Iris/_impl/widgets/Checkbox.lua +0 -115
  845. package/runtime/Iris/_impl/widgets/Combo.lua +0 -492
  846. package/runtime/Iris/_impl/widgets/Format.lua +0 -140
  847. package/runtime/Iris/_impl/widgets/Image.lua +0 -155
  848. package/runtime/Iris/_impl/widgets/Input.lua +0 -1232
  849. package/runtime/Iris/_impl/widgets/Menu.lua +0 -599
  850. package/runtime/Iris/_impl/widgets/Plot.lua +0 -639
  851. package/runtime/Iris/_impl/widgets/RadioButton.lua +0 -126
  852. package/runtime/Iris/_impl/widgets/Root.lua +0 -143
  853. package/runtime/Iris/_impl/widgets/Tab.lua +0 -333
  854. package/runtime/Iris/_impl/widgets/Table.lua +0 -635
  855. package/runtime/Iris/_impl/widgets/Text.lua +0 -132
  856. package/runtime/Iris/_impl/widgets/Tree.lua +0 -287
  857. package/runtime/Iris/_impl/widgets/Window.lua +0 -1075
  858. package/runtime/Iris/_impl/widgets/init.lua +0 -447
  859. package/runtime/Iris/config.lua +0 -305
  860. package/runtime/Iris/init.lua +0 -696
  861. package/runtime/Iris/init.luau +0 -12
  862. package/runtime/Iris/widgets/Button.lua +0 -90
  863. package/runtime/Iris/widgets/Checkbox.lua +0 -115
  864. package/runtime/Iris/widgets/Combo.lua +0 -492
  865. package/runtime/Iris/widgets/Format.lua +0 -140
  866. package/runtime/Iris/widgets/Image.lua +0 -155
  867. package/runtime/Iris/widgets/Input.lua +0 -1232
  868. package/runtime/Iris/widgets/Menu.lua +0 -599
  869. package/runtime/Iris/widgets/Plot.lua +0 -639
  870. package/runtime/Iris/widgets/RadioButton.lua +0 -126
  871. package/runtime/Iris/widgets/Root.lua +0 -143
  872. package/runtime/Iris/widgets/Tab.lua +0 -333
  873. package/runtime/Iris/widgets/Table.lua +0 -635
  874. package/runtime/Iris/widgets/Text.lua +0 -132
  875. package/runtime/Iris/widgets/Tree.lua +0 -287
  876. package/runtime/Iris/widgets/Window.lua +0 -1075
  877. package/runtime/Iris/widgets/init.lua +0 -447
  878. package/runtime/Janitor/FastDefer.luau +0 -33
  879. package/runtime/Janitor/LICENSE +0 -21
  880. package/runtime/Janitor/_impl/FastDefer.luau +0 -33
  881. package/runtime/Janitor/_impl/LICENSE +0 -21
  882. package/runtime/Janitor/_impl/init.luau +0 -999
  883. package/runtime/Janitor/init.luau +0 -15
  884. package/runtime/MathUtils/init.luau +0 -100
  885. package/runtime/Module3D/LICENSE +0 -21
  886. package/runtime/Module3D/_impl/LICENSE +0 -21
  887. package/runtime/Module3D/_impl/init.luau +0 -269
  888. package/runtime/Module3D/init.luau +0 -14
  889. package/runtime/Spring/LICENSE +0 -201
  890. package/runtime/Spring/_impl/LICENSE +0 -201
  891. package/runtime/Spring/_impl/init.luau +0 -111
  892. package/runtime/Spring/init.luau +0 -24
  893. package/runtime/StateMachine/Classes/State.lua +0 -375
  894. package/runtime/StateMachine/Classes/Transition.lua +0 -336
  895. package/runtime/StateMachine/Functions/deepCopy.lua +0 -19
  896. package/runtime/StateMachine/Functions/mergeTables.lua +0 -22
  897. package/runtime/StateMachine/LICENSE +0 -19
  898. package/runtime/StateMachine/Vendor/Signal.lua +0 -386
  899. package/runtime/StateMachine/Vendor/Trove.lua +0 -188
  900. package/runtime/StateMachine/_impl/Classes/State.lua +0 -375
  901. package/runtime/StateMachine/_impl/Classes/Transition.lua +0 -336
  902. package/runtime/StateMachine/_impl/Functions/deepCopy.lua +0 -19
  903. package/runtime/StateMachine/_impl/Functions/mergeTables.lua +0 -22
  904. package/runtime/StateMachine/_impl/LICENSE +0 -19
  905. package/runtime/StateMachine/_impl/Vendor/Signal.lua +0 -386
  906. package/runtime/StateMachine/_impl/Vendor/Trove.lua +0 -188
  907. package/runtime/StateMachine/_impl/init.lua +0 -595
  908. package/runtime/StateMachine/init.lua +0 -595
  909. package/runtime/StateMachine/init.luau +0 -10
  910. package/runtime/StickyBillboard/init.luau +0 -167
  911. package/runtime/TopbarPlus/Attribute.lua +0 -35
  912. package/runtime/TopbarPlus/Elements/Caption.lua +0 -316
  913. package/runtime/TopbarPlus/Elements/Container.lua +0 -215
  914. package/runtime/TopbarPlus/Elements/Dropdown.lua +0 -315
  915. package/runtime/TopbarPlus/Elements/Indicator.lua +0 -91
  916. package/runtime/TopbarPlus/Elements/Menu.lua +0 -180
  917. package/runtime/TopbarPlus/Elements/Notice.lua +0 -113
  918. package/runtime/TopbarPlus/Elements/Selection.lua +0 -49
  919. package/runtime/TopbarPlus/Elements/Widget.lua +0 -437
  920. package/runtime/TopbarPlus/Features/Gamepad.lua +0 -201
  921. package/runtime/TopbarPlus/Features/Overflow.lua +0 -360
  922. package/runtime/TopbarPlus/Features/Themes/Classic.lua +0 -27
  923. package/runtime/TopbarPlus/Features/Themes/Default.lua +0 -75
  924. package/runtime/TopbarPlus/Features/Themes/init.lua +0 -353
  925. package/runtime/TopbarPlus/LICENSE +0 -381
  926. package/runtime/TopbarPlus/Packages/GoodSignal.lua +0 -182
  927. package/runtime/TopbarPlus/Packages/Janitor.lua +0 -322
  928. package/runtime/TopbarPlus/Reference.lua +0 -30
  929. package/runtime/TopbarPlus/Types.lua +0 -477
  930. package/runtime/TopbarPlus/Utility.lua +0 -462
  931. package/runtime/TopbarPlus/VERSION.lua +0 -51
  932. package/runtime/TopbarPlus/_impl/Attribute.lua +0 -35
  933. package/runtime/TopbarPlus/_impl/Elements/Caption.lua +0 -316
  934. package/runtime/TopbarPlus/_impl/Elements/Container.lua +0 -215
  935. package/runtime/TopbarPlus/_impl/Elements/Dropdown.lua +0 -315
  936. package/runtime/TopbarPlus/_impl/Elements/Indicator.lua +0 -91
  937. package/runtime/TopbarPlus/_impl/Elements/Menu.lua +0 -180
  938. package/runtime/TopbarPlus/_impl/Elements/Notice.lua +0 -113
  939. package/runtime/TopbarPlus/_impl/Elements/Selection.lua +0 -49
  940. package/runtime/TopbarPlus/_impl/Elements/Widget.lua +0 -437
  941. package/runtime/TopbarPlus/_impl/Features/Gamepad.lua +0 -201
  942. package/runtime/TopbarPlus/_impl/Features/Overflow.lua +0 -360
  943. package/runtime/TopbarPlus/_impl/Features/Themes/Classic.lua +0 -27
  944. package/runtime/TopbarPlus/_impl/Features/Themes/Default.lua +0 -75
  945. package/runtime/TopbarPlus/_impl/Features/Themes/init.lua +0 -353
  946. package/runtime/TopbarPlus/_impl/LICENSE +0 -381
  947. package/runtime/TopbarPlus/_impl/Packages/GoodSignal.lua +0 -182
  948. package/runtime/TopbarPlus/_impl/Packages/Janitor.lua +0 -322
  949. package/runtime/TopbarPlus/_impl/Reference.lua +0 -30
  950. package/runtime/TopbarPlus/_impl/Types.lua +0 -477
  951. package/runtime/TopbarPlus/_impl/Utility.lua +0 -462
  952. package/runtime/TopbarPlus/_impl/VERSION.lua +0 -51
  953. package/runtime/TopbarPlus/_impl/init.lua +0 -1249
  954. package/runtime/TopbarPlus/init.lua +0 -1249
  955. package/runtime/TopbarPlus/init.luau +0 -8
  956. package/runtime/Twinkle/init.luau +0 -157
  957. package/runtime/VfxUtil/init.luau +0 -164
  958. package/templates/game/src/server/leaderstats.server.clpp +0 -29
  959. package/templates/game/src/shared/config.clp +0 -6
  960. /package/runtime/{DataService → Keep}/Enum.luau +0 -0
  961. /package/runtime/{DataService → Keep}/Enums.luau +0 -0
  962. /package/runtime/{DataService → Keep}/Path.luau +0 -0
@@ -0,0 +1,716 @@
1
+ --!native
2
+ --!optimize 2
3
+ --!strict
4
+ --[[
5
+ Flare — Cluaupp networker.
6
+ Zap-style generated write/read, QuickNet-class buffers, ByteNet packets + queries.
7
+
8
+ Games do not call this module to declare remotes. Write a .flare schema;
9
+ cluaupp build generates Net.luau which opens a session here.
10
+ ]]
11
+
12
+ local RunService = game:GetService("RunService")
13
+ local Players = game:GetService("Players")
14
+ local Ward = require(script.Parent.Ward)
15
+
16
+ type Cursor = {
17
+ buf: buffer,
18
+ offset: number,
19
+ instances: { Instance },
20
+ index: number,
21
+ }
22
+
23
+ type PacketSpec = {
24
+ id: number,
25
+ from: "client" | "server",
26
+ reliable: boolean,
27
+ write: (...any) -> Cursor,
28
+ read: (Cursor) -> (...any),
29
+ }
30
+
31
+ type QuerySpec = {
32
+ id: number,
33
+ writeReq: (...any) -> Cursor,
34
+ readReq: (Cursor) -> (...any),
35
+ writeRes: (Cursor, any) -> Cursor,
36
+ readRes: (Cursor) -> any,
37
+ }
38
+
39
+ type Queued = {
40
+ id: number,
41
+ cursor: Cursor,
42
+ }
43
+
44
+ local writeu8 = buffer.writeu8
45
+ local writeu16 = buffer.writeu16
46
+ local writeu32 = buffer.writeu32
47
+ local writei8 = buffer.writei8
48
+ local writei16 = buffer.writei16
49
+ local writei32 = buffer.writei32
50
+ local writef32 = buffer.writef32
51
+ local writef64 = buffer.writef64
52
+ local writestring = buffer.writestring
53
+ local readu8 = buffer.readu8
54
+ local readu16 = buffer.readu16
55
+ local readu32 = buffer.readu32
56
+ local readi8 = buffer.readi8
57
+ local readi16 = buffer.readi16
58
+ local readi32 = buffer.readi32
59
+ local readf32 = buffer.readf32
60
+ local readf64 = buffer.readf64
61
+ local readstring = buffer.readstring
62
+ local bufferCopy = buffer.copy
63
+ local bufferLen = buffer.len
64
+ local bufferCreate = buffer.create
65
+
66
+ local function ensure(cursor: Cursor, extra: number)
67
+ local need = cursor.offset + extra
68
+ local size = bufferLen(cursor.buf)
69
+ if need <= size then
70
+ return
71
+ end
72
+ local grown = bufferCreate(math.max(size * 2, need))
73
+ bufferCopy(grown, 0, cursor.buf, 0, cursor.offset)
74
+ cursor.buf = grown
75
+ end
76
+
77
+ local function cursor(size: number?): Cursor
78
+ return {
79
+ buf = bufferCreate(size or 64),
80
+ offset = 0,
81
+ instances = {},
82
+ index = 1,
83
+ }
84
+ end
85
+
86
+ local function fromBuffer(buf: buffer, instances: { Instance }?): Cursor
87
+ return {
88
+ buf = buf,
89
+ offset = 0,
90
+ instances = instances or {},
91
+ index = 1,
92
+ }
93
+ end
94
+
95
+ local function instanceCount(c: Cursor): number
96
+ return c.index - 1
97
+ end
98
+
99
+ local function sliceCursor(c: Cursor): buffer
100
+ local n = c.offset
101
+ local buf = bufferCreate(n)
102
+ if n > 0 then
103
+ bufferCopy(buf, 0, c.buf, 0, n)
104
+ end
105
+ return buf
106
+ end
107
+
108
+ local Flare = {}
109
+
110
+ function Flare.cursor(size: number?): Cursor
111
+ return cursor(size)
112
+ end
113
+
114
+ function Flare.writeu8(c: Cursor, value: number)
115
+ ensure(c, 1)
116
+ writeu8(c.buf, c.offset, value)
117
+ c.offset += 1
118
+ end
119
+
120
+ function Flare.writeu16(c: Cursor, value: number)
121
+ ensure(c, 2)
122
+ writeu16(c.buf, c.offset, value)
123
+ c.offset += 2
124
+ end
125
+
126
+ function Flare.writeu32(c: Cursor, value: number)
127
+ ensure(c, 4)
128
+ writeu32(c.buf, c.offset, value)
129
+ c.offset += 4
130
+ end
131
+
132
+ function Flare.writei8(c: Cursor, value: number)
133
+ ensure(c, 1)
134
+ writei8(c.buf, c.offset, value)
135
+ c.offset += 1
136
+ end
137
+
138
+ function Flare.writei16(c: Cursor, value: number)
139
+ ensure(c, 2)
140
+ writei16(c.buf, c.offset, value)
141
+ c.offset += 2
142
+ end
143
+
144
+ function Flare.writei32(c: Cursor, value: number)
145
+ ensure(c, 4)
146
+ writei32(c.buf, c.offset, value)
147
+ c.offset += 4
148
+ end
149
+
150
+ function Flare.writef32(c: Cursor, value: number)
151
+ ensure(c, 4)
152
+ writef32(c.buf, c.offset, value)
153
+ c.offset += 4
154
+ end
155
+
156
+ function Flare.writef64(c: Cursor, value: number)
157
+ ensure(c, 8)
158
+ writef64(c.buf, c.offset, value)
159
+ c.offset += 8
160
+ end
161
+
162
+ function Flare.writebool(c: Cursor, value: boolean)
163
+ Flare.writeu8(c, if value then 1 else 0)
164
+ end
165
+
166
+ function Flare.writestring(c: Cursor, value: string)
167
+ local n = #value
168
+ if n > 65535 then
169
+ error("Flare string exceeds 65535 bytes")
170
+ end
171
+ ensure(c, 2 + n)
172
+ writeu16(c.buf, c.offset, n)
173
+ writestring(c.buf, c.offset + 2, value)
174
+ c.offset += 2 + n
175
+ end
176
+
177
+ function Flare.writeVector3(c: Cursor, value: Vector3)
178
+ ensure(c, 12)
179
+ writef32(c.buf, c.offset, value.X)
180
+ writef32(c.buf, c.offset + 4, value.Y)
181
+ writef32(c.buf, c.offset + 8, value.Z)
182
+ c.offset += 12
183
+ end
184
+
185
+ function Flare.writeVector2(c: Cursor, value: Vector2)
186
+ ensure(c, 8)
187
+ writef32(c.buf, c.offset, value.X)
188
+ writef32(c.buf, c.offset + 4, value.Y)
189
+ c.offset += 8
190
+ end
191
+
192
+ function Flare.writeCFrame(c: Cursor, value: CFrame)
193
+ local x, y, z, r00, r01, r02, r10, r11, r12, r20, r21, r22 = value:GetComponents()
194
+ ensure(c, 48)
195
+ writef32(c.buf, c.offset, x)
196
+ writef32(c.buf, c.offset + 4, y)
197
+ writef32(c.buf, c.offset + 8, z)
198
+ writef32(c.buf, c.offset + 12, r00)
199
+ writef32(c.buf, c.offset + 16, r01)
200
+ writef32(c.buf, c.offset + 20, r02)
201
+ writef32(c.buf, c.offset + 24, r10)
202
+ writef32(c.buf, c.offset + 28, r11)
203
+ writef32(c.buf, c.offset + 32, r12)
204
+ writef32(c.buf, c.offset + 36, r20)
205
+ writef32(c.buf, c.offset + 40, r21)
206
+ writef32(c.buf, c.offset + 44, r22)
207
+ c.offset += 48
208
+ end
209
+
210
+ function Flare.writeColor3(c: Cursor, value: Color3)
211
+ ensure(c, 3)
212
+ writeu8(c.buf, c.offset, math.floor(value.R * 255 + 0.5))
213
+ writeu8(c.buf, c.offset + 1, math.floor(value.G * 255 + 0.5))
214
+ writeu8(c.buf, c.offset + 2, math.floor(value.B * 255 + 0.5))
215
+ c.offset += 3
216
+ end
217
+
218
+ function Flare.writeUDim(c: Cursor, value: UDim)
219
+ ensure(c, 8)
220
+ writef32(c.buf, c.offset, value.Scale)
221
+ writei32(c.buf, c.offset + 4, value.Offset)
222
+ c.offset += 8
223
+ end
224
+
225
+ function Flare.writeUDim2(c: Cursor, value: UDim2)
226
+ Flare.writeUDim(c, value.X)
227
+ Flare.writeUDim(c, value.Y)
228
+ end
229
+
230
+ function Flare.writeBrickColor(c: Cursor, value: BrickColor)
231
+ Flare.writeu16(c, value.Number)
232
+ end
233
+
234
+ function Flare.writebuffer(c: Cursor, value: buffer)
235
+ local n = bufferLen(value)
236
+ if n > 65535 then
237
+ error("Flare buffer exceeds 65535 bytes")
238
+ end
239
+ ensure(c, 2 + n)
240
+ writeu16(c.buf, c.offset, n)
241
+ bufferCopy(c.buf, c.offset + 2, value, 0, n)
242
+ c.offset += 2 + n
243
+ end
244
+
245
+ function Flare.writeInstance(c: Cursor, value: Instance?)
246
+ local slot = c.index
247
+ if slot > 65535 then
248
+ error("Flare instance slot exceeds 65535")
249
+ end
250
+ c.instances[slot] = value :: Instance
251
+ c.index = slot + 1
252
+ Flare.writeu16(c, slot)
253
+ end
254
+
255
+ function Flare.readu8(c: Cursor): number
256
+ local value = readu8(c.buf, c.offset)
257
+ c.offset += 1
258
+ return value
259
+ end
260
+
261
+ function Flare.readu16(c: Cursor): number
262
+ local value = readu16(c.buf, c.offset)
263
+ c.offset += 2
264
+ return value
265
+ end
266
+
267
+ function Flare.readu32(c: Cursor): number
268
+ local value = readu32(c.buf, c.offset)
269
+ c.offset += 4
270
+ return value
271
+ end
272
+
273
+ function Flare.readi8(c: Cursor): number
274
+ local value = readi8(c.buf, c.offset)
275
+ c.offset += 1
276
+ return value
277
+ end
278
+
279
+ function Flare.readi16(c: Cursor): number
280
+ local value = readi16(c.buf, c.offset)
281
+ c.offset += 2
282
+ return value
283
+ end
284
+
285
+ function Flare.readi32(c: Cursor): number
286
+ local value = readi32(c.buf, c.offset)
287
+ c.offset += 4
288
+ return value
289
+ end
290
+
291
+ function Flare.readf32(c: Cursor): number
292
+ local value = readf32(c.buf, c.offset)
293
+ c.offset += 4
294
+ return value
295
+ end
296
+
297
+ function Flare.readf64(c: Cursor): number
298
+ local value = readf64(c.buf, c.offset)
299
+ c.offset += 8
300
+ return value
301
+ end
302
+
303
+ function Flare.readbool(c: Cursor): boolean
304
+ return Flare.readu8(c) == 1
305
+ end
306
+
307
+ function Flare.readstring(c: Cursor): string
308
+ local n = readu16(c.buf, c.offset)
309
+ local value = readstring(c.buf, c.offset + 2, n)
310
+ c.offset += 2 + n
311
+ return value
312
+ end
313
+
314
+ function Flare.readVector3(c: Cursor): Vector3
315
+ local x = readf32(c.buf, c.offset)
316
+ local y = readf32(c.buf, c.offset + 4)
317
+ local z = readf32(c.buf, c.offset + 8)
318
+ c.offset += 12
319
+ return Vector3.new(x, y, z)
320
+ end
321
+
322
+ function Flare.readVector2(c: Cursor): Vector2
323
+ local x = readf32(c.buf, c.offset)
324
+ local y = readf32(c.buf, c.offset + 4)
325
+ c.offset += 8
326
+ return Vector2.new(x, y)
327
+ end
328
+
329
+ function Flare.readCFrame(c: Cursor): CFrame
330
+ local x = readf32(c.buf, c.offset)
331
+ local y = readf32(c.buf, c.offset + 4)
332
+ local z = readf32(c.buf, c.offset + 8)
333
+ local r00 = readf32(c.buf, c.offset + 12)
334
+ local r01 = readf32(c.buf, c.offset + 16)
335
+ local r02 = readf32(c.buf, c.offset + 20)
336
+ local r10 = readf32(c.buf, c.offset + 24)
337
+ local r11 = readf32(c.buf, c.offset + 28)
338
+ local r12 = readf32(c.buf, c.offset + 32)
339
+ local r20 = readf32(c.buf, c.offset + 36)
340
+ local r21 = readf32(c.buf, c.offset + 40)
341
+ local r22 = readf32(c.buf, c.offset + 44)
342
+ c.offset += 48
343
+ return CFrame.new(x, y, z, r00, r01, r02, r10, r11, r12, r20, r21, r22)
344
+ end
345
+
346
+ function Flare.readColor3(c: Cursor): Color3
347
+ local r = readu8(c.buf, c.offset)
348
+ local g = readu8(c.buf, c.offset + 1)
349
+ local b = readu8(c.buf, c.offset + 2)
350
+ c.offset += 3
351
+ return Color3.fromRGB(r, g, b)
352
+ end
353
+
354
+ function Flare.readUDim(c: Cursor): UDim
355
+ local scale = readf32(c.buf, c.offset)
356
+ local offset = readi32(c.buf, c.offset + 4)
357
+ c.offset += 8
358
+ return UDim.new(scale, offset)
359
+ end
360
+
361
+ function Flare.readUDim2(c: Cursor): UDim2
362
+ return UDim2.new(Flare.readUDim(c), Flare.readUDim(c))
363
+ end
364
+
365
+ function Flare.readBrickColor(c: Cursor): BrickColor
366
+ return BrickColor.new(Flare.readu16(c))
367
+ end
368
+
369
+ function Flare.readbuffer(c: Cursor): buffer
370
+ local n = readu16(c.buf, c.offset)
371
+ local copy = bufferCreate(n)
372
+ bufferCopy(copy, 0, c.buf, c.offset + 2, n)
373
+ c.offset += 2 + n
374
+ return copy
375
+ end
376
+
377
+ function Flare.readInstance(c: Cursor): Instance?
378
+ local slot = Flare.readu16(c)
379
+ return c.instances[slot]
380
+ end
381
+
382
+ local function remotes(host: ModuleScript)
383
+ local folder = host:FindFirstChild("Remotes")
384
+ if folder and folder:IsA("Folder") then
385
+ return folder
386
+ end
387
+ if RunService:IsServer() then
388
+ local created = Instance.new("Folder")
389
+ created.Name = "Remotes"
390
+ local reliable = Instance.new("RemoteEvent")
391
+ reliable.Name = "Reliable"
392
+ reliable.Parent = created
393
+ local unreliable = Instance.new("UnreliableRemoteEvent")
394
+ unreliable.Name = "Unreliable"
395
+ unreliable.Parent = created
396
+ local invoke = Instance.new("RemoteFunction")
397
+ invoke.Name = "Invoke"
398
+ invoke.Parent = created
399
+ created.Parent = host
400
+ return created
401
+ end
402
+ return host:WaitForChild("Remotes") :: Folder
403
+ end
404
+
405
+ local function packBatch(queue: { Queued }): (buffer, { Instance }, number)
406
+ local instances = {}
407
+ local instn = 0
408
+ local size = 2
409
+ for _, item in queue do
410
+ size += 1 + 2 + item.cursor.offset
411
+ local n = instanceCount(item.cursor)
412
+ for i = 1, n do
413
+ instn += 1
414
+ instances[instn] = item.cursor.instances[i]
415
+ end
416
+ end
417
+ if #queue > 65535 then
418
+ error("Flare batch exceeds 65535 packets")
419
+ end
420
+ local buf = bufferCreate(size)
421
+ writeu16(buf, 0, #queue)
422
+ local offset = 2
423
+ for _, item in queue do
424
+ if item.cursor.offset > 65535 then
425
+ error("Flare packet exceeds 65535 bytes")
426
+ end
427
+ writeu8(buf, offset, item.id)
428
+ writeu16(buf, offset + 1, item.cursor.offset)
429
+ bufferCopy(buf, offset + 3, item.cursor.buf, 0, item.cursor.offset)
430
+ offset += 3 + item.cursor.offset
431
+ end
432
+ return buf, instances, instn
433
+ end
434
+
435
+ local function fireRemote(remote: Instance, isServer: boolean, player: Player?, buf: buffer, instances: { Instance }, count: number)
436
+ if isServer then
437
+ if player then
438
+ (remote :: RemoteEvent):FireClient(player, buf, table.unpack(instances, 1, count))
439
+ else
440
+ (remote :: RemoteEvent):FireAllClients(buf, table.unpack(instances, 1, count))
441
+ end
442
+ else
443
+ (remote :: RemoteEvent):FireServer(buf, table.unpack(instances, 1, count))
444
+ end
445
+ end
446
+
447
+ function Flare.open(host: ModuleScript)
448
+ local folder = remotes(host)
449
+ local reliable = folder:WaitForChild("Reliable") :: RemoteEvent
450
+ local unreliable = folder:WaitForChild("Unreliable") :: UnreliableRemoteEvent
451
+ local invoke = folder:WaitForChild("Invoke") :: RemoteFunction
452
+ local isServer = RunService:IsServer()
453
+
454
+ local packetById: { [number]: PacketSpec } = {}
455
+ local queryById: { [number]: QuerySpec } = {}
456
+ local listeners: { [number]: { (any) -> () } } = {}
457
+ local queryHandlers: { [number]: (any) -> any } = {}
458
+
459
+ local clientQueueR: { Queued } = {}
460
+ local clientQueueU: { Queued } = {}
461
+ local serverQueueR: { [Player]: { Queued } } = {}
462
+ local serverQueueU: { [Player]: { Queued } } = {}
463
+ local broadcastR: { Queued } = {}
464
+ local broadcastU: { Queued } = {}
465
+
466
+ local function queueFor(reliableFlag: boolean, player: Player?): { Queued }
467
+ if isServer then
468
+ if player then
469
+ local map = if reliableFlag then serverQueueR else serverQueueU
470
+ local list = map[player]
471
+ if not list then
472
+ list = {}
473
+ map[player] = list
474
+ end
475
+ return list
476
+ end
477
+ return if reliableFlag then broadcastR else broadcastU
478
+ end
479
+ return if reliableFlag then clientQueueR else clientQueueU
480
+ end
481
+
482
+ local function flushList(remote: Instance, list: { Queued }, player: Player?)
483
+ if #list == 0 then
484
+ return
485
+ end
486
+ local buf, instances, instn = packBatch(list)
487
+ table.clear(list)
488
+ fireRemote(remote, isServer, player, buf, instances, instn)
489
+ end
490
+
491
+ local function forgetPlayer(player: Player)
492
+ serverQueueR[player] = nil
493
+ serverQueueU[player] = nil
494
+ end
495
+
496
+ local function callListener(cb: (any) -> (), player: Player?, ...)
497
+ if player then
498
+ cb(player, ...)
499
+ else
500
+ cb(...)
501
+ end
502
+ end
503
+
504
+ local function callHandler(handler: (any) -> any, player: Player, ...)
505
+ return handler(player, ...)
506
+ end
507
+
508
+ local function dispatch(fromPlayer: Player?, buf: buffer, instances: { Instance })
509
+ if fromPlayer then
510
+ if typeof(buf) ~= "buffer" then
511
+ Ward.Strike(fromPlayer, "flare:type")
512
+ return
513
+ end
514
+ if not Ward.Packet(fromPlayer, buffer.len(buf)) then
515
+ return
516
+ end
517
+ if not Ward.Allow(fromPlayer, "flare", 60, 120) then
518
+ return
519
+ end
520
+ end
521
+ local ok = pcall(function()
522
+ local incoming = fromBuffer(buf, instances)
523
+ local count = Flare.readu16(incoming)
524
+ if count > 64 then
525
+ if fromPlayer then
526
+ Ward.Strike(fromPlayer, "flare:batch")
527
+ end
528
+ return
529
+ end
530
+ for _ = 1, count do
531
+ local id = Flare.readu8(incoming)
532
+ local size = Flare.readu16(incoming)
533
+ if size > Ward.MaxPacketBytes then
534
+ if fromPlayer then
535
+ Ward.Strike(fromPlayer, "flare:size")
536
+ end
537
+ return
538
+ end
539
+ local payload = bufferCreate(size)
540
+ bufferCopy(payload, 0, incoming.buf, incoming.offset, size)
541
+ incoming.offset += size
542
+ local spec = packetById[id]
543
+ local cbs = listeners[id]
544
+ if spec and fromPlayer and spec.from ~= "client" then
545
+ Ward.Strike(fromPlayer, "flare:dir")
546
+ continue
547
+ end
548
+ if spec and cbs then
549
+ local inner = fromBuffer(payload, instances)
550
+ local values = table.pack(spec.read(inner))
551
+ for _, cb in cbs do
552
+ callListener(cb, fromPlayer, table.unpack(values, 1, values.n))
553
+ end
554
+ end
555
+ end
556
+ end)
557
+ if not ok and fromPlayer then
558
+ Ward.Strike(fromPlayer, "flare:decode")
559
+ end
560
+ end
561
+
562
+ if isServer then
563
+ reliable.OnServerEvent:Connect(function(player: Player, buf: buffer, ...: Instance)
564
+ dispatch(player, buf, table.pack(...) :: any)
565
+ end)
566
+ unreliable.OnServerEvent:Connect(function(player: Player, buf: buffer, ...: Instance)
567
+ dispatch(player, buf, table.pack(...) :: any)
568
+ end)
569
+ invoke.OnServerInvoke = function(player: Player, buf: buffer, ...: Instance)
570
+ if typeof(buf) ~= "buffer" then
571
+ Ward.Strike(player, "flare:query-type")
572
+ return bufferCreate(0)
573
+ end
574
+ if not Ward.Packet(player, buffer.len(buf)) then
575
+ return bufferCreate(0)
576
+ end
577
+ if not Ward.Allow(player, "flare:query", 10, 20) then
578
+ return bufferCreate(0)
579
+ end
580
+ local results = table.pack(pcall(function()
581
+ local incoming = fromBuffer(buf, table.pack(...) :: any)
582
+ local id = Flare.readu8(incoming)
583
+ local spec = queryById[id]
584
+ local handler = queryHandlers[id]
585
+ if not spec or not handler then
586
+ return bufferCreate(0)
587
+ end
588
+ local result = callHandler(handler, player, spec.readReq(incoming))
589
+ local out = spec.writeRes(cursor(16), result)
590
+ return sliceCursor(out), table.unpack(out.instances, 1, instanceCount(out))
591
+ end))
592
+ if results[1] ~= true then
593
+ Ward.Strike(player, "flare:query-decode")
594
+ return bufferCreate(0)
595
+ end
596
+ return table.unpack(results, 2, results.n)
597
+ end
598
+ Players.PlayerRemoving:Connect(forgetPlayer)
599
+ else
600
+ reliable.OnClientEvent:Connect(function(buf: buffer, ...: Instance)
601
+ dispatch(nil, buf, table.pack(...) :: any)
602
+ end)
603
+ unreliable.OnClientEvent:Connect(function(buf: buffer, ...: Instance)
604
+ dispatch(nil, buf, table.pack(...) :: any)
605
+ end)
606
+ end
607
+
608
+ RunService.Heartbeat:Connect(function()
609
+ if isServer then
610
+ flushList(reliable, broadcastR, nil)
611
+ flushList(unreliable, broadcastU, nil)
612
+ for player, list in serverQueueR do
613
+ flushList(reliable, list, player)
614
+ serverQueueR[player] = nil
615
+ end
616
+ for player, list in serverQueueU do
617
+ flushList(unreliable, list, player)
618
+ serverQueueU[player] = nil
619
+ end
620
+ else
621
+ flushList(reliable, clientQueueR, nil)
622
+ flushList(unreliable, clientQueueU, nil)
623
+ end
624
+ end)
625
+
626
+ local session = {}
627
+
628
+ function session.packet(spec: PacketSpec)
629
+ packetById[spec.id] = spec
630
+ local api = {}
631
+ local remote = if spec.reliable then reliable else unreliable
632
+
633
+ local function enqueue(player: Player?, ...)
634
+ local written = spec.write(cursor(32), ...)
635
+ local item = { id = spec.id, cursor = written }
636
+ if instanceCount(written) > 0 then
637
+ flushList(remote, { item }, player)
638
+ return
639
+ end
640
+ table.insert(queueFor(spec.reliable, player), item)
641
+ end
642
+
643
+ if spec.from == "client" then
644
+ function api.FireServer(...)
645
+ assert(not isServer, "FireServer is client-only")
646
+ enqueue(nil, ...)
647
+ end
648
+ else
649
+ function api.Fire(player: Player, ...)
650
+ assert(isServer, "Fire is server-only")
651
+ enqueue(player, ...)
652
+ end
653
+ function api.FireAll(...)
654
+ assert(isServer, "FireAll is server-only")
655
+ enqueue(nil, ...)
656
+ end
657
+ end
658
+
659
+ function api.Connect(callback: (any) -> ()): RBXScriptConnection
660
+ local list = listeners[spec.id]
661
+ if not list then
662
+ list = {}
663
+ listeners[spec.id] = list
664
+ end
665
+ table.insert(list, callback)
666
+ return {
667
+ Connected = true,
668
+ Disconnect = function(self)
669
+ self.Connected = false
670
+ local i = table.find(list, callback)
671
+ if i then
672
+ table.remove(list, i)
673
+ end
674
+ end,
675
+ } :: any
676
+ end
677
+
678
+ return api
679
+ end
680
+
681
+ function session.query(spec: QuerySpec)
682
+ queryById[spec.id] = spec
683
+ local api = {}
684
+
685
+ function api.Invoke(...)
686
+ if isServer then
687
+ error("query.Invoke is client-only")
688
+ end
689
+ local out = spec.writeReq(cursor(32), ...)
690
+ local buf = bufferCreate(1 + out.offset)
691
+ writeu8(buf, 0, spec.id)
692
+ bufferCopy(buf, 1, out.buf, 0, out.offset)
693
+ local packed = table.pack(invoke:InvokeServer(buf, table.unpack(out.instances, 1, instanceCount(out))))
694
+ local reply = packed[1]
695
+ local instances = {}
696
+ for i = 2, packed.n do
697
+ instances[i - 1] = packed[i]
698
+ end
699
+ if typeof(reply) ~= "buffer" then
700
+ return nil
701
+ end
702
+ return spec.readRes(fromBuffer(reply :: buffer, instances :: { Instance }))
703
+ end
704
+
705
+ function api.On(callback: (any) -> any)
706
+ assert(isServer, "query.On is server-only")
707
+ queryHandlers[spec.id] = callback
708
+ end
709
+
710
+ return api
711
+ end
712
+
713
+ return session
714
+ end
715
+
716
+ return Flare