@quenty/scoredactionservice 16.44.0 → 16.45.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 +10 -0
- package/package.json +10 -10
- package/src/Client/InputList/InputListScoreHelper.lua +25 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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
|
+
# [16.45.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/scoredactionservice@16.44.1...@quenty/scoredactionservice@16.45.0) (2026-07-14)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **scoredactionservice:** convert package to --!strict ([db2a234](https://github.com/Quenty/NevermoreEngine/commit/db2a23465b7ef38735fabad5cc6cf80e218e264c))
|
|
11
|
+
|
|
12
|
+
## [16.44.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/scoredactionservice@16.44.0...@quenty/scoredactionservice@16.44.1) (2026-05-30)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @quenty/scoredactionservice
|
|
15
|
+
|
|
6
16
|
# [16.44.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/scoredactionservice@16.43.0...@quenty/scoredactionservice@16.44.0) (2026-05-29)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @quenty/scoredactionservice
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/scoredactionservice",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.45.0",
|
|
4
4
|
"description": "Scores actions and picks the highest rated one every frame",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -30,20 +30,20 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@quenty/baseobject": "10.13.0",
|
|
33
|
-
"@quenty/brio": "14.30.
|
|
34
|
-
"@quenty/inputkeymaputils": "14.
|
|
35
|
-
"@quenty/inputmode": "13.
|
|
33
|
+
"@quenty/brio": "14.30.1",
|
|
34
|
+
"@quenty/inputkeymaputils": "14.44.0",
|
|
35
|
+
"@quenty/inputmode": "13.35.0",
|
|
36
36
|
"@quenty/loader": "10.11.0",
|
|
37
37
|
"@quenty/maid": "3.9.0",
|
|
38
|
-
"@quenty/rx": "13.28.
|
|
39
|
-
"@quenty/servicebag": "11.18.
|
|
40
|
-
"@quenty/signal": "7.13.
|
|
41
|
-
"@quenty/statestack": "14.32.
|
|
38
|
+
"@quenty/rx": "13.28.3",
|
|
39
|
+
"@quenty/servicebag": "11.18.1",
|
|
40
|
+
"@quenty/signal": "7.13.1",
|
|
41
|
+
"@quenty/statestack": "14.32.1",
|
|
42
42
|
"@quenty/table": "3.9.2",
|
|
43
|
-
"@quenty/valueobject": "13.31.
|
|
43
|
+
"@quenty/valueobject": "13.31.1"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "13f0162f4971a77378e55e9b7236aea94f0dd3a8"
|
|
49
49
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
--!
|
|
1
|
+
--!strict
|
|
2
2
|
--[=[
|
|
3
3
|
Distributes the scored action to the correct providers based upon input mode
|
|
4
4
|
@class InputListScoreHelper
|
|
@@ -17,8 +17,26 @@ local InputListScoreHelper = setmetatable({}, BaseObject)
|
|
|
17
17
|
InputListScoreHelper.ClassName = "InputListScoreHelper"
|
|
18
18
|
InputListScoreHelper.__index = InputListScoreHelper
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
export type InputListScoreHelper =
|
|
21
|
+
typeof(setmetatable(
|
|
22
|
+
{} :: {
|
|
23
|
+
_serviceBag: ServiceBag.ServiceBag,
|
|
24
|
+
_provider: any,
|
|
25
|
+
_scoredAction: any,
|
|
26
|
+
_inputKeyMapList: InputKeyMapList.InputKeyMapList,
|
|
27
|
+
_currentTypes: Set.Set<any>,
|
|
28
|
+
},
|
|
29
|
+
{} :: typeof({ __index = InputListScoreHelper })
|
|
30
|
+
))
|
|
31
|
+
& BaseObject.BaseObject
|
|
32
|
+
|
|
33
|
+
function InputListScoreHelper.new(
|
|
34
|
+
serviceBag: ServiceBag.ServiceBag,
|
|
35
|
+
provider: any,
|
|
36
|
+
scoredAction: any,
|
|
37
|
+
inputKeyMapList: InputKeyMapList.InputKeyMapList
|
|
38
|
+
): InputListScoreHelper
|
|
39
|
+
local self: InputListScoreHelper = setmetatable(BaseObject.new() :: any, InputListScoreHelper)
|
|
22
40
|
|
|
23
41
|
self._serviceBag = assert(serviceBag, "No serviceBag")
|
|
24
42
|
self._provider = assert(provider, "No provider")
|
|
@@ -29,9 +47,9 @@ function InputListScoreHelper.new(serviceBag: ServiceBag.ServiceBag, provider, s
|
|
|
29
47
|
|
|
30
48
|
self._currentTypes = {}
|
|
31
49
|
|
|
32
|
-
self._maid:GiveTask(InputKeyMapListUtils.observeActiveInputKeyMap(self._inputKeyMapList, self._serviceBag)
|
|
50
|
+
self._maid:GiveTask((InputKeyMapListUtils.observeActiveInputKeyMap(self._inputKeyMapList, self._serviceBag) :: any)
|
|
33
51
|
:Pipe({
|
|
34
|
-
Rx.switchMap(function(activeInputKeyMap)
|
|
52
|
+
Rx.switchMap(function(activeInputKeyMap): any
|
|
35
53
|
if activeInputKeyMap then
|
|
36
54
|
return activeInputKeyMap:ObserveInputTypesList()
|
|
37
55
|
else
|
|
@@ -57,7 +75,7 @@ function InputListScoreHelper.new(serviceBag: ServiceBag.ServiceBag, provider, s
|
|
|
57
75
|
return self
|
|
58
76
|
end
|
|
59
77
|
|
|
60
|
-
function InputListScoreHelper
|
|
78
|
+
function InputListScoreHelper._updateInputTypeSet(self: InputListScoreHelper, inputTypeList: { any }): ()
|
|
61
79
|
local remaining = Set.copy(self._currentTypes)
|
|
62
80
|
|
|
63
81
|
-- Register inputTypes
|
|
@@ -81,7 +99,7 @@ function InputListScoreHelper:_updateInputTypeSet(inputTypeList)
|
|
|
81
99
|
end
|
|
82
100
|
end
|
|
83
101
|
|
|
84
|
-
function InputListScoreHelper
|
|
102
|
+
function InputListScoreHelper._unregisterAction(self: InputListScoreHelper, inputType: any): ()
|
|
85
103
|
if not self.Destroy then
|
|
86
104
|
return
|
|
87
105
|
end
|