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