@quenty/actionmanager 13.19.4 → 13.19.5-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
+ ## [13.19.5-canary.11a5dcf.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/actionmanager@13.19.4...@quenty/actionmanager@13.19.5-canary.11a5dcf.0) (2025-05-10)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Additional type checking updates ([05ba29a](https://github.com/Quenty/NevermoreEngine/commit/05ba29a03efc9f3feed74b34f1d9dfb237496214))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [13.19.4](https://github.com/Quenty/NevermoreEngine/compare/@quenty/actionmanager@13.19.3...@quenty/actionmanager@13.19.4) (2025-04-16)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/actionmanager
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/actionmanager",
3
- "version": "13.19.4",
3
+ "version": "13.19.5-canary.11a5dcf.0",
4
4
  "description": "Holds single toggleable actions (like a tool system)",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,14 +25,14 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/enabledmixin": "^11.12.3",
29
- "@quenty/loader": "^10.8.3",
30
- "@quenty/maid": "^3.4.3",
31
- "@quenty/signal": "^7.10.3",
32
- "@quenty/valueobject": "^13.17.3"
28
+ "@quenty/enabledmixin": "11.12.4-canary.11a5dcf.0",
29
+ "@quenty/loader": "10.8.4-canary.11a5dcf.0",
30
+ "@quenty/maid": "3.4.4-canary.11a5dcf.0",
31
+ "@quenty/signal": "7.10.4-canary.11a5dcf.0",
32
+ "@quenty/valueobject": "13.17.4-canary.11a5dcf.0"
33
33
  },
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "gitHead": "1419b0e14afe1ec682c03ae48170b002c723af4e"
37
+ "gitHead": "11a5dcf7d4c7a0bfbf3337e97d30e8346ea09d3f"
38
38
  }
@@ -12,11 +12,11 @@ local require = require(script.Parent.loader).load(script)
12
12
 
13
13
  local ContextActionService = game:GetService("ContextActionService")
14
14
 
15
- local ValueObject = require("ValueObject")
16
- local Signal = require("Signal")
17
15
  local Maid = require("Maid")
16
+ local Signal = require("Signal")
17
+ local ValueObject = require("ValueObject")
18
18
 
19
- local ActionManager = setmetatable({}, {})
19
+ local ActionManager = {}
20
20
  ActionManager.__index = ActionManager
21
21
  ActionManager.ClassName = "ActionManager"
22
22
 
@@ -50,7 +50,12 @@ function ActionManager.new()
50
50
 
51
51
  -- Immediately deactivate
52
52
  if value and not value.IsActivatedValue.Value then
53
- warn(string.format("[ActionManager.ActiveAction.Changed] - Immediate deactivation of %q", tostring(value:GetName())))
53
+ warn(
54
+ string.format(
55
+ "[ActionManager.ActiveAction.Changed] - Immediate deactivation of %q",
56
+ tostring(value:GetName())
57
+ )
58
+ )
54
59
  self.ActiveAction.Value = nil
55
60
  end
56
61
  end))
@@ -12,9 +12,9 @@ local require = require(script.Parent.loader).load(script)
12
12
 
13
13
  local ContextActionService = game:GetService("ContextActionService")
14
14
 
15
- local Signal = require("Signal")
16
- local Maid = require("Maid")
17
15
  local EnabledMixin = require("EnabledMixin")
16
+ local Maid = require("Maid")
17
+ local Signal = require("Signal")
18
18
  local ValueObject = require("ValueObject")
19
19
 
20
20
  local BaseAction = {}
@@ -51,7 +51,6 @@ function BaseAction.new(actionData)
51
51
 
52
52
  self:_withActionData(actionData)
53
53
 
54
-
55
54
  return self
56
55
  end
57
56
 
@@ -113,10 +112,10 @@ function BaseAction:GetData()
113
112
  end
114
113
 
115
114
  function BaseAction:ToggleActivate(...)
116
- self._activateData = {...}
115
+ self._activateData = { ... }
117
116
 
118
117
  if self:IsEnabled() then
119
- self.IsActivatedValue.Value = not (self.IsActivatedValue.Value)
118
+ self.IsActivatedValue.Value = not self.IsActivatedValue.Value
120
119
  else
121
120
  warn("[BaseAction.ToggleActivate] - Not activating, not enabled")
122
121
  self.IsActivatedValue.Value = false
@@ -132,7 +131,7 @@ function BaseAction:Deactivate()
132
131
  end
133
132
 
134
133
  function BaseAction:Activate(...)
135
- self._activateData = {...}
134
+ self._activateData = { ... }
136
135
 
137
136
  if self:IsEnabled() then
138
137
  self.IsActivatedValue.Value = true
@@ -147,4 +146,4 @@ function BaseAction:Destroy()
147
146
  setmetatable(self, nil)
148
147
  end
149
148
 
150
- return BaseAction
149
+ return BaseAction