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

30 lines
1,018 B
TypeScript

// Module ID: 9884
// Function ID: 9885
// Name: getConsoleIcon
// Dependencies: [676, 4544, 9839, 9885, 2]
// Exports: default, getConsoleIconForVoicePlatform
// Module 9884 (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(9839);
} else {
tmp2 = null;
if (voicePlatform === tmp.PLAYSTATION) {
tmp2 = importDefault(9885);
}
}
return tmp2;
};