decord/source/modules/activities/utils/getGamePlatform.tsx

34 lines
816 B
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 15672
// Function ID: 15673
2026-07-20 16:05:17 +00:00
// Name: getGamePlatform
2026-08-05 07:35:12 +00:00
// Dependencies: [676, 12159, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-05 07:35:12 +00:00
// Module 15672 (getGamePlatform)
2026-07-23 10:11:24 +00:00
import ME from "ME";
2026-07-29 08:29:29 +00:00
let c3;
let obj1;
({ ActivityTypes: obj1, ActivityGamePlatforms: c3 } = ME);
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/activities/utils/getGamePlatform.tsx");
2026-07-20 16:05:17 +00:00
export default function getGamePlatform(type) {
let tmp = null;
if (null != type) {
tmp = null;
if (null != type.type) {
tmp = null;
if (type.type === constants.PLAYING) {
2026-08-05 07:35:12 +00:00
if (importDefault(12159)(type)) {
2026-07-20 16:05:17 +00:00
let DESKTOP = constants2.XBOX;
} else if (null != type.platform) {
DESKTOP = type.platform;
} else {
DESKTOP = constants2.DESKTOP;
}
}
}
}
return tmp;
};