decord/source/modules/game_console/native/getConsoleIcon.tsx
2026-08-13 07:00:46 +00:00

30 lines
1 KiB
TypeScript

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