decord/source/modules/activities/trackActivityThermalStateNoticeShown.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

43 lines
1.9 KiB
TypeScript

// Module ID: 17053
// Function ID: 17054
// Name: trackActivityThermalStateNoticeShown
// Dependencies: [1957, 4583, 1956, 1074, 4189, 1242, 2]
// Exports: trackActivityThermalStateNoticeShown
// Module 17053 (trackActivityThermalStateNoticeShown)
import expandEventPropertiesDefault from "expandEventProperties" /* 1242 */;
import getEmbeddedActivityLocationChannelId from "getEmbeddedActivityLocationChannelId" /* 4189 */;
import closure_3 from "ensureGuildLoaded" /* 1957 */;
import closure_4 from "createRTCConnection" /* 4583 */;
import closure_5 from "participantFromServer" /* 1956 */;
import { AnalyticEvents } from "ME" /* 1074 */;
require = arg1;
const result = require("set").fileFinishedImporting("modules/activities/trackActivityThermalStateNoticeShown.tsx");
export const trackActivityThermalStateNoticeShown = function trackActivityThermalStateNoticeShown() {
currentEmbeddedActivity = currentEmbeddedActivity.getCurrentEmbeddedActivity();
let obj = getEmbeddedActivityLocationChannelId;
let _location;
if (currentEmbeddedActivity != null) {
_location = currentEmbeddedActivity.location;
}
const embeddedActivityLocationChannelId = obj.getEmbeddedActivityLocationChannelId(_location);
basicChannel = basicChannel.getBasicChannel(embeddedActivityLocationChannelId);
let compositeInstanceId;
if (currentEmbeddedActivity != null) {
compositeInstanceId = currentEmbeddedActivity.compositeInstanceId;
}
let applicationId;
if (currentEmbeddedActivity != null) {
applicationId = currentEmbeddedActivity.applicationId;
}
obj = { channel_id: embeddedActivityLocationChannelId, application_id: applicationId, activity_session_id: compositeInstanceId, guild_id: null, media_session_id: null };
let guild_id;
if (basicChannel != null) {
guild_id = basicChannel.guild_id;
}
obj[3] = guild_id;
obj[4] = mediaSessionId.getMediaSessionId();
expandEventPropertiesDefault.track(AnalyticEvents.ACTIVITY_THERMAL_STATE_NOTICE_SHOWN, obj);
};