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

31 lines
1,018 B
TypeScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 9884
// Function ID: 9885
2026-07-29 08:29:29 +00:00
// Name: getConsoleIcon
2026-08-15 05:55:55 +00:00
// Dependencies: [676, 4544, 9839, 9885, 2]
2026-07-20 16:05:17 +00:00
// Exports: default, getConsoleIconForVoicePlatform
2026-08-15 05:55:55 +00:00
// Module 9884 (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-15 05:55:55 +00:00
let tmp2 = importDefault(9839);
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-15 05:55:55 +00:00
tmp2 = importDefault(9885);
2026-07-20 16:05:17 +00:00
}
}
return tmp2;
};