steamutils 1.0.32 → 1.0.33
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 +6 -0
- package/package.json +1 -1
package/SteamClient.js
CHANGED
@@ -792,6 +792,12 @@ function SteamClient({
|
|
792
792
|
playCSGO,
|
793
793
|
setInterval(cb, timeout){
|
794
794
|
intervals.push(setInterval(cb, timeout))
|
795
|
+
},
|
796
|
+
async gamesPlayed(apps){
|
797
|
+
steamClient.gamesPlayed(apps);
|
798
|
+
await sleep(2000)
|
799
|
+
steamClient.setPersona(SteamUser.EPersonaState.LookingToPlay)
|
800
|
+
sendHello()
|
795
801
|
}
|
796
802
|
}
|
797
803
|
}
|