32 lines
1.2 KiB
TypeScript
32 lines
1.2 KiB
TypeScript
// Module ID: 12422
|
|
// Function ID: 12423
|
|
// Name: getConsoleIcon
|
|
// Dependencies: [676, 4401, 10621, 11033, 2]
|
|
// Exports: default, getConsoleIconForVoicePlatform
|
|
|
|
// Module 12422 (getConsoleIcon)
|
|
import set from "set" /* 2 */;
|
|
import ME from "ME" /* 676 */;
|
|
import ParticipantTypes from "ParticipantTypes" /* 4401 */;
|
|
import registerAssetDefault from "registerAsset" /* 10621 */;
|
|
import registerAssetDefault2 from "registerAsset" /* 11033 */;
|
|
|
|
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;
|
|
};
|