@decky/ui 4.9.2 → 4.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Menu.js +5 -3
- package/dist/globals/SteamClient.d.ts +1 -304
- package/dist/globals/steam-client/App.d.ts +880 -0
- package/dist/globals/steam-client/App.js +320 -0
- package/dist/globals/steam-client/Auth.d.ts +57 -0
- package/dist/globals/steam-client/Auth.js +19 -0
- package/dist/globals/steam-client/Broadcast.d.ts +22 -0
- package/dist/globals/steam-client/Broadcast.js +1 -0
- package/dist/globals/steam-client/Browser.d.ts +45 -0
- package/dist/globals/steam-client/Browser.js +17 -0
- package/dist/globals/steam-client/ClientNotifications.d.ts +20 -0
- package/dist/globals/steam-client/ClientNotifications.js +6 -0
- package/dist/globals/steam-client/Cloud.d.ts +4 -0
- package/dist/globals/steam-client/Cloud.js +1 -0
- package/dist/globals/steam-client/CommunityItems.d.ts +5 -0
- package/dist/globals/steam-client/CommunityItems.js +1 -0
- package/dist/globals/steam-client/Console.d.ts +11 -0
- package/dist/globals/steam-client/Console.js +1 -0
- package/dist/globals/steam-client/Customization.d.ts +8 -0
- package/dist/globals/steam-client/Customization.js +1 -0
- package/dist/globals/steam-client/Downloads.d.ts +63 -0
- package/dist/globals/steam-client/Downloads.js +1 -0
- package/dist/globals/steam-client/FamilySharing.d.ts +20 -0
- package/dist/globals/steam-client/FamilySharing.js +1 -0
- package/dist/globals/steam-client/FriendSettings.d.ts +49 -0
- package/dist/globals/steam-client/FriendSettings.js +6 -0
- package/dist/globals/steam-client/Friends.d.ts +27 -0
- package/dist/globals/steam-client/Friends.js +1 -0
- package/dist/globals/steam-client/GameNotes.d.ts +41 -0
- package/dist/globals/steam-client/GameNotes.js +1 -0
- package/dist/globals/steam-client/GameRecording.d.ts +20 -0
- package/dist/globals/steam-client/GameRecording.js +1 -0
- package/dist/globals/steam-client/GameSessions.d.ts +26 -0
- package/dist/globals/steam-client/GameSessions.js +1 -0
- package/dist/globals/steam-client/Input.d.ts +421 -0
- package/dist/globals/steam-client/Input.js +170 -0
- package/dist/globals/steam-client/InstallFolder.d.ts +57 -0
- package/dist/globals/steam-client/InstallFolder.js +1 -0
- package/dist/globals/steam-client/Installs.d.ts +60 -0
- package/dist/globals/steam-client/Installs.js +20 -0
- package/dist/globals/steam-client/Messaging.d.ts +5 -0
- package/dist/globals/steam-client/Messaging.js +1 -0
- package/dist/globals/steam-client/Music.d.ts +36 -0
- package/dist/globals/steam-client/Music.js +14 -0
- package/dist/globals/steam-client/Notifications.d.ts +260 -0
- package/dist/globals/steam-client/Notifications.js +73 -0
- package/dist/globals/steam-client/OpenVR.d.ts +85 -0
- package/dist/globals/steam-client/OpenVR.js +16 -0
- package/dist/globals/steam-client/Overlay.d.ts +58 -0
- package/dist/globals/steam-client/Overlay.js +18 -0
- package/dist/globals/steam-client/Parental.d.ts +69 -0
- package/dist/globals/steam-client/Parental.js +19 -0
- package/dist/globals/steam-client/RemotePlay.d.ts +225 -0
- package/dist/globals/steam-client/RemotePlay.js +71 -0
- package/dist/globals/steam-client/Screenshots.d.ts +47 -0
- package/dist/globals/steam-client/Screenshots.js +8 -0
- package/dist/globals/steam-client/ServerBrowser.d.ts +117 -0
- package/dist/globals/steam-client/ServerBrowser.js +26 -0
- package/dist/globals/steam-client/Settings.d.ts +398 -0
- package/dist/globals/steam-client/Settings.js +96 -0
- package/dist/globals/steam-client/SharedConnection.d.ts +22 -0
- package/dist/globals/steam-client/SharedConnection.js +1 -0
- package/dist/globals/steam-client/Stats.d.ts +4 -0
- package/dist/globals/steam-client/Stats.js +1 -0
- package/dist/globals/steam-client/SteamChina.d.ts +3 -0
- package/dist/globals/steam-client/SteamChina.js +1 -0
- package/dist/globals/steam-client/Storage.d.ts +8 -0
- package/dist/globals/steam-client/Storage.js +1 -0
- package/dist/globals/steam-client/Streaming.d.ts +15 -0
- package/dist/globals/steam-client/Streaming.js +1 -0
- package/dist/globals/steam-client/UI.d.ts +44 -0
- package/dist/globals/steam-client/UI.js +12 -0
- package/dist/globals/steam-client/URL.d.ts +16 -0
- package/dist/globals/steam-client/URL.js +1 -0
- package/dist/globals/steam-client/Updates.d.ts +68 -0
- package/dist/globals/steam-client/Updates.js +34 -0
- package/dist/globals/steam-client/User.d.ts +130 -0
- package/dist/globals/steam-client/User.js +33 -0
- package/dist/globals/steam-client/WebChat.d.ts +60 -0
- package/dist/globals/steam-client/WebChat.js +6 -0
- package/dist/globals/steam-client/WebUITransport.d.ts +11 -0
- package/dist/globals/steam-client/WebUITransport.js +1 -0
- package/dist/globals/steam-client/Window.d.ts +66 -0
- package/dist/globals/steam-client/Window.js +6 -0
- package/dist/globals/steam-client/browser-view/BrowserViewPopup.d.ts +124 -0
- package/dist/globals/steam-client/browser-view/BrowserViewPopup.js +35 -0
- package/dist/globals/steam-client/browser-view/index.d.ts +20 -0
- package/dist/globals/steam-client/browser-view/index.js +1 -0
- package/dist/globals/steam-client/index.d.ts +89 -0
- package/dist/globals/steam-client/index.js +1 -0
- package/dist/globals/steam-client/shared.d.ts +166 -0
- package/dist/globals/steam-client/shared.js +146 -0
- package/dist/globals/steam-client/system/Audio.d.ts +42 -0
- package/dist/globals/steam-client/system/Audio.js +1 -0
- package/dist/globals/steam-client/system/AudioDevice.d.ts +92 -0
- package/dist/globals/steam-client/system/AudioDevice.js +33 -0
- package/dist/globals/steam-client/system/Bluetooth.d.ts +47 -0
- package/dist/globals/steam-client/system/Bluetooth.js +15 -0
- package/dist/globals/steam-client/system/Devkit.d.ts +7 -0
- package/dist/globals/steam-client/system/Devkit.js +1 -0
- package/dist/globals/steam-client/system/Display.d.ts +10 -0
- package/dist/globals/steam-client/system/Display.js +1 -0
- package/dist/globals/steam-client/system/DisplayManager.d.ts +9 -0
- package/dist/globals/steam-client/system/DisplayManager.js +1 -0
- package/dist/globals/steam-client/system/Dock.d.ts +19 -0
- package/dist/globals/steam-client/system/Dock.js +1 -0
- package/dist/globals/steam-client/system/Perf.d.ts +159 -0
- package/dist/globals/steam-client/system/Perf.js +53 -0
- package/dist/globals/steam-client/system/Report.d.ts +13 -0
- package/dist/globals/steam-client/system/Report.js +1 -0
- package/dist/globals/steam-client/system/UI.d.ts +28 -0
- package/dist/globals/steam-client/system/UI.js +1 -0
- package/dist/globals/steam-client/system/index.d.ts +243 -0
- package/dist/globals/steam-client/system/index.js +111 -0
- package/dist/globals/steam-client/system/network/Device.d.ts +10 -0
- package/dist/globals/steam-client/system/network/Device.js +1 -0
- package/dist/globals/steam-client/system/network/index.d.ts +312 -0
- package/dist/globals/steam-client/system/network/index.js +55 -0
- package/dist/globals/stores.d.ts +26 -13
- package/dist/modules/Router.d.ts +2 -39
- package/dist/modules/Router.js +0 -39
- package/package.json +1 -1
- package/src/components/Menu.ts +7 -8
- package/src/globals/SteamClient.ts +4 -320
- package/src/globals/steam-client/App.ts +1749 -0
- package/src/globals/steam-client/Auth.ts +105 -0
- package/src/globals/steam-client/Broadcast.ts +56 -0
- package/src/globals/steam-client/Browser.ts +91 -0
- package/src/globals/steam-client/ClientNotifications.ts +39 -0
- package/src/globals/steam-client/Cloud.ts +14 -0
- package/src/globals/steam-client/CommunityItems.ts +24 -0
- package/src/globals/steam-client/Console.ts +43 -0
- package/src/globals/steam-client/Customization.ts +12 -0
- package/src/globals/steam-client/Downloads.ts +175 -0
- package/src/globals/steam-client/FamilySharing.ts +30 -0
- package/src/globals/steam-client/FriendSettings.ts +80 -0
- package/src/globals/steam-client/Friends.ts +70 -0
- package/src/globals/steam-client/GameNotes.ts +73 -0
- package/src/globals/steam-client/GameRecording.ts +29 -0
- package/src/globals/steam-client/GameSessions.ts +59 -0
- package/src/globals/steam-client/Input.ts +762 -0
- package/src/globals/steam-client/InstallFolder.ts +167 -0
- package/src/globals/steam-client/Installs.ts +131 -0
- package/src/globals/steam-client/Messaging.ts +20 -0
- package/src/globals/steam-client/Music.ts +99 -0
- package/src/globals/steam-client/Notifications.ts +333 -0
- package/src/globals/steam-client/OpenVR.ts +122 -0
- package/src/globals/steam-client/Overlay.ts +172 -0
- package/src/globals/steam-client/Parental.ts +129 -0
- package/src/globals/steam-client/RemotePlay.ts +342 -0
- package/src/globals/steam-client/Screenshots.ts +149 -0
- package/src/globals/steam-client/ServerBrowser.ts +372 -0
- package/src/globals/steam-client/Settings.ts +663 -0
- package/src/globals/steam-client/SharedConnection.ts +43 -0
- package/src/globals/steam-client/Stats.ts +10 -0
- package/src/globals/steam-client/SteamChina.ts +3 -0
- package/src/globals/steam-client/Storage.ts +24 -0
- package/src/globals/steam-client/Streaming.ts +59 -0
- package/src/globals/steam-client/UI.ts +90 -0
- package/src/globals/steam-client/URL.ts +174 -0
- package/src/globals/steam-client/Updates.ts +101 -0
- package/src/globals/steam-client/User.ts +266 -0
- package/src/globals/steam-client/WebChat.ts +164 -0
- package/src/globals/steam-client/WebUITransport.ts +21 -0
- package/src/globals/steam-client/Window.ts +235 -0
- package/src/globals/steam-client/browser-view/BrowserViewPopup.ts +393 -0
- package/src/globals/steam-client/browser-view/index.ts +54 -0
- package/src/globals/steam-client/index.ts +90 -0
- package/src/globals/steam-client/shared.ts +262 -0
- package/src/globals/steam-client/system/Audio.ts +202 -0
- package/src/globals/steam-client/system/AudioDevice.ts +116 -0
- package/src/globals/steam-client/system/Bluetooth.ts +171 -0
- package/src/globals/steam-client/system/Devkit.ts +11 -0
- package/src/globals/steam-client/system/Display.ts +15 -0
- package/src/globals/steam-client/system/DisplayManager.ts +16 -0
- package/src/globals/steam-client/system/Dock.ts +34 -0
- package/src/globals/steam-client/system/Perf.ts +194 -0
- package/src/globals/steam-client/system/Report.ts +39 -0
- package/src/globals/steam-client/system/UI.ts +38 -0
- package/src/globals/steam-client/system/index.ts +390 -0
- package/src/globals/steam-client/system/network/Device.ts +17 -0
- package/src/globals/steam-client/system/network/index.ts +403 -0
- package/src/globals/stores.ts +30 -13
- package/src/modules/Router.ts +2 -40
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export var EClientNotificationType;
|
|
2
|
+
(function (EClientNotificationType) {
|
|
3
|
+
EClientNotificationType[EClientNotificationType["Invalid"] = 0] = "Invalid";
|
|
4
|
+
EClientNotificationType[EClientNotificationType["DownloadComplete"] = 1] = "DownloadComplete";
|
|
5
|
+
EClientNotificationType[EClientNotificationType["FriendInvite"] = 2] = "FriendInvite";
|
|
6
|
+
EClientNotificationType[EClientNotificationType["FriendInGame"] = 3] = "FriendInGame";
|
|
7
|
+
EClientNotificationType[EClientNotificationType["FriendOnline"] = 4] = "FriendOnline";
|
|
8
|
+
EClientNotificationType[EClientNotificationType["Achievement"] = 5] = "Achievement";
|
|
9
|
+
EClientNotificationType[EClientNotificationType["LowBattery"] = 6] = "LowBattery";
|
|
10
|
+
EClientNotificationType[EClientNotificationType["SystemUpdate"] = 7] = "SystemUpdate";
|
|
11
|
+
EClientNotificationType[EClientNotificationType["FriendMessage"] = 8] = "FriendMessage";
|
|
12
|
+
EClientNotificationType[EClientNotificationType["GroupChatMessage"] = 9] = "GroupChatMessage";
|
|
13
|
+
EClientNotificationType[EClientNotificationType["FriendInviteRollup"] = 10] = "FriendInviteRollup";
|
|
14
|
+
EClientNotificationType[EClientNotificationType["FamilySharingDeviceAuthorizationChanged"] = 11] = "FamilySharingDeviceAuthorizationChanged";
|
|
15
|
+
EClientNotificationType[EClientNotificationType["FamilySharingStopPlaying"] = 12] = "FamilySharingStopPlaying";
|
|
16
|
+
EClientNotificationType[EClientNotificationType["FamilySharingLibraryAvailable"] = 13] = "FamilySharingLibraryAvailable";
|
|
17
|
+
EClientNotificationType[EClientNotificationType["Screenshot"] = 14] = "Screenshot";
|
|
18
|
+
EClientNotificationType[EClientNotificationType["CloudSyncFailure"] = 15] = "CloudSyncFailure";
|
|
19
|
+
EClientNotificationType[EClientNotificationType["CloudSyncConflict"] = 16] = "CloudSyncConflict";
|
|
20
|
+
EClientNotificationType[EClientNotificationType["IncomingVoiceChat"] = 17] = "IncomingVoiceChat";
|
|
21
|
+
EClientNotificationType[EClientNotificationType["ClaimSteamDeckRewards"] = 18] = "ClaimSteamDeckRewards";
|
|
22
|
+
EClientNotificationType[EClientNotificationType["GiftReceived"] = 19] = "GiftReceived";
|
|
23
|
+
EClientNotificationType[EClientNotificationType["ItemAnnouncement"] = 20] = "ItemAnnouncement";
|
|
24
|
+
EClientNotificationType[EClientNotificationType["HardwareSurvey"] = 21] = "HardwareSurvey";
|
|
25
|
+
EClientNotificationType[EClientNotificationType["LowDiskSpace"] = 22] = "LowDiskSpace";
|
|
26
|
+
EClientNotificationType[EClientNotificationType["BatteryTemperature"] = 23] = "BatteryTemperature";
|
|
27
|
+
EClientNotificationType[EClientNotificationType["DockUnsupportedFirmware"] = 24] = "DockUnsupportedFirmware";
|
|
28
|
+
EClientNotificationType[EClientNotificationType["PeerContentUpload"] = 25] = "PeerContentUpload";
|
|
29
|
+
EClientNotificationType[EClientNotificationType["CannotReadControllerGuideButton"] = 26] = "CannotReadControllerGuideButton";
|
|
30
|
+
EClientNotificationType[EClientNotificationType["Comment"] = 27] = "Comment";
|
|
31
|
+
EClientNotificationType[EClientNotificationType["Wishlist"] = 28] = "Wishlist";
|
|
32
|
+
EClientNotificationType[EClientNotificationType["TradeOffer"] = 29] = "TradeOffer";
|
|
33
|
+
EClientNotificationType[EClientNotificationType["AsyncGame"] = 30] = "AsyncGame";
|
|
34
|
+
EClientNotificationType[EClientNotificationType["General"] = 31] = "General";
|
|
35
|
+
EClientNotificationType[EClientNotificationType["HelpRequest"] = 32] = "HelpRequest";
|
|
36
|
+
EClientNotificationType[EClientNotificationType["OverlaySplashScreen"] = 33] = "OverlaySplashScreen";
|
|
37
|
+
EClientNotificationType[EClientNotificationType["BroadcastAvailableToWatch"] = 34] = "BroadcastAvailableToWatch";
|
|
38
|
+
EClientNotificationType[EClientNotificationType["TimedTrialRemaining"] = 35] = "TimedTrialRemaining";
|
|
39
|
+
EClientNotificationType[EClientNotificationType["LoginRefresh"] = 36] = "LoginRefresh";
|
|
40
|
+
EClientNotificationType[EClientNotificationType["MajorSale"] = 37] = "MajorSale";
|
|
41
|
+
EClientNotificationType[EClientNotificationType["TimerExpired"] = 38] = "TimerExpired";
|
|
42
|
+
EClientNotificationType[EClientNotificationType["ModeratorMsg"] = 39] = "ModeratorMsg";
|
|
43
|
+
EClientNotificationType[EClientNotificationType["SteamInputActionSetChanged"] = 40] = "SteamInputActionSetChanged";
|
|
44
|
+
EClientNotificationType[EClientNotificationType["RemoteClientConnection"] = 41] = "RemoteClientConnection";
|
|
45
|
+
EClientNotificationType[EClientNotificationType["RemoteClientStartStream"] = 42] = "RemoteClientStartStream";
|
|
46
|
+
EClientNotificationType[EClientNotificationType["StreamingClientConnection"] = 43] = "StreamingClientConnection";
|
|
47
|
+
EClientNotificationType[EClientNotificationType["FamilyInvite"] = 44] = "FamilyInvite";
|
|
48
|
+
EClientNotificationType[EClientNotificationType["PlaytimeWarning"] = 45] = "PlaytimeWarning";
|
|
49
|
+
EClientNotificationType[EClientNotificationType["FamilyPurchaseRequest"] = 46] = "FamilyPurchaseRequest";
|
|
50
|
+
EClientNotificationType[EClientNotificationType["FamilyPurchaseRequestResponse"] = 47] = "FamilyPurchaseRequestResponse";
|
|
51
|
+
EClientNotificationType[EClientNotificationType["ParentalFeatureRequest"] = 48] = "ParentalFeatureRequest";
|
|
52
|
+
EClientNotificationType[EClientNotificationType["ParentalPlaytimeRequest"] = 49] = "ParentalPlaytimeRequest";
|
|
53
|
+
EClientNotificationType[EClientNotificationType["GameRecordingError"] = 50] = "GameRecordingError";
|
|
54
|
+
EClientNotificationType[EClientNotificationType["ParentalFeatureResponse"] = 51] = "ParentalFeatureResponse";
|
|
55
|
+
EClientNotificationType[EClientNotificationType["ParentalPlaytimeResponse"] = 52] = "ParentalPlaytimeResponse";
|
|
56
|
+
EClientNotificationType[EClientNotificationType["RequestedGameAdded"] = 53] = "RequestedGameAdded";
|
|
57
|
+
EClientNotificationType[EClientNotificationType["ClipDownloaded"] = 54] = "ClipDownloaded";
|
|
58
|
+
EClientNotificationType[EClientNotificationType["GameRecordingStart"] = 55] = "GameRecordingStart";
|
|
59
|
+
EClientNotificationType[EClientNotificationType["GameRecordingStop"] = 56] = "GameRecordingStop";
|
|
60
|
+
EClientNotificationType[EClientNotificationType["GameRecordingUserMarkerAdded"] = 57] = "GameRecordingUserMarkerAdded";
|
|
61
|
+
EClientNotificationType[EClientNotificationType["GameRecordingInstantClip"] = 58] = "GameRecordingInstantClip";
|
|
62
|
+
})(EClientNotificationType || (EClientNotificationType = {}));
|
|
63
|
+
export var ESystemUpdateNotificationType;
|
|
64
|
+
(function (ESystemUpdateNotificationType) {
|
|
65
|
+
ESystemUpdateNotificationType[ESystemUpdateNotificationType["Invalid"] = 0] = "Invalid";
|
|
66
|
+
ESystemUpdateNotificationType[ESystemUpdateNotificationType["Available"] = 1] = "Available";
|
|
67
|
+
ESystemUpdateNotificationType[ESystemUpdateNotificationType["NeedsRestart"] = 2] = "NeedsRestart";
|
|
68
|
+
})(ESystemUpdateNotificationType || (ESystemUpdateNotificationType = {}));
|
|
69
|
+
export var EGameRecordingErrorType;
|
|
70
|
+
(function (EGameRecordingErrorType) {
|
|
71
|
+
EGameRecordingErrorType[EGameRecordingErrorType["General"] = 1] = "General";
|
|
72
|
+
EGameRecordingErrorType[EGameRecordingErrorType["LowDiskSpace"] = 2] = "LowDiskSpace";
|
|
73
|
+
})(EGameRecordingErrorType || (EGameRecordingErrorType = {}));
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Unregisterable } from "./shared";
|
|
2
|
+
export interface OpenVR {
|
|
3
|
+
Device: VRDevice;
|
|
4
|
+
DeviceProperties: DeviceProperties;
|
|
5
|
+
GetMutualCapabilities(): Promise<any>;
|
|
6
|
+
GetWebSecret(): Promise<string>;
|
|
7
|
+
InstallVR(): any;
|
|
8
|
+
Keyboard: Keyboard;
|
|
9
|
+
PathProperties: PathProperties;
|
|
10
|
+
QuitAllVR(): any;
|
|
11
|
+
RegisterForButtonPress: Unregisterable;
|
|
12
|
+
RegisterForHMDActivityLevelChanged(callback: (m_eHMDActivityLevel: EHMDActivityLevel) => void): Unregisterable;
|
|
13
|
+
RegisterForInstallDialog: Unregisterable;
|
|
14
|
+
RegisterForStartupErrors(callback: (clientError: any, initError: any, initErrorString: string) => void): Unregisterable;
|
|
15
|
+
RegisterForVRHardwareDetected(callback: (m_bHMDPresent: any, m_bHMDHardwareDetected: any, m_strHMDName: any) => void): Unregisterable;
|
|
16
|
+
RegisterForVRModeChange(callback: (m_bIsVRRunning: boolean) => void): Unregisterable;
|
|
17
|
+
RegisterForVRSceneAppChange(callback: (param0: number) => void): Unregisterable;
|
|
18
|
+
SetOverlayInteractionAffordance: any;
|
|
19
|
+
StartVR: any;
|
|
20
|
+
TriggerOverlayHapticEffect: any;
|
|
21
|
+
VRNotifications: VRNotifications;
|
|
22
|
+
VROverlay: VROverlay;
|
|
23
|
+
}
|
|
24
|
+
export interface VRDevice {
|
|
25
|
+
BIsConnected: any;
|
|
26
|
+
RegisterForDeviceConnectivityChange: Unregisterable;
|
|
27
|
+
RegisterForVRDeviceSeenRecently(callback: (m_bVRDeviceSeenRecently: any) => void): Unregisterable;
|
|
28
|
+
}
|
|
29
|
+
export interface DeviceProperties {
|
|
30
|
+
GetBoolDeviceProperty: any;
|
|
31
|
+
GetDoubleDeviceProperty: any;
|
|
32
|
+
GetFloatDeviceProperty: any;
|
|
33
|
+
GetInt32DeviceProperty: any;
|
|
34
|
+
GetStringDeviceProperty: any;
|
|
35
|
+
RegisterForDevicePropertyChange: Unregisterable;
|
|
36
|
+
}
|
|
37
|
+
export interface Keyboard {
|
|
38
|
+
Hide(): any;
|
|
39
|
+
RegisterForStatus(callback: (m_bIsKeyboardOpen: boolean, m_eKeyboardFlags: number, m_sInitialKeyboardText: string) => void): Unregisterable;
|
|
40
|
+
SendDone(): any;
|
|
41
|
+
SendText(key: string): any;
|
|
42
|
+
Show(): any;
|
|
43
|
+
}
|
|
44
|
+
export interface PathProperties {
|
|
45
|
+
GetBoolPathProperty: any;
|
|
46
|
+
GetDoublePathProperty: any;
|
|
47
|
+
GetFloatPathProperty: any;
|
|
48
|
+
GetInt32PathProperty: any;
|
|
49
|
+
GetStringPathProperty: any;
|
|
50
|
+
RegisterForPathPropertyChange: any;
|
|
51
|
+
SetBoolPathProperty: any;
|
|
52
|
+
SetDoublePathProperty: any;
|
|
53
|
+
SetFloatPathProperty: any;
|
|
54
|
+
SetInt32PathProperty: any;
|
|
55
|
+
SetStringPathProperty: any;
|
|
56
|
+
}
|
|
57
|
+
export interface VRNotifications {
|
|
58
|
+
HideCustomNotification: any;
|
|
59
|
+
RegisterForNotificationEvent: Unregisterable;
|
|
60
|
+
ShowCustomNotification: any;
|
|
61
|
+
}
|
|
62
|
+
export interface VROverlay {
|
|
63
|
+
HideDashboard: any;
|
|
64
|
+
IsDashboardVisible(): Promise<boolean>;
|
|
65
|
+
RegisterForButtonPress: Unregisterable;
|
|
66
|
+
RegisterForCursorMovement: Unregisterable;
|
|
67
|
+
RegisterForThumbnailChanged: Unregisterable;
|
|
68
|
+
RegisterForVisibilityChanged: Unregisterable;
|
|
69
|
+
ShowDashboard: any;
|
|
70
|
+
SwitchToDashboardOverlay(param0: string): void;
|
|
71
|
+
}
|
|
72
|
+
export declare enum EHMDActivityLevel {
|
|
73
|
+
Unknown = -1,
|
|
74
|
+
Idle = 0,
|
|
75
|
+
UserInteraction = 1,
|
|
76
|
+
UserInteraction_Timeout = 2,
|
|
77
|
+
Standby = 3,
|
|
78
|
+
Idle_Timeout = 4
|
|
79
|
+
}
|
|
80
|
+
export declare enum EKeyboardFlags {
|
|
81
|
+
Minimal = 1,
|
|
82
|
+
Modal = 2,
|
|
83
|
+
ShowArrowKeys = 4,
|
|
84
|
+
HideDoneKey = 8
|
|
85
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export var EHMDActivityLevel;
|
|
2
|
+
(function (EHMDActivityLevel) {
|
|
3
|
+
EHMDActivityLevel[EHMDActivityLevel["Unknown"] = -1] = "Unknown";
|
|
4
|
+
EHMDActivityLevel[EHMDActivityLevel["Idle"] = 0] = "Idle";
|
|
5
|
+
EHMDActivityLevel[EHMDActivityLevel["UserInteraction"] = 1] = "UserInteraction";
|
|
6
|
+
EHMDActivityLevel[EHMDActivityLevel["UserInteraction_Timeout"] = 2] = "UserInteraction_Timeout";
|
|
7
|
+
EHMDActivityLevel[EHMDActivityLevel["Standby"] = 3] = "Standby";
|
|
8
|
+
EHMDActivityLevel[EHMDActivityLevel["Idle_Timeout"] = 4] = "Idle_Timeout";
|
|
9
|
+
})(EHMDActivityLevel || (EHMDActivityLevel = {}));
|
|
10
|
+
export var EKeyboardFlags;
|
|
11
|
+
(function (EKeyboardFlags) {
|
|
12
|
+
EKeyboardFlags[EKeyboardFlags["Minimal"] = 1] = "Minimal";
|
|
13
|
+
EKeyboardFlags[EKeyboardFlags["Modal"] = 2] = "Modal";
|
|
14
|
+
EKeyboardFlags[EKeyboardFlags["ShowArrowKeys"] = 4] = "ShowArrowKeys";
|
|
15
|
+
EKeyboardFlags[EKeyboardFlags["HideDoneKey"] = 8] = "HideDoneKey";
|
|
16
|
+
})(EKeyboardFlags || (EKeyboardFlags = {}));
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { EBrowserType, ESteamRealm, EUIComposition, EUIMode, Unregisterable } from "./shared";
|
|
2
|
+
export interface Overlay {
|
|
3
|
+
DestroyGamePadUIDesktopConfiguratorWindow(): void;
|
|
4
|
+
GetOverlayBrowserInfo(): Promise<OverlayBrowserInfo[]>;
|
|
5
|
+
HandleGameWebCallback(url: string): void;
|
|
6
|
+
HandleProtocolForOverlayBrowser(appId: number, protocol: string): void;
|
|
7
|
+
RegisterForActivateOverlayRequests(callback: (request: ActivateOverlayRequest) => void): Unregisterable;
|
|
8
|
+
RegisterForMicroTxnAuth(callback: (appId: number, microTxnId: string, realm: ESteamRealm, microTxnUrl: string) => void): Unregisterable;
|
|
9
|
+
RegisterForMicroTxnAuthDismiss(callback: (appId: number, microTxnId: string) => void): Unregisterable;
|
|
10
|
+
RegisterForNotificationPositionChanged(callback: (appId: number, position: ENotificationPosition, horizontalInset: number, verticalInset: number) => void): Unregisterable;
|
|
11
|
+
RegisterForOverlayActivated(callback: (overlayProcessPid: number, appId: number, active: boolean, param3: boolean) => void): Unregisterable;
|
|
12
|
+
RegisterForOverlayBrowserProtocols(callback: (browseProtocols: OverlayBrowserProtocols) => void): Unregisterable;
|
|
13
|
+
RegisterOverlayBrowserInfoChanged(callback: () => void): Unregisterable;
|
|
14
|
+
SetOverlayState(appId: string, state: EUIComposition): void;
|
|
15
|
+
}
|
|
16
|
+
type OverlayRequestDialog_t = 'achievements' | 'asyncnotificationsrequested' | 'chat' | 'community' | 'friendadd' | 'friendremove' | 'friendrequestaccept' | 'friendrequestignore' | 'friendremove' | 'jointrade' | 'leaderboards' | 'lobbyinvite' | 'lobbyinviteconnectstring' | 'officialgamegroup' | 'requestplaytime' | 'remoteplaytogether' | 'remoteplaytogetherinvite' | 'settings' | 'stats' | 'steamid' | 'store';
|
|
17
|
+
export declare enum ENotificationPosition {
|
|
18
|
+
TopLeft = 0,
|
|
19
|
+
TopRight = 1,
|
|
20
|
+
BottomLeft = 2,
|
|
21
|
+
BottomRight = 3
|
|
22
|
+
}
|
|
23
|
+
export interface ActivateOverlayRequest {
|
|
24
|
+
appid: number;
|
|
25
|
+
bWebPage: boolean;
|
|
26
|
+
eFlag: EOverlayToStoreFlag;
|
|
27
|
+
eWebPageMode: EActivateGameOverlayToWebPageMode;
|
|
28
|
+
steamidTarget: string;
|
|
29
|
+
strConnectString: string;
|
|
30
|
+
strDialog: OverlayRequestDialog_t;
|
|
31
|
+
unRequestingAppID: number;
|
|
32
|
+
}
|
|
33
|
+
export interface OverlayBrowserInfo {
|
|
34
|
+
appID: number;
|
|
35
|
+
eBrowserType: EBrowserType;
|
|
36
|
+
eUIMode: EUIMode;
|
|
37
|
+
flDisplayScale?: number;
|
|
38
|
+
gameID: string;
|
|
39
|
+
nBrowserID: number;
|
|
40
|
+
nScreenHeight: number;
|
|
41
|
+
nScreenWidth: number;
|
|
42
|
+
unPID: number;
|
|
43
|
+
}
|
|
44
|
+
export interface OverlayBrowserProtocols {
|
|
45
|
+
unAppID: number;
|
|
46
|
+
strScheme: string;
|
|
47
|
+
bAdded: boolean;
|
|
48
|
+
}
|
|
49
|
+
export declare enum EActivateGameOverlayToWebPageMode {
|
|
50
|
+
Default = 0,
|
|
51
|
+
Modal = 1
|
|
52
|
+
}
|
|
53
|
+
export declare enum EOverlayToStoreFlag {
|
|
54
|
+
None = 0,
|
|
55
|
+
AddToCart = 1,
|
|
56
|
+
AddToCartAndShow = 2
|
|
57
|
+
}
|
|
58
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export var ENotificationPosition;
|
|
2
|
+
(function (ENotificationPosition) {
|
|
3
|
+
ENotificationPosition[ENotificationPosition["TopLeft"] = 0] = "TopLeft";
|
|
4
|
+
ENotificationPosition[ENotificationPosition["TopRight"] = 1] = "TopRight";
|
|
5
|
+
ENotificationPosition[ENotificationPosition["BottomLeft"] = 2] = "BottomLeft";
|
|
6
|
+
ENotificationPosition[ENotificationPosition["BottomRight"] = 3] = "BottomRight";
|
|
7
|
+
})(ENotificationPosition || (ENotificationPosition = {}));
|
|
8
|
+
export var EActivateGameOverlayToWebPageMode;
|
|
9
|
+
(function (EActivateGameOverlayToWebPageMode) {
|
|
10
|
+
EActivateGameOverlayToWebPageMode[EActivateGameOverlayToWebPageMode["Default"] = 0] = "Default";
|
|
11
|
+
EActivateGameOverlayToWebPageMode[EActivateGameOverlayToWebPageMode["Modal"] = 1] = "Modal";
|
|
12
|
+
})(EActivateGameOverlayToWebPageMode || (EActivateGameOverlayToWebPageMode = {}));
|
|
13
|
+
export var EOverlayToStoreFlag;
|
|
14
|
+
(function (EOverlayToStoreFlag) {
|
|
15
|
+
EOverlayToStoreFlag[EOverlayToStoreFlag["None"] = 0] = "None";
|
|
16
|
+
EOverlayToStoreFlag[EOverlayToStoreFlag["AddToCart"] = 1] = "AddToCart";
|
|
17
|
+
EOverlayToStoreFlag[EOverlayToStoreFlag["AddToCartAndShow"] = 2] = "AddToCartAndShow";
|
|
18
|
+
})(EOverlayToStoreFlag || (EOverlayToStoreFlag = {}));
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { EResult, Unregisterable } from "./shared";
|
|
2
|
+
export interface Parental {
|
|
3
|
+
LockParentalLock(): void;
|
|
4
|
+
RegisterForParentalPlaytimeWarnings(callback: (time: number) => void): Unregisterable;
|
|
5
|
+
RegisterForParentalSettingsChanges(callback: (settings: ParentalSettings) => void): Unregisterable;
|
|
6
|
+
UnlockParentalLock(pin: string, param1: boolean): Promise<EResult>;
|
|
7
|
+
}
|
|
8
|
+
export interface ParentalSettings {
|
|
9
|
+
ever_enabled: boolean;
|
|
10
|
+
locked: boolean;
|
|
11
|
+
settings: ArrayBuffer;
|
|
12
|
+
strPlaintextPassword: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ParentalSettingsProtoMsg {
|
|
15
|
+
steamid?: number;
|
|
16
|
+
applist_base_id?: number;
|
|
17
|
+
applist_base_description?: string;
|
|
18
|
+
applist_base: ParentalApp[];
|
|
19
|
+
applist_custom: ParentalApp[];
|
|
20
|
+
passwordhashtype?: number;
|
|
21
|
+
salt?: number;
|
|
22
|
+
passwordhash?: number;
|
|
23
|
+
is_enabled?: boolean;
|
|
24
|
+
enabled_features?: number;
|
|
25
|
+
recovery_email?: string;
|
|
26
|
+
is_site_license_lock?: boolean;
|
|
27
|
+
temporary_enabled_features?: number;
|
|
28
|
+
rtime_temporary_feature_expiration?: number;
|
|
29
|
+
playtime_restrictions?: ParentalPlaytimeRestrictions;
|
|
30
|
+
temporary_playtime_restrictions?: ParentalTemporaryPlaytimeRestrictions;
|
|
31
|
+
excluded_store_content_descriptors: number[];
|
|
32
|
+
excluded_community_content_descriptors: number[];
|
|
33
|
+
utility_appids: number[];
|
|
34
|
+
}
|
|
35
|
+
interface ParentalApp {
|
|
36
|
+
appid: number;
|
|
37
|
+
is_allowed: boolean;
|
|
38
|
+
}
|
|
39
|
+
interface ParentalPlaytimeDay {
|
|
40
|
+
allowed_time_windows?: number;
|
|
41
|
+
allowed_daily_minutes?: number;
|
|
42
|
+
}
|
|
43
|
+
interface ParentalPlaytimeRestrictions {
|
|
44
|
+
apply_playtime_restrictions?: boolean;
|
|
45
|
+
playtime_days: ParentalPlaytimeDay[];
|
|
46
|
+
}
|
|
47
|
+
interface ParentalTemporaryPlaytimeRestrictions {
|
|
48
|
+
restrictions?: ParentalPlaytimeDay;
|
|
49
|
+
rtime_expires?: number;
|
|
50
|
+
}
|
|
51
|
+
export declare enum EParentalFeature {
|
|
52
|
+
Invalid = 0,
|
|
53
|
+
Store = 1,
|
|
54
|
+
Community = 2,
|
|
55
|
+
Profile = 3,
|
|
56
|
+
Friends = 4,
|
|
57
|
+
News = 5,
|
|
58
|
+
Trading = 6,
|
|
59
|
+
Settings = 7,
|
|
60
|
+
Console = 8,
|
|
61
|
+
Browser = 9,
|
|
62
|
+
ParentalSetup = 10,
|
|
63
|
+
Library = 11,
|
|
64
|
+
Test = 12,
|
|
65
|
+
SiteLicense = 13,
|
|
66
|
+
KioskMode = 14,
|
|
67
|
+
Max = 15
|
|
68
|
+
}
|
|
69
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export var EParentalFeature;
|
|
2
|
+
(function (EParentalFeature) {
|
|
3
|
+
EParentalFeature[EParentalFeature["Invalid"] = 0] = "Invalid";
|
|
4
|
+
EParentalFeature[EParentalFeature["Store"] = 1] = "Store";
|
|
5
|
+
EParentalFeature[EParentalFeature["Community"] = 2] = "Community";
|
|
6
|
+
EParentalFeature[EParentalFeature["Profile"] = 3] = "Profile";
|
|
7
|
+
EParentalFeature[EParentalFeature["Friends"] = 4] = "Friends";
|
|
8
|
+
EParentalFeature[EParentalFeature["News"] = 5] = "News";
|
|
9
|
+
EParentalFeature[EParentalFeature["Trading"] = 6] = "Trading";
|
|
10
|
+
EParentalFeature[EParentalFeature["Settings"] = 7] = "Settings";
|
|
11
|
+
EParentalFeature[EParentalFeature["Console"] = 8] = "Console";
|
|
12
|
+
EParentalFeature[EParentalFeature["Browser"] = 9] = "Browser";
|
|
13
|
+
EParentalFeature[EParentalFeature["ParentalSetup"] = 10] = "ParentalSetup";
|
|
14
|
+
EParentalFeature[EParentalFeature["Library"] = 11] = "Library";
|
|
15
|
+
EParentalFeature[EParentalFeature["Test"] = 12] = "Test";
|
|
16
|
+
EParentalFeature[EParentalFeature["SiteLicense"] = 13] = "SiteLicense";
|
|
17
|
+
EParentalFeature[EParentalFeature["KioskMode"] = 14] = "KioskMode";
|
|
18
|
+
EParentalFeature[EParentalFeature["Max"] = 15] = "Max";
|
|
19
|
+
})(EParentalFeature || (EParentalFeature = {}));
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { EControllerType } from "./Input";
|
|
2
|
+
import { EParentalFeature } from "./Parental";
|
|
3
|
+
import { EResult, Unregisterable } from "./shared";
|
|
4
|
+
export interface RemotePlay {
|
|
5
|
+
BCanAcceptInviteForGame(gameId: string, param1: string): Promise<boolean>;
|
|
6
|
+
BCanCreateInviteForGame(gameId: string, param1: boolean): Promise<boolean>;
|
|
7
|
+
BRemotePlayTogetherGuestOnPhoneOrTablet(steam64Id: string, guestId: number): Promise<boolean>;
|
|
8
|
+
BRemotePlayTogetherGuestSupported(): Promise<boolean>;
|
|
9
|
+
CancelInviteAndSession(steam64Id: string, param1: number): Promise<EResult>;
|
|
10
|
+
CancelInviteAndSessionWithGuestID(steam64Id: string, guestId: number): Promise<EResult>;
|
|
11
|
+
CancelRemoteClientPairing(): void;
|
|
12
|
+
CloseGroup(): Promise<number>;
|
|
13
|
+
CreateGroup(param0: string): Promise<EResult>;
|
|
14
|
+
CreateInviteAndSession(steam64Id: string, param1: string): Promise<EResult>;
|
|
15
|
+
CreateInviteAndSessionWithGuestID(steam64Id: string, guestId: number, param2: string): Promise<EResult>;
|
|
16
|
+
GetClientID(): Promise<string>;
|
|
17
|
+
GetClientStreamingBitrate(): Promise<number>;
|
|
18
|
+
GetClientStreamingQuality(): Promise<number>;
|
|
19
|
+
GetControllerType(controllerIndex: number): Promise<EControllerType>;
|
|
20
|
+
GetGameSystemVolume(): Promise<number>;
|
|
21
|
+
GetPerUserInputSettings(steam64Id: string): Promise<RemotePlayInputSettings>;
|
|
22
|
+
GetPerUserInputSettingsWithGuestID(steam64Id: string, guestId: number): Promise<RemotePlayInputSettings>;
|
|
23
|
+
IdentifyController(nControllerIndex: number): void;
|
|
24
|
+
InstallAudioDriver(): void;
|
|
25
|
+
InstallInputDriver(): void;
|
|
26
|
+
MoveControllerToSlot(controllerIndex: number, slot: number): void;
|
|
27
|
+
RegisterForAdditionalParentalBlocks(callback: (blocks: EParentalFeature[]) => void): Unregisterable;
|
|
28
|
+
RegisterForAudioDriverPrompt(callback: () => void): Unregisterable;
|
|
29
|
+
RegisterForBitrateOverride: Unregisterable;
|
|
30
|
+
RegisterForClearControllers(callback: () => void): Unregisterable;
|
|
31
|
+
RegisterForControllerIndexSet(callback: (steamid: string, slot: number, guestid: number) => void): Unregisterable;
|
|
32
|
+
RegisterForDevicesChanges(callback: (devices: RemotePlayDevice[]) => void): Unregisterable;
|
|
33
|
+
RegisterForGroupCreated(callback: (steamId: string, appId: string) => void): Unregisterable;
|
|
34
|
+
RegisterForGroupDisbanded(callback: () => void): Unregisterable;
|
|
35
|
+
RegisterForInputDriverPrompt(callback: () => void): Unregisterable;
|
|
36
|
+
RegisterForInputDriverRestartNotice(callback: () => void): Unregisterable;
|
|
37
|
+
RegisterForInputUsed(callback: (steam64Id: string, type: EClientUsedInputType, guestId: number) => void): Unregisterable;
|
|
38
|
+
RegisterForInviteResult(callback: (steamId: string, param1: any, result: ERemoteClientLaunch) => void): Unregisterable;
|
|
39
|
+
RegisterForNetworkUtilizationUpdate(callback: (steam64Id: string, guestId: number, networkUtilization: number, networkDuration: number) => void): Unregisterable;
|
|
40
|
+
RegisterForPlaceholderStateChanged(callback: (isShowingPlaceholder: boolean) => void): Unregisterable;
|
|
41
|
+
RegisterForPlayerInputSettingsChanged(callback: (steamId: string, settings: RemotePlayInputSettings, guestId: number) => void): Unregisterable;
|
|
42
|
+
RegisterForQualityOverride(callback: (hostStreamingQualityOverride: number) => void): Unregisterable;
|
|
43
|
+
RegisterForRemoteClientLaunchFailed(callback: (state: ERemoteClientLaunch) => void): Unregisterable;
|
|
44
|
+
RegisterForRemoteClientStarted(callback: (steam64Id: string, appId: string) => void): Unregisterable;
|
|
45
|
+
RegisterForRemoteClientStopped(callback: (steam64Id: string, appId: string) => void): Unregisterable;
|
|
46
|
+
RegisterForRemoteDeviceAuthorizationCancelled(callback: () => void): Unregisterable;
|
|
47
|
+
RegisterForRemoteDeviceAuthorizationRequested(callback: (device: string) => void): Unregisterable;
|
|
48
|
+
RegisterForRemoteDevicePairingPINChanged(callback: (device: string, pin: string) => void): Unregisterable;
|
|
49
|
+
RegisterForRestrictedSessionChanges(callback: (restrictedSession: boolean) => void): Unregisterable;
|
|
50
|
+
RegisterForSessionStopped(callback: (steam64Id: string, guestId: number, avatarHash: string) => void): Unregisterable;
|
|
51
|
+
RegisterForSessionStarted(callback: (steam64Id: string, gameId: string, guestId: number) => void): Unregisterable;
|
|
52
|
+
RegisterForSessionStopped(callback: (steam64Id: string, guestId: number) => void): Unregisterable;
|
|
53
|
+
RegisterForSettingsChanges(callback: (remotePlaySettings: RemotePlaySettings) => void): Unregisterable;
|
|
54
|
+
SetClientStreamingBitrate(bitrate: number): void;
|
|
55
|
+
SetClientStreamingQuality(quality: number): void;
|
|
56
|
+
SetGameSystemVolume(volume: number): void;
|
|
57
|
+
SetPerUserControllerInputEnabled(steam64Id: string, enabled: boolean): void;
|
|
58
|
+
SetPerUserControllerInputEnabledWithGuestID(steam64Id: string, guestId: number, enabled: boolean): void;
|
|
59
|
+
SetPerUserKeyboardInputEnabled(steam64Id: string, enabled: boolean): void;
|
|
60
|
+
SetPerUserKeyboardInputEnabledWithGuestID(steam64Id: string, guestId: number, enabled: boolean): void;
|
|
61
|
+
SetPerUserMouseInputEnabled(steam64Id: string, enabled: boolean): void;
|
|
62
|
+
SetPerUserMouseInputEnabledWithGuestID(steam64Id: string, guestId: number, enabled: boolean): void;
|
|
63
|
+
SetRemoteDeviceAuthorized(param0: boolean, param1: string): void;
|
|
64
|
+
SetRemoteDevicePIN(pin: string): void;
|
|
65
|
+
SetRemotePlayEnabled(enabled: boolean): void;
|
|
66
|
+
SetStreamingClientConfig(base64: string, sessionId: number): void;
|
|
67
|
+
SetStreamingClientConfigEnabled(value: boolean): void;
|
|
68
|
+
SetStreamingDesktopToRemotePlayTogetherEnabled(enabled: boolean): void;
|
|
69
|
+
SetStreamingP2PScope(scope: EStreamP2PScope): void;
|
|
70
|
+
SetStreamingServerConfig(base64: string, sessionId: number): void;
|
|
71
|
+
SetStreamingServerConfigEnabled(value: boolean): void;
|
|
72
|
+
StopStreamingClient(): void;
|
|
73
|
+
StopStreamingSession(id: number): void;
|
|
74
|
+
StopStreamingSessionAndSuspendDevice(id: number): void;
|
|
75
|
+
UnlockH264(): void;
|
|
76
|
+
UnpairRemoteDevices(): void;
|
|
77
|
+
}
|
|
78
|
+
export declare enum EClientUsedInputType {
|
|
79
|
+
Keyboard = 0,
|
|
80
|
+
Mouse = 1,
|
|
81
|
+
Controller = 2,
|
|
82
|
+
Max = 3
|
|
83
|
+
}
|
|
84
|
+
export interface RemotePlayDevice {
|
|
85
|
+
clientId: string;
|
|
86
|
+
clientName: string;
|
|
87
|
+
status: string;
|
|
88
|
+
formFactor: number;
|
|
89
|
+
unStreamingSessionID: number;
|
|
90
|
+
bCanSteamVR: boolean;
|
|
91
|
+
bCanSuspend: boolean;
|
|
92
|
+
}
|
|
93
|
+
interface RemotePlayInputSettings {
|
|
94
|
+
bKeyboardEnabled: true;
|
|
95
|
+
bMouseEnabled: true;
|
|
96
|
+
bControllerEnabled: true;
|
|
97
|
+
}
|
|
98
|
+
export interface RemotePlaySettings {
|
|
99
|
+
bAV1DecodeAvailable: boolean;
|
|
100
|
+
bHEVCDecodeAvailable: boolean;
|
|
101
|
+
bRemotePlayDisabledBySystemPolicy: boolean;
|
|
102
|
+
bRemotePlaySupported: boolean;
|
|
103
|
+
bRemotePlayEnabled: boolean;
|
|
104
|
+
eRemotePlayP2PScope: EStreamP2PScope;
|
|
105
|
+
bRemotePlayServerConfigAvailable: boolean;
|
|
106
|
+
bRemotePlayServerConfigEnabled: boolean;
|
|
107
|
+
bRemotePlayClientConfigEnabled: boolean;
|
|
108
|
+
unStreamingSessionID: number;
|
|
109
|
+
strStreamingClientName: string;
|
|
110
|
+
RemotePlayClientConfig: StreamingClientConfig;
|
|
111
|
+
RemotePlayServerConfig: ArrayBuffer;
|
|
112
|
+
nDefaultAudioChannels: number;
|
|
113
|
+
nAutomaticResolutionX: number;
|
|
114
|
+
nAutomaticResolutionY: number;
|
|
115
|
+
}
|
|
116
|
+
export interface StreamingClientConfig {
|
|
117
|
+
quality?: EStreamQualityPreference;
|
|
118
|
+
desired_resolution_x?: number;
|
|
119
|
+
desired_resolution_y?: number;
|
|
120
|
+
desired_framerate_numerator?: number;
|
|
121
|
+
desired_framerate_denominator?: number;
|
|
122
|
+
desired_bitrate_kbps?: number;
|
|
123
|
+
enable_hardware_decoding?: boolean;
|
|
124
|
+
enable_performance_overlay?: boolean;
|
|
125
|
+
enable_video_streaming?: boolean;
|
|
126
|
+
enable_audio_streaming?: boolean;
|
|
127
|
+
enable_input_streaming?: boolean;
|
|
128
|
+
audio_channels?: number;
|
|
129
|
+
enable_video_hevc?: boolean;
|
|
130
|
+
enable_performance_icons?: boolean;
|
|
131
|
+
enable_microphone_streaming?: boolean;
|
|
132
|
+
controller_overlay_hotkey?: string;
|
|
133
|
+
enable_touch_controller_OBSOLETE?: boolean;
|
|
134
|
+
p2p_scope?: EStreamP2PScope;
|
|
135
|
+
enable_audio_uncompressed?: boolean;
|
|
136
|
+
display_limit?: StreamVideoLimit;
|
|
137
|
+
quality_limit?: StreamVideoLimit;
|
|
138
|
+
runtime_limit?: StreamVideoLimit;
|
|
139
|
+
decoder_limit: StreamVideoLimit[];
|
|
140
|
+
}
|
|
141
|
+
export interface StreamingServerConfig {
|
|
142
|
+
change_desktop_resolution?: boolean;
|
|
143
|
+
dynamically_adjust_resolution_OBSOLETE?: boolean;
|
|
144
|
+
enable_capture_nvfbc?: boolean;
|
|
145
|
+
enable_hardware_encoding_nvidia_OBSOLETE?: boolean;
|
|
146
|
+
enable_hardware_encoding_amd_OBSOLETE?: boolean;
|
|
147
|
+
enable_hardware_encoding_intel_OBSOLETE?: boolean;
|
|
148
|
+
software_encoding_threads?: number;
|
|
149
|
+
enable_traffic_priority?: boolean;
|
|
150
|
+
host_play_audio?: EStreamHostPlayAudioPreference;
|
|
151
|
+
enable_hardware_encoding?: boolean;
|
|
152
|
+
}
|
|
153
|
+
export interface StreamVideoLimit {
|
|
154
|
+
codec?: EStreamVideoCodec;
|
|
155
|
+
mode?: StreamVideoMode;
|
|
156
|
+
bitrate_kbps?: number;
|
|
157
|
+
burst_bitrate_kbps?: number;
|
|
158
|
+
}
|
|
159
|
+
export interface StreamVideoMode {
|
|
160
|
+
width?: number;
|
|
161
|
+
height?: number;
|
|
162
|
+
refresh_rate?: number;
|
|
163
|
+
refresh_rate_numerator?: number;
|
|
164
|
+
refresh_rate_denominator?: number;
|
|
165
|
+
}
|
|
166
|
+
export declare enum ERemoteClientLaunch {
|
|
167
|
+
OK = 1,
|
|
168
|
+
Fail = 2,
|
|
169
|
+
RequiresUI = 3,
|
|
170
|
+
RequiresLaunchOption = 4,
|
|
171
|
+
RequiresEULA = 5,
|
|
172
|
+
Timeout = 6,
|
|
173
|
+
StreamTimeout = 7,
|
|
174
|
+
StreamClientFail = 8,
|
|
175
|
+
OtherGameRunning = 9,
|
|
176
|
+
DownloadStarted = 10,
|
|
177
|
+
DownloadNoSpace = 11,
|
|
178
|
+
DownloadFiltered = 12,
|
|
179
|
+
DownloadRequiresUI = 13,
|
|
180
|
+
AccessDenied = 14,
|
|
181
|
+
NetworkError = 15,
|
|
182
|
+
Progress = 16,
|
|
183
|
+
ParentalUnlockFailed = 17,
|
|
184
|
+
ScreenLocked = 18,
|
|
185
|
+
Unsupported = 19,
|
|
186
|
+
DisabledLocal = 20,
|
|
187
|
+
DisabledRemote = 21,
|
|
188
|
+
Broadcasting = 22,
|
|
189
|
+
Busy = 23,
|
|
190
|
+
DriversNotInstalled = 24,
|
|
191
|
+
TransportUnavailable = 25,
|
|
192
|
+
Canceled = 26,
|
|
193
|
+
Invisible = 27,
|
|
194
|
+
RestrictedCountry = 28,
|
|
195
|
+
Unauthorized = 29
|
|
196
|
+
}
|
|
197
|
+
export declare enum EStreamVideoCodec {
|
|
198
|
+
None = 0,
|
|
199
|
+
Raw = 1,
|
|
200
|
+
VP8 = 2,
|
|
201
|
+
VP9 = 3,
|
|
202
|
+
H264 = 4,
|
|
203
|
+
HEVC = 5,
|
|
204
|
+
ORBX1 = 6,
|
|
205
|
+
ORBX2 = 7,
|
|
206
|
+
AV1 = 8
|
|
207
|
+
}
|
|
208
|
+
export declare enum EStreamHostPlayAudioPreference {
|
|
209
|
+
Default = 0,
|
|
210
|
+
Always = 1
|
|
211
|
+
}
|
|
212
|
+
export declare enum EStreamQualityPreference {
|
|
213
|
+
Automatic = -1,
|
|
214
|
+
Fast = 1,
|
|
215
|
+
Balanced = 2,
|
|
216
|
+
Beautiful = 3
|
|
217
|
+
}
|
|
218
|
+
export declare enum EStreamP2PScope {
|
|
219
|
+
Automatic = 0,
|
|
220
|
+
Disabled = 1,
|
|
221
|
+
OnlyMe = 2,
|
|
222
|
+
Friends = 3,
|
|
223
|
+
Everyone = 4
|
|
224
|
+
}
|
|
225
|
+
export {};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export var EClientUsedInputType;
|
|
2
|
+
(function (EClientUsedInputType) {
|
|
3
|
+
EClientUsedInputType[EClientUsedInputType["Keyboard"] = 0] = "Keyboard";
|
|
4
|
+
EClientUsedInputType[EClientUsedInputType["Mouse"] = 1] = "Mouse";
|
|
5
|
+
EClientUsedInputType[EClientUsedInputType["Controller"] = 2] = "Controller";
|
|
6
|
+
EClientUsedInputType[EClientUsedInputType["Max"] = 3] = "Max";
|
|
7
|
+
})(EClientUsedInputType || (EClientUsedInputType = {}));
|
|
8
|
+
export var ERemoteClientLaunch;
|
|
9
|
+
(function (ERemoteClientLaunch) {
|
|
10
|
+
ERemoteClientLaunch[ERemoteClientLaunch["OK"] = 1] = "OK";
|
|
11
|
+
ERemoteClientLaunch[ERemoteClientLaunch["Fail"] = 2] = "Fail";
|
|
12
|
+
ERemoteClientLaunch[ERemoteClientLaunch["RequiresUI"] = 3] = "RequiresUI";
|
|
13
|
+
ERemoteClientLaunch[ERemoteClientLaunch["RequiresLaunchOption"] = 4] = "RequiresLaunchOption";
|
|
14
|
+
ERemoteClientLaunch[ERemoteClientLaunch["RequiresEULA"] = 5] = "RequiresEULA";
|
|
15
|
+
ERemoteClientLaunch[ERemoteClientLaunch["Timeout"] = 6] = "Timeout";
|
|
16
|
+
ERemoteClientLaunch[ERemoteClientLaunch["StreamTimeout"] = 7] = "StreamTimeout";
|
|
17
|
+
ERemoteClientLaunch[ERemoteClientLaunch["StreamClientFail"] = 8] = "StreamClientFail";
|
|
18
|
+
ERemoteClientLaunch[ERemoteClientLaunch["OtherGameRunning"] = 9] = "OtherGameRunning";
|
|
19
|
+
ERemoteClientLaunch[ERemoteClientLaunch["DownloadStarted"] = 10] = "DownloadStarted";
|
|
20
|
+
ERemoteClientLaunch[ERemoteClientLaunch["DownloadNoSpace"] = 11] = "DownloadNoSpace";
|
|
21
|
+
ERemoteClientLaunch[ERemoteClientLaunch["DownloadFiltered"] = 12] = "DownloadFiltered";
|
|
22
|
+
ERemoteClientLaunch[ERemoteClientLaunch["DownloadRequiresUI"] = 13] = "DownloadRequiresUI";
|
|
23
|
+
ERemoteClientLaunch[ERemoteClientLaunch["AccessDenied"] = 14] = "AccessDenied";
|
|
24
|
+
ERemoteClientLaunch[ERemoteClientLaunch["NetworkError"] = 15] = "NetworkError";
|
|
25
|
+
ERemoteClientLaunch[ERemoteClientLaunch["Progress"] = 16] = "Progress";
|
|
26
|
+
ERemoteClientLaunch[ERemoteClientLaunch["ParentalUnlockFailed"] = 17] = "ParentalUnlockFailed";
|
|
27
|
+
ERemoteClientLaunch[ERemoteClientLaunch["ScreenLocked"] = 18] = "ScreenLocked";
|
|
28
|
+
ERemoteClientLaunch[ERemoteClientLaunch["Unsupported"] = 19] = "Unsupported";
|
|
29
|
+
ERemoteClientLaunch[ERemoteClientLaunch["DisabledLocal"] = 20] = "DisabledLocal";
|
|
30
|
+
ERemoteClientLaunch[ERemoteClientLaunch["DisabledRemote"] = 21] = "DisabledRemote";
|
|
31
|
+
ERemoteClientLaunch[ERemoteClientLaunch["Broadcasting"] = 22] = "Broadcasting";
|
|
32
|
+
ERemoteClientLaunch[ERemoteClientLaunch["Busy"] = 23] = "Busy";
|
|
33
|
+
ERemoteClientLaunch[ERemoteClientLaunch["DriversNotInstalled"] = 24] = "DriversNotInstalled";
|
|
34
|
+
ERemoteClientLaunch[ERemoteClientLaunch["TransportUnavailable"] = 25] = "TransportUnavailable";
|
|
35
|
+
ERemoteClientLaunch[ERemoteClientLaunch["Canceled"] = 26] = "Canceled";
|
|
36
|
+
ERemoteClientLaunch[ERemoteClientLaunch["Invisible"] = 27] = "Invisible";
|
|
37
|
+
ERemoteClientLaunch[ERemoteClientLaunch["RestrictedCountry"] = 28] = "RestrictedCountry";
|
|
38
|
+
ERemoteClientLaunch[ERemoteClientLaunch["Unauthorized"] = 29] = "Unauthorized";
|
|
39
|
+
})(ERemoteClientLaunch || (ERemoteClientLaunch = {}));
|
|
40
|
+
export var EStreamVideoCodec;
|
|
41
|
+
(function (EStreamVideoCodec) {
|
|
42
|
+
EStreamVideoCodec[EStreamVideoCodec["None"] = 0] = "None";
|
|
43
|
+
EStreamVideoCodec[EStreamVideoCodec["Raw"] = 1] = "Raw";
|
|
44
|
+
EStreamVideoCodec[EStreamVideoCodec["VP8"] = 2] = "VP8";
|
|
45
|
+
EStreamVideoCodec[EStreamVideoCodec["VP9"] = 3] = "VP9";
|
|
46
|
+
EStreamVideoCodec[EStreamVideoCodec["H264"] = 4] = "H264";
|
|
47
|
+
EStreamVideoCodec[EStreamVideoCodec["HEVC"] = 5] = "HEVC";
|
|
48
|
+
EStreamVideoCodec[EStreamVideoCodec["ORBX1"] = 6] = "ORBX1";
|
|
49
|
+
EStreamVideoCodec[EStreamVideoCodec["ORBX2"] = 7] = "ORBX2";
|
|
50
|
+
EStreamVideoCodec[EStreamVideoCodec["AV1"] = 8] = "AV1";
|
|
51
|
+
})(EStreamVideoCodec || (EStreamVideoCodec = {}));
|
|
52
|
+
export var EStreamHostPlayAudioPreference;
|
|
53
|
+
(function (EStreamHostPlayAudioPreference) {
|
|
54
|
+
EStreamHostPlayAudioPreference[EStreamHostPlayAudioPreference["Default"] = 0] = "Default";
|
|
55
|
+
EStreamHostPlayAudioPreference[EStreamHostPlayAudioPreference["Always"] = 1] = "Always";
|
|
56
|
+
})(EStreamHostPlayAudioPreference || (EStreamHostPlayAudioPreference = {}));
|
|
57
|
+
export var EStreamQualityPreference;
|
|
58
|
+
(function (EStreamQualityPreference) {
|
|
59
|
+
EStreamQualityPreference[EStreamQualityPreference["Automatic"] = -1] = "Automatic";
|
|
60
|
+
EStreamQualityPreference[EStreamQualityPreference["Fast"] = 1] = "Fast";
|
|
61
|
+
EStreamQualityPreference[EStreamQualityPreference["Balanced"] = 2] = "Balanced";
|
|
62
|
+
EStreamQualityPreference[EStreamQualityPreference["Beautiful"] = 3] = "Beautiful";
|
|
63
|
+
})(EStreamQualityPreference || (EStreamQualityPreference = {}));
|
|
64
|
+
export var EStreamP2PScope;
|
|
65
|
+
(function (EStreamP2PScope) {
|
|
66
|
+
EStreamP2PScope[EStreamP2PScope["Automatic"] = 0] = "Automatic";
|
|
67
|
+
EStreamP2PScope[EStreamP2PScope["Disabled"] = 1] = "Disabled";
|
|
68
|
+
EStreamP2PScope[EStreamP2PScope["OnlyMe"] = 2] = "OnlyMe";
|
|
69
|
+
EStreamP2PScope[EStreamP2PScope["Friends"] = 3] = "Friends";
|
|
70
|
+
EStreamP2PScope[EStreamP2PScope["Everyone"] = 4] = "Everyone";
|
|
71
|
+
})(EStreamP2PScope || (EStreamP2PScope = {}));
|