steamutils 1.0.78 → 1.0.79
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/SteamClient.js +10 -0
- package/package.json +1 -1
package/SteamClient.js
CHANGED
@@ -845,6 +845,16 @@ function SteamClient({
|
|
845
845
|
steamID, message
|
846
846
|
})
|
847
847
|
});
|
848
|
+
|
849
|
+
steamClient.on('playingState', async function (playing_blocked, playing_app) {
|
850
|
+
if(playing_app === 0){
|
851
|
+
playing_app = null
|
852
|
+
}
|
853
|
+
if (playing_blocked) {//true, false
|
854
|
+
console.log("Playing else where")
|
855
|
+
}
|
856
|
+
log('playingState', playing_blocked, playing_app);
|
857
|
+
});
|
848
858
|
}
|
849
859
|
|
850
860
|
function sendFriendTyping(steamId, callback) {
|