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

33 lines
1.1 KiB
TypeScript
Raw Normal View History

// Module ID: 9554
// Function ID: 9555
2026-07-29 08:29:29 +00:00
// Name: getConsoleIcon
// Dependencies: [1074, 4627, 9533, 9555, 2]
2026-07-20 16:05:17 +00:00
// Exports: default, getConsoleIconForVoicePlatform
// Module 9554 (getConsoleIcon)
import Constants from "Constants" /* 1074 */;
import CallConstants from "CallConstants" /* 4627 */;
import _modDef9533 from "module_9533" /* 9533 */;
import _modDef9555 from "module_9555" /* 9555 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const VoicePlatforms = CallConstants.VoicePlatforms;
const obj = { [XBOX]: _modDef9533, [PLAYSTATION]: _modDef9555, [PLAYSTATION_STAGING]: _modDef9555 };
({ XBOX, PLAYSTATION, PLAYSTATION_STAGING } = Constants.PlatformTypes);
const result = size.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) {
let tmp2 = _modDef9533;
2026-07-20 16:05:17 +00:00
} else {
tmp2 = null;
2026-07-29 08:29:29 +00:00
if (voicePlatform === tmp.PLAYSTATION) {
tmp2 = _modDef9555;
2026-07-20 16:05:17 +00:00
}
}
return tmp2;
};