decord/source/modules/game_console/native/getConsoleIcon.tsx
2026-09-03 10:05:34 +00:00

32 lines
1.1 KiB
TypeScript

// Module ID: 9918
// Function ID: 9919
// Name: getConsoleIcon
// Dependencies: [673, 4499, 9335, 9919, 2]
// Exports: default, getConsoleIconForVoicePlatform
// Module 9918 (getConsoleIcon)
import set from "set" /* 2 */;
import ME from "ME" /* 673 */;
import ParticipantTypes from "ParticipantTypes" /* 4499 */;
import registerAssetDefault from "registerAsset" /* 9335 */;
import registerAssetDefault2 from "registerAsset" /* 9919 */;
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;
};