decord/source/modules/voice_panel/VoicePanelManager.native.tsx

43 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 16741
// Function ID: 16742
2026-07-29 08:29:29 +00:00
// Name: prototype
2026-08-05 07:35:12 +00:00
// Dependencies: [4326, 4465, 5214, 2]
2026-07-23 10:11:24 +00:00
2026-08-05 07:35:12 +00:00
// Module 16741 (prototype)
2026-07-29 08:29:29 +00:00
import createRTCConnection from "createRTCConnection";
2026-07-23 10:11:24 +00:00
import withEqualityFn from "withEqualityFn";
2026-07-29 08:29:29 +00:00
import "initialize";
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
let prototype = function VoicePanelManager() {
const applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target);
applyArgumentsResult.actions = {
VOICE_CHANNEL_SELECT() {
const channelId = store.getChannelId();
if (null != channelId) {
const state = store2.getState();
const channels = state.channels;
if (!channels.has(channelId)) {
state.openChannel(channelId);
}
}
},
RTC_CONNECTION_STATE() {
const channelId = store.getChannelId();
if (null != channelId) {
const state = store2.getState();
const channels = state.channels;
if (!channels.has(channelId)) {
state.openChannel(channelId);
}
}
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
};
return applyArgumentsResult;
}.prototype;
class prototype extends tmp2 {
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
prototype = new prototype();
const result = require("initialize").fileFinishedImporting("modules/voice_panel/VoicePanelManager.native.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default prototype;