mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
debugGameLog
This commit is contained in:
+18
-1
@@ -4165,7 +4165,8 @@ speechSynthesis.getVoices();
|
|||||||
$app.data.debugWebRequests = false;
|
$app.data.debugWebRequests = false;
|
||||||
$app.data.debugWebSocket = false;
|
$app.data.debugWebSocket = false;
|
||||||
$app.data.debugUserDiff = false;
|
$app.data.debugUserDiff = false;
|
||||||
$app.data.debugPhotonLogging = true;
|
$app.data.debugPhotonLogging = false;
|
||||||
|
$app.data.debugGameLog = false;
|
||||||
|
|
||||||
$app.data.APILastOnline = new Map();
|
$app.data.APILastOnline = new Map();
|
||||||
|
|
||||||
@@ -7824,6 +7825,13 @@ speechSynthesis.getVoices();
|
|||||||
rawLogs[2],
|
rawLogs[2],
|
||||||
rawLogs.slice(3)
|
rawLogs.slice(3)
|
||||||
);
|
);
|
||||||
|
if (
|
||||||
|
this.debugGameLog &&
|
||||||
|
gameLog.type !== 'photon-id' &&
|
||||||
|
gameLog.type !== 'api-request'
|
||||||
|
) {
|
||||||
|
console.log('gameLog:', gameLog);
|
||||||
|
}
|
||||||
this.addGameLogEntry(gameLog, this.lastLocation.location);
|
this.addGameLogEntry(gameLog, this.lastLocation.location);
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -9333,6 +9341,9 @@ speechSynthesis.getVoices();
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
var json = JSON.parse(response.data);
|
var json = JSON.parse(response.data);
|
||||||
|
if (this.debugWebRequests) {
|
||||||
|
console.log(json, response);
|
||||||
|
}
|
||||||
if (response.status === 200) {
|
if (response.status === 200) {
|
||||||
data = json;
|
data = json;
|
||||||
} else {
|
} else {
|
||||||
@@ -17985,6 +17996,9 @@ speechSynthesis.getVoices();
|
|||||||
});
|
});
|
||||||
this.checkingForVRCXUpdate = false;
|
this.checkingForVRCXUpdate = false;
|
||||||
var json = JSON.parse(response.data);
|
var json = JSON.parse(response.data);
|
||||||
|
if (this.debugWebRequests) {
|
||||||
|
console.log(json, response);
|
||||||
|
}
|
||||||
var releases = [];
|
var releases = [];
|
||||||
if (typeof json !== 'object' || json.message) {
|
if (typeof json !== 'object' || json.message) {
|
||||||
$app.$message({
|
$app.$message({
|
||||||
@@ -18029,6 +18043,9 @@ speechSynthesis.getVoices();
|
|||||||
});
|
});
|
||||||
this.checkingForVRCXUpdate = false;
|
this.checkingForVRCXUpdate = false;
|
||||||
var json = JSON.parse(response.data);
|
var json = JSON.parse(response.data);
|
||||||
|
if (this.debugWebRequests) {
|
||||||
|
console.log(json, response);
|
||||||
|
}
|
||||||
if (json === Object(json) && json.name && json.published_at) {
|
if (json === Object(json) && json.name && json.published_at) {
|
||||||
this.latestAppVersion = `${json.name} (${formatDate(
|
this.latestAppVersion = `${json.name} (${formatDate(
|
||||||
json.published_at,
|
json.published_at,
|
||||||
|
|||||||
Reference in New Issue
Block a user