decord/source/modules/game_console/native/getConsoleConnectingText.tsx

46 lines
1.4 KiB
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 15923
// Function ID: 123073
2026-07-20 16:05:17 +00:00
// Name: getConsoleConnectingText
2026-07-23 10:11:24 +00:00
// Dependencies: [653, 1212, 2]
2026-07-20 16:05:17 +00:00
// Exports: getConsoleConnectingText
2026-07-27 11:26:19 +00:00
// Module 15923 (getConsoleConnectingText)
2026-07-23 10:11:24 +00:00
import { PlatformTypes } from "ME";
const result = require("set").fileFinishedImporting("modules/game_console/native/getConsoleConnectingText.tsx");
2026-07-20 16:05:17 +00:00
export const getConsoleConnectingText = function getConsoleConnectingText(stateFromStores1, stateFromStores, arg2) {
let type;
if (null != stateFromStores) {
type = stateFromStores.type;
}
if (null == type) {
let os;
if (null != stateFromStores1) {
os = stateFromStores1.clientInfo.os;
}
type = os;
}
if (type === PlatformTypes.XBOX) {
if (arg2) {
2026-07-23 10:11:24 +00:00
const intl4 = require(1212) /* getSystemLocale */.intl;
let str2 = intl4.format(require(1212) /* getSystemLocale */.t["ynEs/Y"], {});
2026-07-20 16:05:17 +00:00
} else {
str2 = "Xbox";
if (tmp3) {
2026-07-23 10:11:24 +00:00
const intl3 = require(1212) /* getSystemLocale */.intl;
str2 = intl3.string(require(1212) /* getSystemLocale */.t.UjA4HX);
2026-07-20 16:05:17 +00:00
}
}
} else if (arg2) {
2026-07-23 10:11:24 +00:00
const intl2 = require(1212) /* getSystemLocale */.intl;
let str = intl2.format(require(1212) /* getSystemLocale */.t.TZ17Bg, {});
2026-07-20 16:05:17 +00:00
} else {
str = "PS5";
if (tmp3) {
2026-07-23 10:11:24 +00:00
const intl = require(1212) /* getSystemLocale */.intl;
str = intl.string(require(1212) /* getSystemLocale */.t.QCw1oW);
2026-07-20 16:05:17 +00:00
}
}
};