decord/source/modules/game_console/hooks/useIsRemote.tsx

23 lines
653 B
TypeScript
Raw Normal View History

2026-07-28 08:39:19 +00:00
// Module ID: 6031
// Function ID: 53476
2026-07-20 16:05:17 +00:00
// Name: useIsRemote
2026-07-28 08:39:19 +00:00
// Dependencies: [4179, 566, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-28 08:39:19 +00:00
// Module 6031 (useIsRemote)
2026-07-23 10:11:24 +00:00
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
const require = arg1;
const result = require("set").fileFinishedImporting("modules/game_console/hooks/useIsRemote.tsx");
2026-07-20 16:05:17 +00:00
export default function useIsRemote() {
2026-07-23 10:11:24 +00:00
const items = [_isNativeReflectConstruct];
return require(566) /* initialize */.useStateFromStores(items, () => {
let tmp = null != outer1_2.getRemoteSessionId();
2026-07-20 16:05:17 +00:00
if (!tmp) {
2026-07-23 10:11:24 +00:00
tmp = null != outer1_2.getAwaitingRemoteSessionInfo();
2026-07-20 16:05:17 +00:00
}
return tmp;
});
};