decord/source/modules/game_console/native/getConsoleIcon.tsx
2026-07-28 08:39:19 +00:00

30 lines
1 KiB
TypeScript

// Module ID: 9029
// Function ID: 70952
// Name: PlatformTypes
// Dependencies: [653, 4183, 9009, 9030, 2]
// Exports: default, getConsoleIconForVoicePlatform
// Module 9029 (PlatformTypes)
import { PlatformTypes } from "ME";
import { VoicePlatforms } from "ParticipantTypes";
let PLAYSTATION;
let PLAYSTATION_STAGING;
const obj = { [PlatformTypes.XBOX]: require("registerAsset"), [PLAYSTATION]: require("registerAsset"), [PLAYSTATION_STAGING]: require("registerAsset") };
({ PLAYSTATION, PLAYSTATION_STAGING } = 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(9009);
} else {
tmp2 = null;
if (voicePlatform === VoicePlatforms.PLAYSTATION) {
tmp2 = importDefault(9030);
}
}
return tmp2;
};