decord/source/modules/game_console/native/getConsoleConnectingText.tsx
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

48 lines
1.3 KiB
TypeScript

// Module ID: 17268
// Function ID: 17269
// Name: getConsoleConnectingText
// Dependencies: [1074, 1114, 2]
// Exports: getConsoleConnectingText
// Module 17268 (getConsoleConnectingText)
import Constants from "Constants" /* 1074 */;
import util from "util" /* 1114 */;
import size from "module_2" /* 2 */;
const PlatformTypes = Constants.PlatformTypes;
const result = size.fileFinishedImporting("modules/game_console/native/getConsoleConnectingText.tsx");
export const getConsoleConnectingText = function getConsoleConnectingText(stateFromStores1, stateFromStores, arg2) {
let type;
if (stateFromStores != null) {
type = stateFromStores.type;
}
if (type == null) {
let os;
if (stateFromStores1 != null) {
os = stateFromStores1.clientInfo.os;
}
type = os;
}
if (type === PlatformTypes.XBOX) {
if (arg2) {
const intl4 = util.intl;
let str2 = intl4.format(util.t["ynEs/Y"], {});
} else {
str2 = "Xbox";
if (tmp4) {
const intl3 = util.intl;
str2 = intl3.string(util.t.UjA4HX);
}
}
} else if (arg2) {
const intl2 = util.intl;
let str = intl2.format(util.t.TZ17Bg, {});
} else {
str = "PS5";
if (tmp4) {
const intl = util.intl;
str = intl.string(util.t.QCw1oW);
}
}
};