mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-24 01:03:50 +02:00
deprecated
This commit is contained in:
@@ -14,13 +14,6 @@ class GameLogService {
|
|||||||
context = {
|
context = {
|
||||||
updatedAt: null,
|
updatedAt: null,
|
||||||
|
|
||||||
// auth
|
|
||||||
loginProvider: null,
|
|
||||||
loginUser: null,
|
|
||||||
|
|
||||||
// hmd
|
|
||||||
hmdModel: null,
|
|
||||||
|
|
||||||
// location
|
// location
|
||||||
location: null,
|
location: null,
|
||||||
};
|
};
|
||||||
@@ -30,15 +23,6 @@ class GameLogService {
|
|||||||
var gameLog = parseRawGameLog(dt, type, args);
|
var gameLog = parseRawGameLog(dt, type, args);
|
||||||
|
|
||||||
switch (gameLog.type) {
|
switch (gameLog.type) {
|
||||||
case 'auth':
|
|
||||||
context.loginProvider = gameLog.loginProvider;
|
|
||||||
context.loginUser = gameLog.loginUser;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'hmd-model':
|
|
||||||
context.hmdModel = gameLog.hmdModel;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'location':
|
case 'location':
|
||||||
context.location = gameLog.location;
|
context.location = gameLog.location;
|
||||||
break;
|
break;
|
||||||
@@ -65,15 +49,6 @@ function parseRawGameLog(dt, type, args) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'auth':
|
|
||||||
gameLog.loginProvider = args[0];
|
|
||||||
gameLog.loginUser = args[1];
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'hmd-model':
|
|
||||||
gameLog.hmdModel = args[0];
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'location':
|
case 'location':
|
||||||
gameLog.location = args[0];
|
gameLog.location = args[0];
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user