decord/source/modules/game_console/native/getConsoleIcon.tsx
2026-08-03 11:20:01 +00:00

30 lines
1,018 B
TypeScript

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