decord/source/modules/game_console/native/getConsoleIcon.tsx
2026-08-26 06:04:24 +00:00

32 lines
1.2 KiB
TypeScript

// Module ID: 12493
// Function ID: 12494
// Name: getConsoleIcon
// Dependencies: [676, 4465, 10689, 11105, 2]
// Exports: default, getConsoleIconForVoicePlatform
// Module 12493 (getConsoleIcon)
import set from "set" /* 2 */;
import ME from "ME" /* 676 */;
import ParticipantTypes from "ParticipantTypes" /* 4465 */;
import registerAssetDefault from "registerAsset" /* 10689 */;
import registerAssetDefault2 from "registerAsset" /* 11105 */;
const VoicePlatforms = ParticipantTypes.VoicePlatforms;
const obj = { [XBOX]: registerAssetDefault, [PLAYSTATION]: registerAssetDefault2, [PLAYSTATION_STAGING]: registerAssetDefault2 };
({ XBOX, PLAYSTATION, PLAYSTATION_STAGING } = ME.PlatformTypes);
const result = set.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 = registerAssetDefault;
} else {
tmp2 = null;
if (voicePlatform === tmp.PLAYSTATION) {
tmp2 = registerAssetDefault2;
}
}
return tmp2;
};