mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-09 22:57:44 +02:00
useEffect() for Error page
This commit is contained in:
@@ -37,6 +37,7 @@ type ScriptEvents = {
|
||||
'webgpu.ready': {},
|
||||
|
||||
'header.rendered': {},
|
||||
'error.rendered': {},
|
||||
};
|
||||
|
||||
type StreamEvents = {
|
||||
@@ -44,7 +45,6 @@ type StreamEvents = {
|
||||
'state.starting': {};
|
||||
'state.playing': { $video?: HTMLVideoElement };
|
||||
'state.stopped': {};
|
||||
'state.error': {};
|
||||
|
||||
'xboxTitleId.changed': {
|
||||
id: number;
|
||||
@@ -68,7 +68,7 @@ type StreamEvents = {
|
||||
// Inside patch
|
||||
'microphone.state.changed': { state: MicrophoneState };
|
||||
|
||||
'ui.streamHud.expanded': { state: 'expanded' | 'collapsed' },
|
||||
'ui.streamHud.rendered': { expanded: boolean },
|
||||
|
||||
dataChannelCreated: { dataChannel: RTCDataChannel };
|
||||
};
|
||||
|
Reference in New Issue
Block a user