@quenty/spawning 10.22.4-canary.559.339cfa7.0 → 10.23.0-canary.0a5db80.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 CHANGED
@@ -3,25 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [10.22.4-canary.559.339cfa7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/spawning@10.22.3...@quenty/spawning@10.22.4-canary.559.339cfa7.0) (2025-05-10)
6
+ # [10.23.0-canary.0a5db80.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/spawning@10.22.2...@quenty/spawning@10.23.0-canary.0a5db80.0) (2025-05-10)
7
7
 
8
8
 
9
9
  ### Bug Fixes
10
10
 
11
- * Additional type checking updates ([05ba29a](https://github.com/Quenty/NevermoreEngine/commit/05ba29a03efc9f3feed74b34f1d9dfb237496214))
11
+ * Additional type checking updates ([7e008c5](https://github.com/Quenty/NevermoreEngine/commit/7e008c58547bd00b5904e56541454a38c8d72ccc))
12
12
 
13
13
 
14
14
  ### Features
15
15
 
16
- * Add even more types ([b31717d](https://github.com/Quenty/NevermoreEngine/commit/b31717d8c9f7620c457f5018a2affa760a65334a))
17
-
18
-
19
-
20
-
21
-
22
- ## [10.22.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/spawning@10.22.2...@quenty/spawning@10.22.3) (2025-04-10)
23
-
24
- **Note:** Version bump only for package @quenty/spawning
16
+ * Add even more types ([0a5db80](https://github.com/Quenty/NevermoreEngine/commit/0a5db8004684dc3e76fd5944599a22602d48cfa9))
25
17
 
26
18
 
27
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/spawning",
3
- "version": "10.22.4-canary.559.339cfa7.0",
3
+ "version": "10.23.0-canary.0a5db80.0",
4
4
  "description": "Centralized spawning system",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -24,16 +24,16 @@
24
24
  "Quenty"
25
25
  ],
26
26
  "dependencies": {
27
- "@quenty/binder": "14.19.4-canary.559.339cfa7.0",
28
- "@quenty/cmdrservice": "13.22.4-canary.559.339cfa7.0",
29
- "@quenty/loader": "10.8.4-canary.559.339cfa7.0",
30
- "@quenty/maid": "3.4.4-canary.559.339cfa7.0",
31
- "@quenty/randomutils": "6.10.4-canary.559.339cfa7.0",
32
- "@quenty/servicebag": "11.11.5-canary.559.339cfa7.0",
27
+ "@quenty/binder": "14.20.0-canary.0a5db80.0",
28
+ "@quenty/cmdrservice": "13.23.0-canary.0a5db80.0",
29
+ "@quenty/loader": "10.9.0-canary.0a5db80.0",
30
+ "@quenty/maid": "3.5.0-canary.0a5db80.0",
31
+ "@quenty/randomutils": "6.11.0-canary.0a5db80.0",
32
+ "@quenty/servicebag": "11.12.0-canary.0a5db80.0",
33
33
  "@quentystudios/t": "^3.0.0"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "339cfa778736f08768ed7305041f6221faa35bfc"
38
+ "gitHead": "0a5db8004684dc3e76fd5944599a22602d48cfa9"
39
39
  }
@@ -16,4 +16,4 @@ function SpawnServiceClient:Init(serviceBag: ServiceBag.ServiceBag)
16
16
  self._serviceBag:GetService(require("CmdrServiceClient"))
17
17
  end
18
18
 
19
- return SpawnServiceClient
19
+ return SpawnServiceClient
@@ -8,6 +8,7 @@ local BinderGroup = require("BinderGroup")
8
8
  local t = require("t")
9
9
 
10
10
  return require("BinderGroupProvider").new(function(self, _serviceBag)
11
+
11
12
  -- SpawnProvider
12
13
  -- self:Add("SpawnProviders", BinderGroup.new(
13
14
  -- {
@@ -18,14 +19,12 @@ return require("BinderGroupProvider").new(function(self, _serviceBag)
18
19
  -- ))
19
20
 
20
21
  -- Item / asset spawning
21
- self:Add(
22
- "Spawners",
23
- BinderGroup.new(
24
- {},
25
- t.interface({
26
- SpawnUpdate = t.callback,
27
- Regenerate = t.callback,
28
- })
29
- )
30
- )
31
- end)
22
+ self:Add("Spawners", BinderGroup.new(
23
+ {
24
+ },
25
+ t.interface({
26
+ SpawnUpdate = t.callback;
27
+ Regenerate = t.callback;
28
+ })
29
+ ))
30
+ end)
@@ -17,11 +17,11 @@ function SpawnCmdrService:Init(serviceBag: ServiceBag.ServiceBag)
17
17
  self._cmdrService = self._serviceBag:GetService(require("CmdrService"))
18
18
 
19
19
  self._cmdrService:RegisterCommand({
20
- Name = "regen",
21
- Aliases = {},
22
- Description = "Forces all spawners to regenerate.",
23
- Group = "Spawn",
24
- Args = {},
20
+ Name = "regen";
21
+ Aliases = {};
22
+ Description = "Forces all spawners to regenerate.";
23
+ Group = "Spawn";
24
+ Args = {};
25
25
  }, function(_context)
26
26
  self._spawnService:Regenerate()
27
27
 
@@ -29,4 +29,4 @@ function SpawnCmdrService:Init(serviceBag: ServiceBag.ServiceBag)
29
29
  end)
30
30
  end
31
31
 
32
- return SpawnCmdrService
32
+ return SpawnCmdrService
@@ -7,8 +7,8 @@ local require = require(script.Parent.loader).load(script)
7
7
 
8
8
  local RunService = game:GetService("RunService")
9
9
 
10
- local Maid = require("Maid")
11
10
  local RandomUtils = require("RandomUtils")
11
+ local Maid = require("Maid")
12
12
  local ServiceBag = require("ServiceBag")
13
13
 
14
14
  local UPDATE_PERIOD_SEC = 5
@@ -78,13 +78,7 @@ function SpawnService:Update()
78
78
 
79
79
  if (os.clock() - classStartTime) >= MAX_BUDGET_PER_CLASS then
80
80
  if WARN_ON_CLASS_BUDGET_EXHAUST then
81
- warn(
82
- string.format(
83
- "[SpawnService.Update] - Class %q ran out of execution budget at %0.4f ms",
84
- binder:GetTag(),
85
- (os.clock() - classStartTime) * 1000
86
- )
87
- )
81
+ warn(string.format("[SpawnService.Update] - Class %q ran out of execution budget at %0.4f ms", binder:GetTag(), (os.clock() - classStartTime)*1000))
88
82
  end
89
83
  break
90
84
  end
@@ -93,13 +87,7 @@ function SpawnService:Update()
93
87
 
94
88
  -- watch dog
95
89
  if (os.clock() - startTime) >= TOTAL_BUDGET_BEFORE_WARN then
96
- warn(
97
- string.format(
98
- "[SpawnService.Update] - Update time: %0.4f ms for %d spawners",
99
- (os.clock() - startTime) * 1000,
100
- spawnerCount
101
- )
102
- )
90
+ warn(string.format("[SpawnService.Update] - Update time: %0.4f ms for %d spawners", (os.clock() - startTime)*1000, spawnerCount))
103
91
  end
104
92
 
105
93
  debug.profileend()
@@ -110,4 +98,4 @@ function SpawnService:Destroy()
110
98
  self._maid = nil
111
99
  end
112
100
 
113
- return SpawnService
101
+ return SpawnService
@@ -9,10 +9,7 @@ local Raycaster = require("Raycaster")
9
9
 
10
10
  local SpawnerUtils = {}
11
11
 
12
- function SpawnerUtils.getSpawnLocation(
13
- spawnPart: BasePart,
14
- raycaster: Raycaster.Raycaster
15
- ): (Vector3, Raycaster.RaycastData?)
12
+ function SpawnerUtils.getSpawnLocation(spawnPart: BasePart, raycaster: Raycaster.Raycaster): (Vector3, Raycaster.RaycastData?)
16
13
  local size = spawnPart.Size
17
14
  local sy = size.Y
18
15
 
@@ -21,7 +18,7 @@ function SpawnerUtils.getSpawnLocation(
21
18
 
22
19
  local point = spawnPart.CFrame:PointToWorldSpace(Vector3.new(ox, sy / 2, oz))
23
20
 
24
- local ray = Ray.new(point, Vector3.new(0, -sy * 2, 0))
21
+ local ray = Ray.new(point, Vector3.new(0, -sy*2, 0))
25
22
 
26
23
  local data = raycaster:FindPartOnRay(ray)
27
24
  if not data then
@@ -31,4 +28,4 @@ function SpawnerUtils.getSpawnLocation(
31
28
  return data.Position, data
32
29
  end
33
30
 
34
- return SpawnerUtils
31
+ return SpawnerUtils