@quenty/humanoidspeed 12.23.3 → 12.23.4-canary.11a5dcf.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,6 +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
+ ## [12.23.4-canary.11a5dcf.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/humanoidspeed@12.23.3...@quenty/humanoidspeed@12.23.4-canary.11a5dcf.0) (2025-05-10)
7
+
8
+
9
+ ### Features
10
+
11
+ * Add even more types ([b31717d](https://github.com/Quenty/NevermoreEngine/commit/b31717d8c9f7620c457f5018a2affa760a65334a))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [12.23.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/humanoidspeed@12.23.2...@quenty/humanoidspeed@12.23.3) (2025-04-10)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/humanoidspeed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/humanoidspeed",
3
- "version": "12.23.3",
3
+ "version": "12.23.4-canary.11a5dcf.0",
4
4
  "description": "Handles humanoid speed in a centralized location",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -27,16 +27,16 @@
27
27
  "Quenty"
28
28
  ],
29
29
  "dependencies": {
30
- "@quenty/baseobject": "^10.8.3",
31
- "@quenty/binder": "^14.19.3",
32
- "@quenty/characterutils": "^12.18.3",
33
- "@quenty/loader": "^10.8.3",
34
- "@quenty/promise": "^10.10.4",
35
- "@quenty/rogue-humanoid": "^10.23.3",
36
- "@quenty/table": "^3.7.4"
30
+ "@quenty/baseobject": "10.8.4-canary.11a5dcf.0",
31
+ "@quenty/binder": "14.19.4-canary.11a5dcf.0",
32
+ "@quenty/characterutils": "12.18.4-canary.11a5dcf.0",
33
+ "@quenty/loader": "10.8.4-canary.11a5dcf.0",
34
+ "@quenty/promise": "10.10.5-canary.11a5dcf.0",
35
+ "@quenty/rogue-humanoid": "10.23.4-canary.11a5dcf.0",
36
+ "@quenty/table": "3.7.5-canary.11a5dcf.0"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "b06c070ae91d5dab7bd8de6e290ad2caabb15d8f"
41
+ "gitHead": "11a5dcf7d4c7a0bfbf3337e97d30e8346ea09d3f"
42
42
  }
@@ -10,9 +10,9 @@ local BinderProvider = require("BinderProvider")
10
10
  return BinderProvider.new(script.Name, function(self, serviceBag)
11
11
  serviceBag:GetService(require("RogueHumanoidServiceClient"))
12
12
 
13
- --[=[
13
+ --[=[
14
14
  @prop HumanoidSpeed Binder<HumanoidSpeedClient>
15
15
  @within HumanoidSpeedBindersClient
16
16
  ]=]
17
17
  self:Add(serviceBag:GetService(require("HumanoidSpeedClient")))
18
- end)
18
+ end)
@@ -8,8 +8,8 @@
8
8
  local require = require(script.Parent.loader).load(script)
9
9
 
10
10
  local BaseObject = require("BaseObject")
11
- local CharacterUtils = require("CharacterUtils")
12
11
  local Binder = require("Binder")
12
+ local CharacterUtils = require("CharacterUtils")
13
13
 
14
14
  local HumanoidSpeedClient = setmetatable({}, BaseObject)
15
15
  HumanoidSpeedClient.ClassName = "HumanoidSpeedClient"
@@ -8,21 +8,30 @@
8
8
  local require = require(script.Parent.loader).load(script)
9
9
 
10
10
  local BaseObject = require("BaseObject")
11
- local RogueHumanoidProperties = require("RogueHumanoidProperties")
12
11
  local PlayerHumanoidBinder = require("PlayerHumanoidBinder")
12
+ local RogueHumanoidProperties = require("RogueHumanoidProperties")
13
+ local ServiceBag = require("ServiceBag")
13
14
 
14
15
  local HumanoidSpeed = setmetatable({}, BaseObject)
15
16
  HumanoidSpeed.ClassName = "HumanoidSpeed"
16
17
  HumanoidSpeed.__index = HumanoidSpeed
17
18
 
19
+ export type HumanoidSpeed = typeof(setmetatable(
20
+ {} :: {
21
+ _serviceBag: ServiceBag.ServiceBag,
22
+ _properties: any,
23
+ },
24
+ {} :: typeof({ __index = HumanoidSpeed })
25
+ )) & BaseObject.BaseObject
26
+
18
27
  --[=[
19
28
  Constructs a new HumanoidSpeed
20
29
  @param humanoid Humanoid
21
30
  @param serviceBag ServiceBag
22
31
  @return HumanoidSpeed
23
32
  ]=]
24
- function HumanoidSpeed.new(humanoid: Humanoid, serviceBag)
25
- local self = setmetatable(BaseObject.new(humanoid), HumanoidSpeed)
33
+ function HumanoidSpeed.new(humanoid: Humanoid, serviceBag: ServiceBag.ServiceBag): HumanoidSpeed
34
+ local self: HumanoidSpeed = setmetatable(BaseObject.new(humanoid) :: any, HumanoidSpeed)
26
35
 
27
36
  self._serviceBag = assert(serviceBag, "No serviceBag")
28
37
  self._properties = RogueHumanoidProperties:GetPropertyTable(self._serviceBag, self._obj)
@@ -61,4 +70,4 @@ function HumanoidSpeed:ApplySpeedAdditive(amount: number)
61
70
  return self._properties.WalkSpeed:CreateAdditive(amount)
62
71
  end
63
72
 
64
- return PlayerHumanoidBinder.new("HumanoidSpeed", HumanoidSpeed)
73
+ return PlayerHumanoidBinder.new("HumanoidSpeed", HumanoidSpeed)
@@ -10,9 +10,9 @@ local BinderProvider = require("BinderProvider")
10
10
  return BinderProvider.new(script.Name, function(self, serviceBag)
11
11
  serviceBag:GetService(require("RogueHumanoidService"))
12
12
 
13
- --[=[
13
+ --[=[
14
14
  @prop HumanoidSpeed Binder<HumanoidSpeed>
15
15
  @within HumanoidSpeedBindersServer
16
16
  ]=]
17
17
  self:Add(serviceBag:GetService(require("HumanoidSpeed")))
18
- end)
18
+ end)