@quenty/playerutils 8.23.1 → 8.24.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 +11 -0
- package/package.json +2 -2
- package/src/Shared/RxPlayerUtils.lua +11 -0
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
|
+
# [8.24.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/playerutils@8.23.1...@quenty/playerutils@8.24.0) (2026-01-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Add RxPlayerUtils.observeLocalPlayerHumanoidBrio(): ([6c80613](https://github.com/Quenty/NevermoreEngine/commit/6c80613f43312461b4648e7fd2c5572a51ed93ea))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [8.23.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/playerutils@8.23.0...@quenty/playerutils@8.23.1) (2026-01-10)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/playerutils
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/playerutils",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.24.0",
|
|
4
4
|
"description": "Player utility functions",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"@quenty/promise": "^10.12.5",
|
|
40
40
|
"@quenty/rx": "^13.21.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "81c784a368ebbb258d918ada6b7e359c2c9dd4a3"
|
|
43
43
|
}
|
|
@@ -87,6 +87,17 @@ function RxPlayerUtils.observeLocalPlayerBrio(): Observable.Observable<Brio.Brio
|
|
|
87
87
|
end)
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
+
--[=[
|
|
91
|
+
Observes the current local player's humanoid
|
|
92
|
+
]=]
|
|
93
|
+
function RxPlayerUtils.observeLocalPlayerHumanoidBrio(): Observable.Observable<Brio.Brio<Player>>
|
|
94
|
+
return RxPlayerUtils.observeLocalPlayerBrio():Pipe({
|
|
95
|
+
RxBrioUtils.switchMapBrio(function(player)
|
|
96
|
+
return RxCharacterUtils.observeLastHumanoidBrio(player)
|
|
97
|
+
end) :: any,
|
|
98
|
+
}) :: any
|
|
99
|
+
end
|
|
100
|
+
|
|
90
101
|
--[=[
|
|
91
102
|
Observe players as they're added, and as they are.
|
|
92
103
|
@param predicate ((Player) -> boolean)?
|