decord/source/modules/voice_chat/VoiceChatHooks.tsx
2026-07-25 08:10:48 +00:00

26 lines
944 B
TypeScript

// Module ID: 10177
// Function ID: 78656
// Name: useIsConnectedToVoiceChannelForId
// Dependencies: [1194, 4147, 566, 2]
// Exports: useIsConnectedToVoiceChannel
// Module 10177 (useIsConnectedToVoiceChannelForId)
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
import closure_3 from "_isNativeReflectConstruct";
const require = arg1;
function useIsConnectedToVoiceChannelForId(arg0) {
const _require = arg0;
const items = [closure_3, _isNativeReflectConstruct];
return _require(566).useStateFromStores(items, () => outer1_3.isInChannel(closure_0, outer1_2.getId()));
}
const result = require("initialize").fileFinishedImporting("modules/voice_chat/VoiceChatHooks.tsx");
export const useIsConnectedToVoiceChannel = function useIsConnectedToVoiceChannel(id) {
id = undefined;
if (null != id) {
id = id.id;
}
return useIsConnectedToVoiceChannelForId(id);
};
export { useIsConnectedToVoiceChannelForId };