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

31 lines
1 KiB
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 8985
2026-07-27 11:26:19 +00:00
// Function ID: 70801
2026-07-20 16:05:17 +00:00
// Name: PlatformTypes
2026-07-25 08:10:48 +00:00
// Dependencies: [653, 4149, 8965, 8986, 2]
2026-07-20 16:05:17 +00:00
// Exports: default, getConsoleIconForVoicePlatform
2026-07-25 08:10:48 +00:00
// Module 8985 (PlatformTypes)
2026-07-23 10:11:24 +00:00
import { PlatformTypes } from "ME";
import { VoicePlatforms } from "ParticipantTypes";
2026-07-20 16:05:17 +00:00
let PLAYSTATION;
let PLAYSTATION_STAGING;
2026-07-23 10:11:24 +00:00
const obj = { [PlatformTypes.XBOX]: require("registerAsset"), [PLAYSTATION]: require("registerAsset"), [PLAYSTATION_STAGING]: require("registerAsset") };
2026-07-20 16:05:17 +00:00
({ PLAYSTATION, PLAYSTATION_STAGING } = 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-07-25 08:10:48 +00:00
let tmp2 = importDefault(8965);
2026-07-20 16:05:17 +00:00
} else {
tmp2 = null;
if (voicePlatform === VoicePlatforms.PLAYSTATION) {
2026-07-25 08:10:48 +00:00
tmp2 = importDefault(8986);
2026-07-20 16:05:17 +00:00
}
}
return tmp2;
};