2026-07-27 11:26:19 +00:00
|
|
|
// Module ID: 11926
|
|
|
|
|
// Function ID: 92322
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: isOnXbox
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [4156, 653, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-07-27 11:26:19 +00:00
|
|
|
// Module 11926 (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;
|
|
|
|
|
if (null != application_id) {
|
|
|
|
|
application_id = application_id.application_id;
|
|
|
|
|
}
|
|
|
|
|
let tmp2 = application_id === closure_0;
|
|
|
|
|
if (!tmp2) {
|
|
|
|
|
let platform;
|
|
|
|
|
if (null != application_id) {
|
|
|
|
|
platform = application_id.platform;
|
|
|
|
|
}
|
|
|
|
|
tmp2 = platform === ActivityGamePlatforms.XBOX;
|
|
|
|
|
}
|
|
|
|
|
return tmp2;
|
|
|
|
|
};
|