mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-14 04:13:52 +02:00
v2019.09.23
This commit is contained in:
51
html/app.js
51
html/app.js
@@ -3175,6 +3175,35 @@ if (window.CefSharp) {
|
||||
});
|
||||
break;
|
||||
|
||||
case 'friend-location':
|
||||
if (content.world) {
|
||||
API.$emit('WORLD', {
|
||||
param: {
|
||||
worldId: content.world.id
|
||||
},
|
||||
json: content.world
|
||||
});
|
||||
}
|
||||
if (content.userId === API.currentUser.id) {
|
||||
API.$emit('USER', {
|
||||
param: {
|
||||
userId: content.userId
|
||||
},
|
||||
json: content.user
|
||||
});
|
||||
} else {
|
||||
API.$emit('USER', {
|
||||
param: {
|
||||
userId: content.userId
|
||||
},
|
||||
json: {
|
||||
location: content.location,
|
||||
...content.user
|
||||
}
|
||||
});
|
||||
}
|
||||
break;
|
||||
|
||||
case 'user-update':
|
||||
API.$emit('USER:CURRENT', {
|
||||
param: {
|
||||
@@ -3183,6 +3212,26 @@ if (window.CefSharp) {
|
||||
json: content.user
|
||||
});
|
||||
break;
|
||||
|
||||
case 'user-location':
|
||||
if (content.world) {
|
||||
API.$emit('WORLD', {
|
||||
param: {
|
||||
worldId: content.world.id
|
||||
},
|
||||
json: content.world
|
||||
});
|
||||
}
|
||||
API.$emit('USER', {
|
||||
param: {
|
||||
userId: content.userId
|
||||
},
|
||||
json: {
|
||||
id: content.userId,
|
||||
location: content.location
|
||||
}
|
||||
});
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -3414,7 +3463,7 @@ if (window.CefSharp) {
|
||||
VRCX,
|
||||
nextRefresh: 0,
|
||||
isGameRunning: false,
|
||||
appVersion: '2019.09.04',
|
||||
appVersion: '2019.09.23',
|
||||
latestAppVersion: '',
|
||||
ossDialog: false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user