steamutils 1.1.56 → 1.1.57
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 +4 -2
- package/package.json +1 -1
package/SteamClient.js
CHANGED
|
@@ -100,6 +100,7 @@ function SteamClient({
|
|
|
100
100
|
disconnected: [],
|
|
101
101
|
error: [],
|
|
102
102
|
playersProfile: [],
|
|
103
|
+
partyInvite: [],
|
|
103
104
|
}
|
|
104
105
|
|
|
105
106
|
const gcCallback = {}
|
|
@@ -416,7 +417,8 @@ function SteamClient({
|
|
|
416
417
|
if (player_name === undefined) {
|
|
417
418
|
log(sid64, personas);
|
|
418
419
|
}
|
|
419
|
-
|
|
420
|
+
callEvent(events.partyInvite, {player_name, steamId: sid64})
|
|
421
|
+
// log(player_name, `https://steamcommunity.com/profiles/${sid64}`);
|
|
420
422
|
// joinLobby(msg.lobbyid, msg.accountid)
|
|
421
423
|
break
|
|
422
424
|
}
|
|
@@ -446,7 +448,7 @@ function SteamClient({
|
|
|
446
448
|
break
|
|
447
449
|
}
|
|
448
450
|
default: {
|
|
449
|
-
log("cache_object.type_id", cache_object.type_id);
|
|
451
|
+
// log("cache_object.type_id", cache_object.type_id);
|
|
450
452
|
}
|
|
451
453
|
}
|
|
452
454
|
}
|