steamutils 1.1.58 → 1.1.59
Sign up to get free protection for your applications and to get access to all the features.
- package/SteamClient.js +2 -0
- package/package.json +1 -1
package/SteamClient.js
CHANGED
@@ -102,6 +102,7 @@ function SteamClient({
|
|
102
102
|
error: [],
|
103
103
|
playersProfile: [],
|
104
104
|
partyInvite: [],
|
105
|
+
friendRelationship: [],
|
105
106
|
}
|
106
107
|
|
107
108
|
const gcCallback = {}
|
@@ -884,6 +885,7 @@ function SteamClient({
|
|
884
885
|
});
|
885
886
|
|
886
887
|
steamClient.on('friendRelationship', async function (sid, relationship, previousRelationship) {
|
888
|
+
callEvent(events.friendRelationship, {steamId: sid, relationship, previousRelationship})
|
887
889
|
switch (relationship) {
|
888
890
|
case EFriendRelationship.None: {
|
889
891
|
//we got unfriended.
|