steamutils 1.2.73 → 1.2.74
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 +5 -1
- package/package.json +1 -1
package/SteamClient.js
CHANGED
@@ -101,6 +101,7 @@ function SteamClient({
|
|
101
101
|
let playingBlocked = null
|
102
102
|
const richPresence = {}
|
103
103
|
let sendMessageTimestamp = 0
|
104
|
+
let lastTimePartyRegister = null
|
104
105
|
|
105
106
|
const onAnyCallbacks = []
|
106
107
|
|
@@ -1387,7 +1388,7 @@ function SteamClient({
|
|
1387
1388
|
}
|
1388
1389
|
|
1389
1390
|
function _partyRegister(prime) {
|
1390
|
-
|
1391
|
+
lastTimePartyRegister = new Date().getTime()
|
1391
1392
|
steamClient.sendToGC(730, Protos.csgo.ECsgoGCMsg.k_EMsgGCCStrike15_v2_Party_Register, {}, protoEncode(Protos.csgo.CMsgGCCStrike15_v2_Party_Register, {
|
1392
1393
|
// id : 0,
|
1393
1394
|
ver: CSGO_VER,
|
@@ -1717,6 +1718,9 @@ function SteamClient({
|
|
1717
1718
|
return steamClient.steamID.getSteamID64()
|
1718
1719
|
} catch (e) {
|
1719
1720
|
}
|
1721
|
+
},
|
1722
|
+
getLastTimePartyRegister(){
|
1723
|
+
return lastTimePartyRegister
|
1720
1724
|
}
|
1721
1725
|
}
|
1722
1726
|
}
|