decord/source/modules/game_console/native/getConsoleIcon.tsx
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

32 lines
1.1 KiB
TypeScript

// Module ID: 9495
// Function ID: 9496
// Name: getConsoleIcon
// Dependencies: [1074, 4595, 9474, 9496, 2]
// Exports: default, getConsoleIconForVoicePlatform
// Module 9495 (getConsoleIcon)
import Constants from "Constants" /* 1074 */;
import CallConstants from "CallConstants" /* 4595 */;
import _modDef9474 from "module_9474" /* 9474 */;
import _modDef9496 from "module_9496" /* 9496 */;
import size from "module_2" /* 2 */;
const VoicePlatforms = CallConstants.VoicePlatforms;
const obj = { [XBOX]: _modDef9474, [PLAYSTATION]: _modDef9496, [PLAYSTATION_STAGING]: _modDef9496 };
({ 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 = _modDef9474;
} else {
tmp2 = null;
if (voicePlatform === tmp.PLAYSTATION) {
tmp2 = _modDef9496;
}
}
return tmp2;
};