decord/source/modules/game_console/native/getConsoleIcon.tsx

31 lines
1 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 12097
// Function ID: 12098
2026-07-29 08:29:29 +00:00
// Name: getConsoleIcon
2026-08-05 07:35:12 +00:00
// Dependencies: [676, 4273, 10434, 10812, 2]
2026-07-20 16:05:17 +00:00
// Exports: default, getConsoleIconForVoicePlatform
2026-08-05 07:35:12 +00:00
// Module 12097 (getConsoleIcon)
2026-07-23 10:11:24 +00:00
import { VoicePlatforms } from "ParticipantTypes";
2026-07-20 16:05:17 +00:00
let PLAYSTATION;
let PLAYSTATION_STAGING;
2026-07-29 08:29:29 +00:00
let XBOX;
const obj = { [XBOX]: require("registerAsset"), [PLAYSTATION]: require("registerAsset"), [PLAYSTATION_STAGING]: require("registerAsset") };
({ XBOX, PLAYSTATION, PLAYSTATION_STAGING } = require("ME").PlatformTypes);
2026-07-23 10:11:24 +00:00
const result = require("registerAsset").fileFinishedImporting("modules/game_console/native/getConsoleIcon.tsx");
2026-07-20 16:05:17 +00:00
export default function getConsoleIcon(arg0) {
return obj[arg0];
};
export const getConsoleIconForVoicePlatform = function getConsoleIconForVoicePlatform(voicePlatform) {
if (voicePlatform === VoicePlatforms.XBOX) {
2026-08-05 07:35:12 +00:00
let tmp2 = importDefault(10434);
2026-07-20 16:05:17 +00:00
} else {
tmp2 = null;
2026-07-29 08:29:29 +00:00
if (voicePlatform === tmp.PLAYSTATION) {
2026-08-05 07:35:12 +00:00
tmp2 = importDefault(10812);
2026-07-20 16:05:17 +00:00
}
}
return tmp2;
};