mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
traveling
This commit is contained in:
+11
-2
@@ -677,6 +677,7 @@ speechSynthesis.getVoices();
|
|||||||
tag: _tag,
|
tag: _tag,
|
||||||
isOffline: false,
|
isOffline: false,
|
||||||
isPrivate: false,
|
isPrivate: false,
|
||||||
|
isTraveling: false,
|
||||||
worldId: '',
|
worldId: '',
|
||||||
instanceId: '',
|
instanceId: '',
|
||||||
instanceName: '',
|
instanceName: '',
|
||||||
@@ -693,6 +694,8 @@ speechSynthesis.getVoices();
|
|||||||
ctx.isOffline = true;
|
ctx.isOffline = true;
|
||||||
} else if (_tag === 'private') {
|
} else if (_tag === 'private') {
|
||||||
ctx.isPrivate = true;
|
ctx.isPrivate = true;
|
||||||
|
} else if (_tag === 'traveling') {
|
||||||
|
ctx.isTraveling = true;
|
||||||
} else if (_tag.startsWith('local') === false) {
|
} else if (_tag.startsWith('local') === false) {
|
||||||
var sep = _tag.indexOf(':');
|
var sep = _tag.indexOf(':');
|
||||||
if (sep >= 0) {
|
if (sep >= 0) {
|
||||||
@@ -843,6 +846,8 @@ speechSynthesis.getVoices();
|
|||||||
this.text = 'Offline';
|
this.text = 'Offline';
|
||||||
} else if (L.isPrivate) {
|
} else if (L.isPrivate) {
|
||||||
this.text = 'Private';
|
this.text = 'Private';
|
||||||
|
} else if (L.isTraveling) {
|
||||||
|
this.text = 'Traveling';
|
||||||
} else if (typeof this.hint === 'string' && this.hint !== '') {
|
} else if (typeof this.hint === 'string' && this.hint !== '') {
|
||||||
if (L.instanceId) {
|
if (L.instanceId) {
|
||||||
this.text = `${this.hint} #${L.instanceName} ${L.accessType}`;
|
this.text = `${this.hint} #${L.instanceName} ${L.accessType}`;
|
||||||
@@ -5716,6 +5721,8 @@ speechSynthesis.getVoices();
|
|||||||
text = 'Offline';
|
text = 'Offline';
|
||||||
} else if (L.isPrivate) {
|
} else if (L.isPrivate) {
|
||||||
text = 'Private';
|
text = 'Private';
|
||||||
|
} else if (L.isTraveling) {
|
||||||
|
text = 'Traveling';
|
||||||
} else if (L.worldId) {
|
} else if (L.worldId) {
|
||||||
if (L.instanceId) {
|
if (L.instanceId) {
|
||||||
text = `${worldName} ${L.accessType}`;
|
text = `${worldName} ${L.accessType}`;
|
||||||
@@ -6733,7 +6740,8 @@ speechSynthesis.getVoices();
|
|||||||
typeof ref !== 'undefined' &&
|
typeof ref !== 'undefined' &&
|
||||||
ref.location !== '' &&
|
ref.location !== '' &&
|
||||||
ref.location !== 'offline' &&
|
ref.location !== 'offline' &&
|
||||||
ref.location !== 'private'
|
ref.location !== 'private' &&
|
||||||
|
ref.location !== 'traveling'
|
||||||
) {
|
) {
|
||||||
API.getUser({
|
API.getUser({
|
||||||
userId: id
|
userId: id
|
||||||
@@ -15489,7 +15497,8 @@ speechSynthesis.getVoices();
|
|||||||
if (
|
if (
|
||||||
location === '' ||
|
location === '' ||
|
||||||
location === 'offline' ||
|
location === 'offline' ||
|
||||||
location === 'private'
|
location === 'private' ||
|
||||||
|
location === 'traveling'
|
||||||
) {
|
) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user