steamutils 1.1.56 → 1.1.57
Sign up to get free protection for your applications and to get access to all the features.
- 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
|
}
|