mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-03 13:36:04 +02:00
Discord RPC instance number
This commit is contained in:
+8
-8
@@ -7971,19 +7971,19 @@ speechSynthesis.getVoices();
|
|||||||
switch (L.accessType) {
|
switch (L.accessType) {
|
||||||
case 'public':
|
case 'public':
|
||||||
L.joinUrl = getLaunchURL(L.worldId, L.instanceId);
|
L.joinUrl = getLaunchURL(L.worldId, L.instanceId);
|
||||||
L.accessType = 'Public';
|
L.accessType = `Public #${L.instanceName}`;
|
||||||
break;
|
break;
|
||||||
case 'invite+':
|
case 'invite+':
|
||||||
L.accessType = 'Invite+';
|
L.accessType = `Invite+ #${L.instanceName}`;
|
||||||
break;
|
break;
|
||||||
case 'invite':
|
case 'invite':
|
||||||
L.accessType = 'Invite';
|
L.accessType = `Invite #${L.instanceName}`;
|
||||||
break;
|
break;
|
||||||
case 'friends':
|
case 'friends':
|
||||||
L.accessType = 'Friends';
|
L.accessType = `Friends #${L.instanceName}`;
|
||||||
break;
|
break;
|
||||||
case 'friends+':
|
case 'friends+':
|
||||||
L.accessType = 'Friends+';
|
L.accessType = `Friends+ #${L.instanceName}`;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -8018,7 +8018,7 @@ speechSynthesis.getVoices();
|
|||||||
}
|
}
|
||||||
var appId = '883308884863901717';
|
var appId = '883308884863901717';
|
||||||
var bigIcon = 'vrchat';
|
var bigIcon = 'vrchat';
|
||||||
var instanceId = L.instanceId;
|
var partyId = `${L.worldId}:${L.instanceName}`;
|
||||||
var partySize = this.lastLocation.playerList.size;
|
var partySize = this.lastLocation.playerList.size;
|
||||||
var partyMaxSize = L.worldCapacity;
|
var partyMaxSize = L.worldCapacity;
|
||||||
var buttonText = 'Join';
|
var buttonText = 'Join';
|
||||||
@@ -8032,7 +8032,7 @@ speechSynthesis.getVoices();
|
|||||||
partyMaxSize = 0;
|
partyMaxSize = 0;
|
||||||
}
|
}
|
||||||
if (hidePrivate) {
|
if (hidePrivate) {
|
||||||
instanceId = '';
|
partyId = '';
|
||||||
partySize = 0;
|
partySize = 0;
|
||||||
partyMaxSize = 0;
|
partyMaxSize = 0;
|
||||||
buttonText = '';
|
buttonText = '';
|
||||||
@@ -8066,7 +8066,7 @@ speechSynthesis.getVoices();
|
|||||||
'Powered by VRCX', // big icon hover text
|
'Powered by VRCX', // big icon hover text
|
||||||
L.statusImage, // small icon
|
L.statusImage, // small icon
|
||||||
L.statusName, // small icon hover text
|
L.statusName, // small icon hover text
|
||||||
instanceId, // party id
|
partyId, // party id
|
||||||
partySize, // party size
|
partySize, // party size
|
||||||
partyMaxSize, // party max size
|
partyMaxSize, // party max size
|
||||||
buttonText, // button text
|
buttonText, // button text
|
||||||
|
|||||||
Reference in New Issue
Block a user