decord/source/modules/game_console/trackVoiceCallTransfer.tsx

39 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 8977
2026-07-27 11:26:19 +00:00
// Function ID: 70761
2026-07-20 16:05:17 +00:00
// Name: trackVoiceCallTransfer
2026-07-25 08:10:48 +00:00
// Dependencies: [1348, 4203, 4146, 653, 675, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-25 08:10:48 +00:00
// Module 8977 (trackVoiceCallTransfer)
2026-07-23 10:11:24 +00:00
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
import closure_3 from "_isNativeReflectConstruct";
import closure_4 from "_isNativeReflectConstruct";
import { AnalyticEvents } from "ME";
const result = require("_isNativeReflectConstruct").fileFinishedImporting("modules/game_console/trackVoiceCallTransfer.tsx");
2026-07-20 16:05:17 +00:00
export default function trackVoiceCallTransfer(channel_id, target_platform) {
2026-07-23 10:11:24 +00:00
let obj = importDefault(675);
2026-07-20 16:05:17 +00:00
obj = {};
let str = "discord_client";
if (null != arg2) {
2026-07-23 10:11:24 +00:00
sessionById = sessionById.getSessionById(arg2);
2026-07-20 16:05:17 +00:00
let os;
if (null != sessionById) {
os = sessionById.clientInfo.os;
}
str = os;
}
obj.source_platform = str;
2026-07-23 10:11:24 +00:00
channel = channel.getChannel(channel_id);
2026-07-20 16:05:17 +00:00
let guild_id;
if (null != channel) {
guild_id = channel.guild_id;
}
obj.guild_id = guild_id;
obj.channel_id = channel_id;
obj.rtc_connection_id = rTCConnectionId.getRTCConnectionId();
obj.target_platform = target_platform;
obj.track(AnalyticEvents.VOICE_CALL_TRANSFER, obj);
};