mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-14 04:13:52 +02:00
n_users -> userCount
This commit is contained in:
@@ -1245,7 +1245,7 @@ speechSynthesis.getVoices();
|
||||
this.closedAt = this.instance.closedAt;
|
||||
}
|
||||
this.isHardClosed = this.instance.hardClose === true;
|
||||
this.occupants = this.instance.n_users;
|
||||
this.occupants = this.instance.userCount;
|
||||
if (this.location === $app.lastLocation.location) {
|
||||
// use gameLog for occupants when in same location
|
||||
this.occupants = $app.lastLocation.playerList.size;
|
||||
@@ -2793,7 +2793,7 @@ speechSynthesis.getVoices();
|
||||
hasCapacityForYou: true, // not present depending on endpoint
|
||||
capacity: 0,
|
||||
recommendedCapacity: 0,
|
||||
userCount: 0, // PC only?
|
||||
userCount: 0,
|
||||
queueEnabled: false, // only present with group instance type
|
||||
queueSize: 0, // only present when queuing is enabled
|
||||
platforms: {},
|
||||
@@ -19615,7 +19615,7 @@ speechSynthesis.getVoices();
|
||||
}
|
||||
// sort by number of users when no friends in instance
|
||||
if (a.users.length === 0 && b.users.length === 0) {
|
||||
if (a.ref?.n_users < b.ref?.n_users) {
|
||||
if (a.ref?.userCount < b.ref?.userCount) {
|
||||
return 1;
|
||||
}
|
||||
return -1;
|
||||
@@ -19773,7 +19773,7 @@ speechSynthesis.getVoices();
|
||||
}
|
||||
// sort by number of users when no friends in instance
|
||||
if (a.users.length === 0 && b.users.length === 0) {
|
||||
if (a.ref?.n_users < b.ref?.n_users) {
|
||||
if (a.ref?.userCount < b.ref?.userCount) {
|
||||
return 1;
|
||||
}
|
||||
return -1;
|
||||
|
||||
@@ -200,7 +200,7 @@ html
|
||||
.detail
|
||||
span.name
|
||||
span(v-text="ref.group.name")
|
||||
span(style="font-weight:normal;margin-left:5px") ({{ ref.instance.n_users }}/{{ ref.instance.capacity }})
|
||||
span(style="font-weight:normal;margin-left:5px") ({{ ref.instance.userCount }}/{{ ref.instance.capacity }})
|
||||
location.extra(:location="ref.instance.location" :link="false")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user