2026-08-05 07:35:12 +00:00
|
|
|
// Module ID: 12159
|
|
|
|
|
// Function ID: 12160
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: isOnXbox
|
2026-08-05 07:35:12 +00:00
|
|
|
// Dependencies: [4280, 676, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-05 07:35:12 +00:00
|
|
|
// Module 12159 (isOnXbox)
|
2026-07-23 10:11:24 +00:00
|
|
|
import { XBOX_ACTIVITY_APPLICATION_ID as closure_0 } from "items3";
|
|
|
|
|
import { ActivityGamePlatforms } from "ME";
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-23 10:11:24 +00:00
|
|
|
const result = require("set").fileFinishedImporting("modules/activities/utils/isOnXbox.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function isOnXbox(application_id) {
|
|
|
|
|
application_id = undefined;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (application_id != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
application_id = application_id.application_id;
|
|
|
|
|
}
|
|
|
|
|
let tmp2 = application_id === closure_0;
|
|
|
|
|
if (!tmp2) {
|
|
|
|
|
let platform;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (application_id != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
platform = application_id.platform;
|
|
|
|
|
}
|
|
|
|
|
tmp2 = platform === ActivityGamePlatforms.XBOX;
|
|
|
|
|
}
|
|
|
|
|
return tmp2;
|
|
|
|
|
};
|