decord/source/modules/game_console/native/getConsoleIcon.tsx
2026-08-06 08:05:19 +00:00

30 lines
1 KiB
TypeScript

// Module ID: 12131
// Function ID: 12132
// Name: getConsoleIcon
// Dependencies: [676, 4303, 10465, 10867, 2]
// Exports: default, getConsoleIconForVoicePlatform
// Module 12131 (getConsoleIcon)
import { VoicePlatforms } from "ParticipantTypes";
let PLAYSTATION;
let PLAYSTATION_STAGING;
let XBOX;
const obj = { [XBOX]: require("registerAsset"), [PLAYSTATION]: require("registerAsset"), [PLAYSTATION_STAGING]: require("registerAsset") };
({ XBOX, PLAYSTATION, PLAYSTATION_STAGING } = require("ME").PlatformTypes);
const result = require("registerAsset").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 = importDefault(10465);
} else {
tmp2 = null;
if (voicePlatform === tmp.PLAYSTATION) {
tmp2 = importDefault(10867);
}
}
return tmp2;
};