decord/source/modules/game_console/native/getConsoleIcon.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

32 lines
1.2 KiB
TypeScript

// Module ID: 9468
// Function ID: 9469
// Name: getConsoleIcon
// Dependencies: [1074, 4581, 9447, 9469, 2]
// Exports: default, getConsoleIconForVoicePlatform
// Module 9468 (getConsoleIcon)
import set from "set" /* 2 */;
import ME from "ME" /* 1074 */;
import ParticipantTypes from "ParticipantTypes" /* 4581 */;
import registerAssetDefault from "registerAsset" /* 9447 */;
import registerAssetDefault2 from "registerAsset" /* 9469 */;
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;
};