mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-04 22:06:06 +02:00
View orange status users in current instance
This commit is contained in:
+34
-4
@@ -3873,9 +3873,17 @@ speechSynthesis.getVoices();
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.lastLocation.playerList = playerList;
|
if (this.isGameRunning) {
|
||||||
this.lastLocation.friendList = friendList;
|
this.lastLocation.playerList = playerList;
|
||||||
sharedRepository.setObject('last_location', this.lastLocation);
|
this.lastLocation.friendList = friendList;
|
||||||
|
sharedRepository.setObject('last_location', this.lastLocation);
|
||||||
|
}
|
||||||
|
if (this.worldDialog.visible) {
|
||||||
|
this.applyWorldDialogInstances();
|
||||||
|
}
|
||||||
|
if (this.userDialog.visible) {
|
||||||
|
this.applyUserDialogLocation();
|
||||||
|
}
|
||||||
this.sharedFeed.gameLog.wrist = wristArr;
|
this.sharedFeed.gameLog.wrist = wristArr;
|
||||||
this.sharedFeed.gameLog.noty = notyArr;
|
this.sharedFeed.gameLog.noty = notyArr;
|
||||||
this.sharedFeed.pendingUpdate = true;
|
this.sharedFeed.pendingUpdate = true;
|
||||||
@@ -5520,7 +5528,9 @@ speechSynthesis.getVoices();
|
|||||||
this.lastLocation = {
|
this.lastLocation = {
|
||||||
date: Date.parse(gameLog.dt),
|
date: Date.parse(gameLog.dt),
|
||||||
location: gameLog.location,
|
location: gameLog.location,
|
||||||
name: gameLog.worldName
|
name: gameLog.worldName,
|
||||||
|
playerList: [],
|
||||||
|
friendList: []
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
tableData = {
|
tableData = {
|
||||||
@@ -7436,6 +7446,16 @@ speechSynthesis.getVoices();
|
|||||||
users.push((typeof ref === 'undefined')
|
users.push((typeof ref === 'undefined')
|
||||||
? API.currentUser
|
? API.currentUser
|
||||||
: ref);
|
: ref);
|
||||||
|
var playersInInstance = this.lastLocation.friendList;
|
||||||
|
for (var i = 0; i < playersInInstance.length; i++) {
|
||||||
|
var player = playersInInstance[i];
|
||||||
|
for (var ref of API.cachedUsers.values()) {
|
||||||
|
if (ref.displayName === player) {
|
||||||
|
users.push(ref);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
users.sort(compareByDisplayName);
|
users.sort(compareByDisplayName);
|
||||||
D.users = users;
|
D.users = users;
|
||||||
@@ -7960,6 +7980,16 @@ speechSynthesis.getVoices();
|
|||||||
instance.users.push((typeof ref === 'undefined')
|
instance.users.push((typeof ref === 'undefined')
|
||||||
? API.currentUser
|
? API.currentUser
|
||||||
: ref);
|
: ref);
|
||||||
|
var playersInInstance = this.lastLocation.friendList;
|
||||||
|
for (var i = 0; i < playersInInstance.length; i++) {
|
||||||
|
var player = playersInInstance[i];
|
||||||
|
for (var ref of API.cachedUsers.values()) {
|
||||||
|
if (ref.displayName === player) {
|
||||||
|
instance.users.push(ref);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var rooms = [];
|
var rooms = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user