25 lines
1.7 KiB
TypeScript
25 lines
1.7 KiB
TypeScript
/* Metro module 9436; source: modules/game_console/native/getConsoleIcon.tsx; dependencies: [661, 4299, 9416, 9437, 2] */
|
|
function _fun73436(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#73436, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9622:6, offset: 0x01d6ca0c, size: 223 bytes, params: 8, frame: 21
|
|
var object2;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const PlatformTypes = (require(661) /* metro dependency 661: Constants */).PlatformTypes;
|
|
const env0_2 = (require(4299) /* metro dependency 4299: CallConstants */).VoicePlatforms;
|
|
object2 = {};
|
|
const XBOX = PlatformTypes.XBOX;
|
|
object2[XBOX] = importDefault(9416) /* metro dependency 9416 */;
|
|
const PLAYSTATION = PlatformTypes.PLAYSTATION;
|
|
object2[PLAYSTATION] = importDefault(9437) /* metro dependency 9437 */;
|
|
const PLAYSTATION_STAGING = PlatformTypes.PLAYSTATION_STAGING;
|
|
object2[PLAYSTATION_STAGING] = importDefault(9437) /* metro dependency 9437 */;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/game_console/native/getConsoleIcon.tsx');
|
|
exports.default = getConsoleIcon;
|
|
exports.getConsoleIconForVoicePlatform = getConsoleIconForVoicePlatform;
|
|
}
|
|
|
|
function getConsoleIconForVoicePlatform(a0) { // fn#73438, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9622:385, offset: 0x01d6caeb, size: 84 bytes, params: 2, frame: 13
|
|
const XBOX = VoicePlatforms.XBOX;
|
|
return a0 === XBOX ? importDefault(9416) /* metro dependency 9416 */ : a0 !== VoicePlatforms.PLAYSTATION ? null : importDefault(9437) /* metro dependency 9437 */;
|
|
}
|
|
|