decord/source/modules/game_console/native/getConsoleIcon.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

32 lines
1.1 KiB
TypeScript

// Module ID: 9606
// Function ID: 9607
// Name: getConsoleIcon
// Dependencies: [1074, 4659, 9585, 9607, 2]
// Exports: default, getConsoleIconForVoicePlatform
// Module 9606 (getConsoleIcon)
import Constants from "Constants" /* 1074 */;
import CallConstants from "CallConstants" /* 4659 */;
import _modDef9585 from "module_9585" /* 9585 */;
import _modDef9607 from "module_9607" /* 9607 */;
import size from "module_2" /* 2 */;
const VoicePlatforms = CallConstants.VoicePlatforms;
const obj = { [XBOX]: _modDef9585, [PLAYSTATION]: _modDef9607, [PLAYSTATION_STAGING]: _modDef9607 };
({ XBOX, PLAYSTATION, PLAYSTATION_STAGING } = Constants.PlatformTypes);
const result = size.fileFinishedImporting("modules/game_console/native/getConsoleIcon.tsx");
export default function getConsoleIcon(arg0) {
return obj[arg0];
};
export const getConsoleIconForVoicePlatform = function getConsoleIconForVoicePlatform(voicePlatform) {
if (voicePlatform === VoicePlatforms.XBOX) {
let tmp2 = _modDef9585;
} else {
tmp2 = null;
if (voicePlatform === tmp.PLAYSTATION) {
tmp2 = _modDef9607;
}
}
return tmp2;
};