2026-09-15 14:23:42 +00:00
|
|
|
// Module ID: 9595
|
|
|
|
|
// Function ID: 9596
|
2026-07-29 08:29:29 +00:00
|
|
|
// Name: getConsoleIcon
|
2026-09-15 14:23:42 +00:00
|
|
|
// Dependencies: [1074, 4660, 9574, 9596, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default, getConsoleIconForVoicePlatform
|
|
|
|
|
|
2026-09-15 14:23:42 +00:00
|
|
|
// Module 9595 (getConsoleIcon)
|
2026-09-10 05:38:07 +00:00
|
|
|
import Constants from "Constants" /* 1074 */;
|
2026-09-15 14:23:42 +00:00
|
|
|
import CallConstants from "CallConstants" /* 4660 */;
|
|
|
|
|
import _modDef9574 from "module_9574" /* 9574 */;
|
|
|
|
|
import _modDef9596 from "module_9596" /* 9596 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const VoicePlatforms = CallConstants.VoicePlatforms;
|
2026-09-15 14:23:42 +00:00
|
|
|
const obj = { [XBOX]: _modDef9574, [PLAYSTATION]: _modDef9596, [PLAYSTATION_STAGING]: _modDef9596 };
|
2026-09-10 05:38:07 +00:00
|
|
|
({ 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) {
|
2026-09-15 14:23:42 +00:00
|
|
|
let tmp2 = _modDef9574;
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
tmp2 = null;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (voicePlatform === tmp.PLAYSTATION) {
|
2026-09-15 14:23:42 +00:00
|
|
|
tmp2 = _modDef9596;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return tmp2;
|
|
|
|
|
};
|