@decky/ui 4.9.2 → 4.10.0
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/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/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,124 @@
|
|
|
1
|
+
import { ETouchGesture } from '../Browser';
|
|
2
|
+
export interface BrowserViewPopup {
|
|
3
|
+
AddGlass(enabled: boolean, useBackgroundColor: boolean, blur: boolean): void;
|
|
4
|
+
CanGoBackward(): boolean;
|
|
5
|
+
CanGoForward(): boolean;
|
|
6
|
+
DialogResponse(param0: boolean): void;
|
|
7
|
+
EnableSteamInput(): void;
|
|
8
|
+
FindInPage(input: string, param1: boolean, previous: boolean): void;
|
|
9
|
+
GetBounds(): BrowserViewBounds;
|
|
10
|
+
GoBack(): void;
|
|
11
|
+
GoForward(): void;
|
|
12
|
+
HandleContextMenuCommand(command: number, param2: BrowserViewContextMenu): void;
|
|
13
|
+
LoadURL(url: string): void;
|
|
14
|
+
NotifyUserActivation(): void;
|
|
15
|
+
Paste(): void;
|
|
16
|
+
PostMessage(message: string, args: string): boolean;
|
|
17
|
+
Reload(): void;
|
|
18
|
+
ReplaceURL(url: string): void;
|
|
19
|
+
SetBlockedProtocols(protocols: string): void;
|
|
20
|
+
SetBounds(x: number, y: number, width: number, height: number): void;
|
|
21
|
+
SetFocus(value: boolean): void;
|
|
22
|
+
SetName(browserName: string): void;
|
|
23
|
+
SetShowContextMenuCallback(callback: (data: BrowserViewContextMenu) => void): void;
|
|
24
|
+
SetSteamURLCallback(callback: (url: string) => void): void;
|
|
25
|
+
SetTouchGesturesToCancel(gestures: ETouchGesture[]): void;
|
|
26
|
+
SetVRKeyboardVisibility(value: boolean): void;
|
|
27
|
+
SetVisible(value: boolean): void;
|
|
28
|
+
SetWindowStackingOrder(value: EWindowStackingOrder): void;
|
|
29
|
+
StopFindInPage(): void;
|
|
30
|
+
off<K extends keyof BrowserViewEventMap>(event: K, callback: BrowserViewEventMap[K]): void;
|
|
31
|
+
on<K extends keyof BrowserViewEventMap>(event: K, callback: BrowserViewEventMap[K]): void;
|
|
32
|
+
}
|
|
33
|
+
interface BrowserViewEventMap {
|
|
34
|
+
'alert-dialog': (message: string) => void;
|
|
35
|
+
'before-close': () => void;
|
|
36
|
+
'blocked-request': (blockedURL: string) => void;
|
|
37
|
+
'can-go-back-forward-changed': (canGoBackward: boolean, canGoForward: boolean) => void;
|
|
38
|
+
'confirm-dialog': (message: string) => void;
|
|
39
|
+
'favicon-urls-changed': (faviconURLs: string[]) => void;
|
|
40
|
+
'find-in-page-results': (results: number, activeResultIndex: number) => void;
|
|
41
|
+
'finished-request': (currentURL: string, previousURL: string) => void;
|
|
42
|
+
'focus-changed': (focused: boolean) => void;
|
|
43
|
+
'full-screen': (fullscreen: boolean) => void;
|
|
44
|
+
'history-changed': (history: BrowserViewHistory) => void;
|
|
45
|
+
'load-error': (errorCode: number, errorURL: string, errorDescription: string) => void;
|
|
46
|
+
'message': (message: string, args: string, currentURL: string) => void;
|
|
47
|
+
'new-tab': (url: string, param1: boolean) => void;
|
|
48
|
+
'node-has-focus': (elementIdOrTagName: string, elementTag: string, inputType: string, token: string, param4: boolean) => void;
|
|
49
|
+
'page-security': (url: string, pageSecurity: BrowserViewPageSecurity) => void;
|
|
50
|
+
'set-title': (title: string) => void;
|
|
51
|
+
'start-loading': (url: string, param1: boolean) => void;
|
|
52
|
+
'start-request': (url: string) => void;
|
|
53
|
+
'toggle-find-in-page': () => void;
|
|
54
|
+
}
|
|
55
|
+
export interface BrowserViewBounds {
|
|
56
|
+
x: number;
|
|
57
|
+
y: number;
|
|
58
|
+
width: number;
|
|
59
|
+
height: number;
|
|
60
|
+
}
|
|
61
|
+
export interface BrowserViewContextMenu {
|
|
62
|
+
coord_x: number;
|
|
63
|
+
coord_y: number;
|
|
64
|
+
custom_commands: BrowserViewContextMenuCustomCommand[];
|
|
65
|
+
edit_state_flags?: number;
|
|
66
|
+
misspelled_word?: string;
|
|
67
|
+
link_url?: string;
|
|
68
|
+
page_url: string;
|
|
69
|
+
selection_text?: string;
|
|
70
|
+
type_flags: number;
|
|
71
|
+
unfiltered_link_url?: string;
|
|
72
|
+
}
|
|
73
|
+
export interface BrowserViewContextMenuCustomCommand {
|
|
74
|
+
id: number;
|
|
75
|
+
label: string;
|
|
76
|
+
}
|
|
77
|
+
export declare enum EBrowserViewContextMenuTypeFlag {
|
|
78
|
+
None = 0,
|
|
79
|
+
Page = 1,
|
|
80
|
+
Frame = 2,
|
|
81
|
+
Link = 4,
|
|
82
|
+
Media = 8,
|
|
83
|
+
Selection = 16,
|
|
84
|
+
Editable = 32
|
|
85
|
+
}
|
|
86
|
+
export declare enum EBrowserViewContextMenuEditFlag {
|
|
87
|
+
None = 0,
|
|
88
|
+
CanUndo = 1,
|
|
89
|
+
CanRedo = 2,
|
|
90
|
+
CanCut = 4,
|
|
91
|
+
CanCopy = 8,
|
|
92
|
+
CanPaste = 16,
|
|
93
|
+
CanDelete = 32,
|
|
94
|
+
CanSelectAll = 64,
|
|
95
|
+
CanTranslate = 128
|
|
96
|
+
}
|
|
97
|
+
export declare enum EBrowserViewContextMenuCommand {
|
|
98
|
+
Close = -1,
|
|
99
|
+
OpenDevTools = 26500,
|
|
100
|
+
CloseDevTools = 26501,
|
|
101
|
+
InspectElement = 26502,
|
|
102
|
+
OpenLinkInNewTab = 26503
|
|
103
|
+
}
|
|
104
|
+
export declare enum EWindowStackingOrder {
|
|
105
|
+
Bottom = 0,
|
|
106
|
+
Top = 1
|
|
107
|
+
}
|
|
108
|
+
export interface BrowserViewHistory {
|
|
109
|
+
index: number;
|
|
110
|
+
entries: BrowserViewHistoryEntry[];
|
|
111
|
+
}
|
|
112
|
+
export interface BrowserViewHistoryEntry {
|
|
113
|
+
url: string;
|
|
114
|
+
}
|
|
115
|
+
export interface BrowserViewPageSecurity {
|
|
116
|
+
bHasCertError: boolean;
|
|
117
|
+
bIsEVCert: boolean;
|
|
118
|
+
bIsSecure: boolean;
|
|
119
|
+
certExpiry: number;
|
|
120
|
+
certName: string;
|
|
121
|
+
issuerName: string;
|
|
122
|
+
nCertBits: number;
|
|
123
|
+
}
|
|
124
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export var EBrowserViewContextMenuTypeFlag;
|
|
2
|
+
(function (EBrowserViewContextMenuTypeFlag) {
|
|
3
|
+
EBrowserViewContextMenuTypeFlag[EBrowserViewContextMenuTypeFlag["None"] = 0] = "None";
|
|
4
|
+
EBrowserViewContextMenuTypeFlag[EBrowserViewContextMenuTypeFlag["Page"] = 1] = "Page";
|
|
5
|
+
EBrowserViewContextMenuTypeFlag[EBrowserViewContextMenuTypeFlag["Frame"] = 2] = "Frame";
|
|
6
|
+
EBrowserViewContextMenuTypeFlag[EBrowserViewContextMenuTypeFlag["Link"] = 4] = "Link";
|
|
7
|
+
EBrowserViewContextMenuTypeFlag[EBrowserViewContextMenuTypeFlag["Media"] = 8] = "Media";
|
|
8
|
+
EBrowserViewContextMenuTypeFlag[EBrowserViewContextMenuTypeFlag["Selection"] = 16] = "Selection";
|
|
9
|
+
EBrowserViewContextMenuTypeFlag[EBrowserViewContextMenuTypeFlag["Editable"] = 32] = "Editable";
|
|
10
|
+
})(EBrowserViewContextMenuTypeFlag || (EBrowserViewContextMenuTypeFlag = {}));
|
|
11
|
+
export var EBrowserViewContextMenuEditFlag;
|
|
12
|
+
(function (EBrowserViewContextMenuEditFlag) {
|
|
13
|
+
EBrowserViewContextMenuEditFlag[EBrowserViewContextMenuEditFlag["None"] = 0] = "None";
|
|
14
|
+
EBrowserViewContextMenuEditFlag[EBrowserViewContextMenuEditFlag["CanUndo"] = 1] = "CanUndo";
|
|
15
|
+
EBrowserViewContextMenuEditFlag[EBrowserViewContextMenuEditFlag["CanRedo"] = 2] = "CanRedo";
|
|
16
|
+
EBrowserViewContextMenuEditFlag[EBrowserViewContextMenuEditFlag["CanCut"] = 4] = "CanCut";
|
|
17
|
+
EBrowserViewContextMenuEditFlag[EBrowserViewContextMenuEditFlag["CanCopy"] = 8] = "CanCopy";
|
|
18
|
+
EBrowserViewContextMenuEditFlag[EBrowserViewContextMenuEditFlag["CanPaste"] = 16] = "CanPaste";
|
|
19
|
+
EBrowserViewContextMenuEditFlag[EBrowserViewContextMenuEditFlag["CanDelete"] = 32] = "CanDelete";
|
|
20
|
+
EBrowserViewContextMenuEditFlag[EBrowserViewContextMenuEditFlag["CanSelectAll"] = 64] = "CanSelectAll";
|
|
21
|
+
EBrowserViewContextMenuEditFlag[EBrowserViewContextMenuEditFlag["CanTranslate"] = 128] = "CanTranslate";
|
|
22
|
+
})(EBrowserViewContextMenuEditFlag || (EBrowserViewContextMenuEditFlag = {}));
|
|
23
|
+
export var EBrowserViewContextMenuCommand;
|
|
24
|
+
(function (EBrowserViewContextMenuCommand) {
|
|
25
|
+
EBrowserViewContextMenuCommand[EBrowserViewContextMenuCommand["Close"] = -1] = "Close";
|
|
26
|
+
EBrowserViewContextMenuCommand[EBrowserViewContextMenuCommand["OpenDevTools"] = 26500] = "OpenDevTools";
|
|
27
|
+
EBrowserViewContextMenuCommand[EBrowserViewContextMenuCommand["CloseDevTools"] = 26501] = "CloseDevTools";
|
|
28
|
+
EBrowserViewContextMenuCommand[EBrowserViewContextMenuCommand["InspectElement"] = 26502] = "InspectElement";
|
|
29
|
+
EBrowserViewContextMenuCommand[EBrowserViewContextMenuCommand["OpenLinkInNewTab"] = 26503] = "OpenLinkInNewTab";
|
|
30
|
+
})(EBrowserViewContextMenuCommand || (EBrowserViewContextMenuCommand = {}));
|
|
31
|
+
export var EWindowStackingOrder;
|
|
32
|
+
(function (EWindowStackingOrder) {
|
|
33
|
+
EWindowStackingOrder[EWindowStackingOrder["Bottom"] = 0] = "Bottom";
|
|
34
|
+
EWindowStackingOrder[EWindowStackingOrder["Top"] = 1] = "Top";
|
|
35
|
+
})(EWindowStackingOrder || (EWindowStackingOrder = {}));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Unregisterable } from "../shared";
|
|
2
|
+
import { BrowserViewPopup } from "./BrowserViewPopup";
|
|
3
|
+
export interface BrowserView {
|
|
4
|
+
Create(options?: BrowserViewCreateOptions): BrowserViewPopup;
|
|
5
|
+
CreatePopup(options?: BrowserViewCreateOptions): {
|
|
6
|
+
strCreateURL: string;
|
|
7
|
+
browserView: BrowserViewPopup;
|
|
8
|
+
};
|
|
9
|
+
Destroy(browserView: BrowserViewPopup): void;
|
|
10
|
+
PostMessageToParent(message: string, args: string): void;
|
|
11
|
+
RegisterForMessageFromParent(callback: (message: string, args: string) => void): Unregisterable;
|
|
12
|
+
}
|
|
13
|
+
export interface BrowserViewCreateOptions {
|
|
14
|
+
bOnlyAllowTrustedPopups?: boolean;
|
|
15
|
+
parentPopupBrowserID?: number;
|
|
16
|
+
strInitialURL?: string;
|
|
17
|
+
strUserAgentIdentifier?: string;
|
|
18
|
+
strUserAgentOverride?: string;
|
|
19
|
+
strVROverlayKey?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Apps } from "./App";
|
|
2
|
+
import { Auth } from "./Auth";
|
|
3
|
+
import { Broadcast } from "./Broadcast";
|
|
4
|
+
import { Browser } from "./Browser";
|
|
5
|
+
import { BrowserView } from "./browser-view";
|
|
6
|
+
import { ClientNotifications } from "./ClientNotifications";
|
|
7
|
+
import { Cloud } from "./Cloud";
|
|
8
|
+
import { CommunityItems } from "./CommunityItems";
|
|
9
|
+
import { Console } from "./Console";
|
|
10
|
+
import { Customization } from "./Customization";
|
|
11
|
+
import { Downloads } from "./Downloads";
|
|
12
|
+
import { FamilySharing } from "./FamilySharing";
|
|
13
|
+
import { FriendSettings } from "./FriendSettings";
|
|
14
|
+
import { Friends } from "./Friends";
|
|
15
|
+
import { GameNotes } from "./GameNotes";
|
|
16
|
+
import { GameRecording } from "./GameRecording";
|
|
17
|
+
import { GameSessions } from "./GameSessions";
|
|
18
|
+
import { Input } from "./Input";
|
|
19
|
+
import { InstallFolder } from "./InstallFolder";
|
|
20
|
+
import { Installs } from "./Installs";
|
|
21
|
+
import { Messaging } from "./Messaging";
|
|
22
|
+
import { Music } from "./Music";
|
|
23
|
+
import { Notifications } from "./Notifications";
|
|
24
|
+
import { OpenVR } from "./OpenVR";
|
|
25
|
+
import { Overlay } from "./Overlay";
|
|
26
|
+
import { Storage } from "./Storage";
|
|
27
|
+
import { Parental } from "./Parental";
|
|
28
|
+
import { RemotePlay } from "./RemotePlay";
|
|
29
|
+
import { ServerBrowser } from "./ServerBrowser";
|
|
30
|
+
import { Screenshots } from "./Screenshots";
|
|
31
|
+
import { Settings } from "./Settings";
|
|
32
|
+
import { SharedConnection } from "./SharedConnection";
|
|
33
|
+
import { Stats } from "./Stats";
|
|
34
|
+
import { SteamChina } from "./SteamChina";
|
|
35
|
+
import { Streaming } from "./Streaming";
|
|
36
|
+
import { System } from "./system";
|
|
37
|
+
import { UI } from "./UI";
|
|
38
|
+
import { Updates } from "./Updates";
|
|
39
|
+
import { User } from "./User";
|
|
40
|
+
import { WebChat } from "./WebChat";
|
|
41
|
+
import { WebUITransport } from "./WebUITransport";
|
|
42
|
+
import { Window } from "./Window";
|
|
43
|
+
export interface SteamClient {
|
|
44
|
+
Apps: Apps;
|
|
45
|
+
Auth: Auth;
|
|
46
|
+
Broadcast: Broadcast;
|
|
47
|
+
Browser: Browser;
|
|
48
|
+
BrowserView: BrowserView;
|
|
49
|
+
ClientNotifications: ClientNotifications;
|
|
50
|
+
Cloud: Cloud;
|
|
51
|
+
CommunityItems: CommunityItems;
|
|
52
|
+
Console: Console;
|
|
53
|
+
Customization: Customization;
|
|
54
|
+
Downloads: Downloads;
|
|
55
|
+
FamilySharing: FamilySharing;
|
|
56
|
+
Friends: Friends;
|
|
57
|
+
FriendSettings: FriendSettings;
|
|
58
|
+
GameNotes: GameNotes;
|
|
59
|
+
GameRecording: GameRecording;
|
|
60
|
+
GameSessions: GameSessions;
|
|
61
|
+
Input: Input;
|
|
62
|
+
InstallFolder: InstallFolder;
|
|
63
|
+
Installs: Installs;
|
|
64
|
+
MachineStorage: Storage;
|
|
65
|
+
Messaging: Messaging;
|
|
66
|
+
Music: Music;
|
|
67
|
+
Notifications: Notifications;
|
|
68
|
+
OpenVR: OpenVR;
|
|
69
|
+
Overlay: Overlay;
|
|
70
|
+
Parental: Parental;
|
|
71
|
+
RemotePlay: RemotePlay;
|
|
72
|
+
RoamingStorage: Storage;
|
|
73
|
+
Screenshots: Screenshots;
|
|
74
|
+
ServerBrowser: ServerBrowser;
|
|
75
|
+
Settings: Settings;
|
|
76
|
+
SharedConnection: SharedConnection;
|
|
77
|
+
Stats: Stats;
|
|
78
|
+
SteamChina: SteamChina;
|
|
79
|
+
Storage: Storage;
|
|
80
|
+
Streaming: Streaming;
|
|
81
|
+
System: System;
|
|
82
|
+
UI: UI;
|
|
83
|
+
URL: URL;
|
|
84
|
+
Updates: Updates;
|
|
85
|
+
User: User;
|
|
86
|
+
WebChat: WebChat;
|
|
87
|
+
WebUITransport: WebUITransport;
|
|
88
|
+
Window: Window;
|
|
89
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
export declare enum EResult {
|
|
2
|
+
OK = 1,
|
|
3
|
+
Fail = 2,
|
|
4
|
+
NoConnection = 3,
|
|
5
|
+
InvalidPassword = 5,
|
|
6
|
+
LoggedInElsewhere = 6,
|
|
7
|
+
InvalidProtocolVer = 7,
|
|
8
|
+
InvalidParam = 8,
|
|
9
|
+
FileNotFound = 9,
|
|
10
|
+
Busy = 10,
|
|
11
|
+
InvalidState = 11,
|
|
12
|
+
InvalidName = 12,
|
|
13
|
+
InvalidEmail = 13,
|
|
14
|
+
DuplicateName = 14,
|
|
15
|
+
AccessDenied = 15,
|
|
16
|
+
Timeout = 16,
|
|
17
|
+
Banned = 17,
|
|
18
|
+
AccountNotFound = 18,
|
|
19
|
+
InvalidSteamID = 19,
|
|
20
|
+
ServiceUnavailable = 20,
|
|
21
|
+
NotLoggedOn = 21,
|
|
22
|
+
Pending = 22,
|
|
23
|
+
EncryptionFailure = 23,
|
|
24
|
+
InsufficientPrivilege = 24,
|
|
25
|
+
LimitExceeded = 25,
|
|
26
|
+
Revoked = 26,
|
|
27
|
+
Expired = 27,
|
|
28
|
+
AlreadyRedeemed = 28,
|
|
29
|
+
DuplicateRequest = 29,
|
|
30
|
+
AlreadyOwned = 30,
|
|
31
|
+
IPNotFound = 31,
|
|
32
|
+
PersistFailed = 32,
|
|
33
|
+
LockingFailed = 33,
|
|
34
|
+
LogonSessionReplaced = 34,
|
|
35
|
+
ConnectFailed = 35,
|
|
36
|
+
HandshakeFailed = 36,
|
|
37
|
+
IOFailure = 37,
|
|
38
|
+
RemoteDisconnect = 38,
|
|
39
|
+
ShoppingCartNotFound = 39,
|
|
40
|
+
Blocked = 40,
|
|
41
|
+
Ignored = 41,
|
|
42
|
+
NoMatch = 42,
|
|
43
|
+
AccountDisabled = 43,
|
|
44
|
+
ServiceReadOnly = 44,
|
|
45
|
+
AccountNotFeatured = 45,
|
|
46
|
+
AdministratorOK = 46,
|
|
47
|
+
ContentVersion = 47,
|
|
48
|
+
TryAnotherCM = 48,
|
|
49
|
+
PasswordRequiredToKickSession = 49,
|
|
50
|
+
AlreadyLoggedInElsewhere = 50,
|
|
51
|
+
Suspended = 51,
|
|
52
|
+
Cancelled = 52,
|
|
53
|
+
DataCorruption = 53,
|
|
54
|
+
DiskFull = 54,
|
|
55
|
+
RemoteCallFailed = 55,
|
|
56
|
+
PasswordUnset = 56,
|
|
57
|
+
ExternalAccountUnlinked = 57,
|
|
58
|
+
PSNTicketInvalid = 58,
|
|
59
|
+
ExternalAccountAlreadyLinked = 59,
|
|
60
|
+
RemoteFileConflict = 60,
|
|
61
|
+
IllegalPassword = 61,
|
|
62
|
+
SameAsPreviousValue = 62,
|
|
63
|
+
AccountLogonDenied = 63,
|
|
64
|
+
CannotUseOldPassword = 64,
|
|
65
|
+
InvalidLoginAuthCode = 65,
|
|
66
|
+
AccountLogonDeniedNoMail = 66,
|
|
67
|
+
HardwareNotCapableOfIPT = 67,
|
|
68
|
+
IPTInitError = 68,
|
|
69
|
+
ParentalControlRestricted = 69,
|
|
70
|
+
FacebookQueryError = 70,
|
|
71
|
+
ExpiredLoginAuthCode = 71,
|
|
72
|
+
IPLoginRestrictionFailed = 72,
|
|
73
|
+
AccountLockedDown = 73,
|
|
74
|
+
AccountLogonDeniedVerifiedEmailRequired = 74,
|
|
75
|
+
NoMatchingURL = 75,
|
|
76
|
+
BadResponse = 76,
|
|
77
|
+
RequirePasswordReEntry = 77,
|
|
78
|
+
ValueOutOfRange = 78,
|
|
79
|
+
UnexpectedError = 79,
|
|
80
|
+
Disabled = 80,
|
|
81
|
+
InvalidCEGSubmission = 81,
|
|
82
|
+
RestrictedDevice = 82,
|
|
83
|
+
RegionLocked = 83,
|
|
84
|
+
RateLimitExceeded = 84,
|
|
85
|
+
AccountLoginDeniedNeedTwoFactor = 85,
|
|
86
|
+
ItemDeleted = 86,
|
|
87
|
+
AccountLoginDeniedThrottle = 87,
|
|
88
|
+
TwoFactorCodeMismatch = 88,
|
|
89
|
+
TwoFactorActivationCodeMismatch = 89,
|
|
90
|
+
AccountAssociatedToMultiplePartners = 90,
|
|
91
|
+
NotModified = 91,
|
|
92
|
+
NoMobileDevice = 92,
|
|
93
|
+
TimeNotSynced = 93,
|
|
94
|
+
SmsCodeFailed = 94,
|
|
95
|
+
AccountLimitExceeded = 95,
|
|
96
|
+
AccountActivityLimitExceeded = 96,
|
|
97
|
+
PhoneActivityLimitExceeded = 97,
|
|
98
|
+
RefundToWallet = 98,
|
|
99
|
+
EmailSendFailure = 99,
|
|
100
|
+
NotSettled = 100,
|
|
101
|
+
NeedCaptcha = 101,
|
|
102
|
+
GSLTDenied = 102,
|
|
103
|
+
GSOwnerDenied = 103,
|
|
104
|
+
InvalidItemType = 104,
|
|
105
|
+
IPBanned = 105,
|
|
106
|
+
GSLTExpired = 106,
|
|
107
|
+
InsufficientFunds = 107,
|
|
108
|
+
TooManyPending = 108,
|
|
109
|
+
NoSiteLicensesFound = 109,
|
|
110
|
+
WGNetworkSendExceeded = 110,
|
|
111
|
+
AccountNotFriends = 111,
|
|
112
|
+
LimitedUserAccount = 112
|
|
113
|
+
}
|
|
114
|
+
export declare enum EBrowserType {
|
|
115
|
+
OffScreen = 0,
|
|
116
|
+
OpenVROverlay = 1,
|
|
117
|
+
OpenVROverlay_Dashboard = 2,
|
|
118
|
+
DirectHWND = 3,
|
|
119
|
+
DirectHWND_Borderless = 4,
|
|
120
|
+
DirectHWND_Hidden = 5,
|
|
121
|
+
ChildHWNDNative = 6,
|
|
122
|
+
Offscreen_SteamUI = 12,
|
|
123
|
+
OpenVROverlay_Subview = 13
|
|
124
|
+
}
|
|
125
|
+
export declare enum ESteamRealm {
|
|
126
|
+
Unknown = 0,
|
|
127
|
+
Global = 1,
|
|
128
|
+
China = 2
|
|
129
|
+
}
|
|
130
|
+
export declare enum EUIComposition {
|
|
131
|
+
Hidden = 0,
|
|
132
|
+
Notification = 1,
|
|
133
|
+
Overlay = 2,
|
|
134
|
+
Opaque = 3,
|
|
135
|
+
OverlayKeyboard = 4
|
|
136
|
+
}
|
|
137
|
+
export declare enum EUIMode {
|
|
138
|
+
Unknown = -1,
|
|
139
|
+
GamePad = 4,
|
|
140
|
+
Desktop = 7
|
|
141
|
+
}
|
|
142
|
+
export type VDFBoolean_t = 0 | 1;
|
|
143
|
+
export interface BrowserContext {
|
|
144
|
+
m_eBrowserType?: EBrowserType;
|
|
145
|
+
m_eUIMode?: EUIMode;
|
|
146
|
+
m_gameID?: string;
|
|
147
|
+
m_nBrowserID: number;
|
|
148
|
+
m_unAppID?: number;
|
|
149
|
+
m_unPID: number;
|
|
150
|
+
}
|
|
151
|
+
export interface OperationResponse {
|
|
152
|
+
result: EResult;
|
|
153
|
+
message: string;
|
|
154
|
+
}
|
|
155
|
+
export interface Unregisterable {
|
|
156
|
+
unregister(): void;
|
|
157
|
+
}
|
|
158
|
+
export interface JsPbMessageClass {
|
|
159
|
+
deserializeBinary(data: ArrayBuffer): any;
|
|
160
|
+
}
|
|
161
|
+
export interface JsPbMessage {
|
|
162
|
+
getClassName(): string;
|
|
163
|
+
serializeBase64String(): string;
|
|
164
|
+
serializeBinary(): Uint8Array;
|
|
165
|
+
toObject(includeJsPbInstance: boolean): any;
|
|
166
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
export var EResult;
|
|
2
|
+
(function (EResult) {
|
|
3
|
+
EResult[EResult["OK"] = 1] = "OK";
|
|
4
|
+
EResult[EResult["Fail"] = 2] = "Fail";
|
|
5
|
+
EResult[EResult["NoConnection"] = 3] = "NoConnection";
|
|
6
|
+
EResult[EResult["InvalidPassword"] = 5] = "InvalidPassword";
|
|
7
|
+
EResult[EResult["LoggedInElsewhere"] = 6] = "LoggedInElsewhere";
|
|
8
|
+
EResult[EResult["InvalidProtocolVer"] = 7] = "InvalidProtocolVer";
|
|
9
|
+
EResult[EResult["InvalidParam"] = 8] = "InvalidParam";
|
|
10
|
+
EResult[EResult["FileNotFound"] = 9] = "FileNotFound";
|
|
11
|
+
EResult[EResult["Busy"] = 10] = "Busy";
|
|
12
|
+
EResult[EResult["InvalidState"] = 11] = "InvalidState";
|
|
13
|
+
EResult[EResult["InvalidName"] = 12] = "InvalidName";
|
|
14
|
+
EResult[EResult["InvalidEmail"] = 13] = "InvalidEmail";
|
|
15
|
+
EResult[EResult["DuplicateName"] = 14] = "DuplicateName";
|
|
16
|
+
EResult[EResult["AccessDenied"] = 15] = "AccessDenied";
|
|
17
|
+
EResult[EResult["Timeout"] = 16] = "Timeout";
|
|
18
|
+
EResult[EResult["Banned"] = 17] = "Banned";
|
|
19
|
+
EResult[EResult["AccountNotFound"] = 18] = "AccountNotFound";
|
|
20
|
+
EResult[EResult["InvalidSteamID"] = 19] = "InvalidSteamID";
|
|
21
|
+
EResult[EResult["ServiceUnavailable"] = 20] = "ServiceUnavailable";
|
|
22
|
+
EResult[EResult["NotLoggedOn"] = 21] = "NotLoggedOn";
|
|
23
|
+
EResult[EResult["Pending"] = 22] = "Pending";
|
|
24
|
+
EResult[EResult["EncryptionFailure"] = 23] = "EncryptionFailure";
|
|
25
|
+
EResult[EResult["InsufficientPrivilege"] = 24] = "InsufficientPrivilege";
|
|
26
|
+
EResult[EResult["LimitExceeded"] = 25] = "LimitExceeded";
|
|
27
|
+
EResult[EResult["Revoked"] = 26] = "Revoked";
|
|
28
|
+
EResult[EResult["Expired"] = 27] = "Expired";
|
|
29
|
+
EResult[EResult["AlreadyRedeemed"] = 28] = "AlreadyRedeemed";
|
|
30
|
+
EResult[EResult["DuplicateRequest"] = 29] = "DuplicateRequest";
|
|
31
|
+
EResult[EResult["AlreadyOwned"] = 30] = "AlreadyOwned";
|
|
32
|
+
EResult[EResult["IPNotFound"] = 31] = "IPNotFound";
|
|
33
|
+
EResult[EResult["PersistFailed"] = 32] = "PersistFailed";
|
|
34
|
+
EResult[EResult["LockingFailed"] = 33] = "LockingFailed";
|
|
35
|
+
EResult[EResult["LogonSessionReplaced"] = 34] = "LogonSessionReplaced";
|
|
36
|
+
EResult[EResult["ConnectFailed"] = 35] = "ConnectFailed";
|
|
37
|
+
EResult[EResult["HandshakeFailed"] = 36] = "HandshakeFailed";
|
|
38
|
+
EResult[EResult["IOFailure"] = 37] = "IOFailure";
|
|
39
|
+
EResult[EResult["RemoteDisconnect"] = 38] = "RemoteDisconnect";
|
|
40
|
+
EResult[EResult["ShoppingCartNotFound"] = 39] = "ShoppingCartNotFound";
|
|
41
|
+
EResult[EResult["Blocked"] = 40] = "Blocked";
|
|
42
|
+
EResult[EResult["Ignored"] = 41] = "Ignored";
|
|
43
|
+
EResult[EResult["NoMatch"] = 42] = "NoMatch";
|
|
44
|
+
EResult[EResult["AccountDisabled"] = 43] = "AccountDisabled";
|
|
45
|
+
EResult[EResult["ServiceReadOnly"] = 44] = "ServiceReadOnly";
|
|
46
|
+
EResult[EResult["AccountNotFeatured"] = 45] = "AccountNotFeatured";
|
|
47
|
+
EResult[EResult["AdministratorOK"] = 46] = "AdministratorOK";
|
|
48
|
+
EResult[EResult["ContentVersion"] = 47] = "ContentVersion";
|
|
49
|
+
EResult[EResult["TryAnotherCM"] = 48] = "TryAnotherCM";
|
|
50
|
+
EResult[EResult["PasswordRequiredToKickSession"] = 49] = "PasswordRequiredToKickSession";
|
|
51
|
+
EResult[EResult["AlreadyLoggedInElsewhere"] = 50] = "AlreadyLoggedInElsewhere";
|
|
52
|
+
EResult[EResult["Suspended"] = 51] = "Suspended";
|
|
53
|
+
EResult[EResult["Cancelled"] = 52] = "Cancelled";
|
|
54
|
+
EResult[EResult["DataCorruption"] = 53] = "DataCorruption";
|
|
55
|
+
EResult[EResult["DiskFull"] = 54] = "DiskFull";
|
|
56
|
+
EResult[EResult["RemoteCallFailed"] = 55] = "RemoteCallFailed";
|
|
57
|
+
EResult[EResult["PasswordUnset"] = 56] = "PasswordUnset";
|
|
58
|
+
EResult[EResult["ExternalAccountUnlinked"] = 57] = "ExternalAccountUnlinked";
|
|
59
|
+
EResult[EResult["PSNTicketInvalid"] = 58] = "PSNTicketInvalid";
|
|
60
|
+
EResult[EResult["ExternalAccountAlreadyLinked"] = 59] = "ExternalAccountAlreadyLinked";
|
|
61
|
+
EResult[EResult["RemoteFileConflict"] = 60] = "RemoteFileConflict";
|
|
62
|
+
EResult[EResult["IllegalPassword"] = 61] = "IllegalPassword";
|
|
63
|
+
EResult[EResult["SameAsPreviousValue"] = 62] = "SameAsPreviousValue";
|
|
64
|
+
EResult[EResult["AccountLogonDenied"] = 63] = "AccountLogonDenied";
|
|
65
|
+
EResult[EResult["CannotUseOldPassword"] = 64] = "CannotUseOldPassword";
|
|
66
|
+
EResult[EResult["InvalidLoginAuthCode"] = 65] = "InvalidLoginAuthCode";
|
|
67
|
+
EResult[EResult["AccountLogonDeniedNoMail"] = 66] = "AccountLogonDeniedNoMail";
|
|
68
|
+
EResult[EResult["HardwareNotCapableOfIPT"] = 67] = "HardwareNotCapableOfIPT";
|
|
69
|
+
EResult[EResult["IPTInitError"] = 68] = "IPTInitError";
|
|
70
|
+
EResult[EResult["ParentalControlRestricted"] = 69] = "ParentalControlRestricted";
|
|
71
|
+
EResult[EResult["FacebookQueryError"] = 70] = "FacebookQueryError";
|
|
72
|
+
EResult[EResult["ExpiredLoginAuthCode"] = 71] = "ExpiredLoginAuthCode";
|
|
73
|
+
EResult[EResult["IPLoginRestrictionFailed"] = 72] = "IPLoginRestrictionFailed";
|
|
74
|
+
EResult[EResult["AccountLockedDown"] = 73] = "AccountLockedDown";
|
|
75
|
+
EResult[EResult["AccountLogonDeniedVerifiedEmailRequired"] = 74] = "AccountLogonDeniedVerifiedEmailRequired";
|
|
76
|
+
EResult[EResult["NoMatchingURL"] = 75] = "NoMatchingURL";
|
|
77
|
+
EResult[EResult["BadResponse"] = 76] = "BadResponse";
|
|
78
|
+
EResult[EResult["RequirePasswordReEntry"] = 77] = "RequirePasswordReEntry";
|
|
79
|
+
EResult[EResult["ValueOutOfRange"] = 78] = "ValueOutOfRange";
|
|
80
|
+
EResult[EResult["UnexpectedError"] = 79] = "UnexpectedError";
|
|
81
|
+
EResult[EResult["Disabled"] = 80] = "Disabled";
|
|
82
|
+
EResult[EResult["InvalidCEGSubmission"] = 81] = "InvalidCEGSubmission";
|
|
83
|
+
EResult[EResult["RestrictedDevice"] = 82] = "RestrictedDevice";
|
|
84
|
+
EResult[EResult["RegionLocked"] = 83] = "RegionLocked";
|
|
85
|
+
EResult[EResult["RateLimitExceeded"] = 84] = "RateLimitExceeded";
|
|
86
|
+
EResult[EResult["AccountLoginDeniedNeedTwoFactor"] = 85] = "AccountLoginDeniedNeedTwoFactor";
|
|
87
|
+
EResult[EResult["ItemDeleted"] = 86] = "ItemDeleted";
|
|
88
|
+
EResult[EResult["AccountLoginDeniedThrottle"] = 87] = "AccountLoginDeniedThrottle";
|
|
89
|
+
EResult[EResult["TwoFactorCodeMismatch"] = 88] = "TwoFactorCodeMismatch";
|
|
90
|
+
EResult[EResult["TwoFactorActivationCodeMismatch"] = 89] = "TwoFactorActivationCodeMismatch";
|
|
91
|
+
EResult[EResult["AccountAssociatedToMultiplePartners"] = 90] = "AccountAssociatedToMultiplePartners";
|
|
92
|
+
EResult[EResult["NotModified"] = 91] = "NotModified";
|
|
93
|
+
EResult[EResult["NoMobileDevice"] = 92] = "NoMobileDevice";
|
|
94
|
+
EResult[EResult["TimeNotSynced"] = 93] = "TimeNotSynced";
|
|
95
|
+
EResult[EResult["SmsCodeFailed"] = 94] = "SmsCodeFailed";
|
|
96
|
+
EResult[EResult["AccountLimitExceeded"] = 95] = "AccountLimitExceeded";
|
|
97
|
+
EResult[EResult["AccountActivityLimitExceeded"] = 96] = "AccountActivityLimitExceeded";
|
|
98
|
+
EResult[EResult["PhoneActivityLimitExceeded"] = 97] = "PhoneActivityLimitExceeded";
|
|
99
|
+
EResult[EResult["RefundToWallet"] = 98] = "RefundToWallet";
|
|
100
|
+
EResult[EResult["EmailSendFailure"] = 99] = "EmailSendFailure";
|
|
101
|
+
EResult[EResult["NotSettled"] = 100] = "NotSettled";
|
|
102
|
+
EResult[EResult["NeedCaptcha"] = 101] = "NeedCaptcha";
|
|
103
|
+
EResult[EResult["GSLTDenied"] = 102] = "GSLTDenied";
|
|
104
|
+
EResult[EResult["GSOwnerDenied"] = 103] = "GSOwnerDenied";
|
|
105
|
+
EResult[EResult["InvalidItemType"] = 104] = "InvalidItemType";
|
|
106
|
+
EResult[EResult["IPBanned"] = 105] = "IPBanned";
|
|
107
|
+
EResult[EResult["GSLTExpired"] = 106] = "GSLTExpired";
|
|
108
|
+
EResult[EResult["InsufficientFunds"] = 107] = "InsufficientFunds";
|
|
109
|
+
EResult[EResult["TooManyPending"] = 108] = "TooManyPending";
|
|
110
|
+
EResult[EResult["NoSiteLicensesFound"] = 109] = "NoSiteLicensesFound";
|
|
111
|
+
EResult[EResult["WGNetworkSendExceeded"] = 110] = "WGNetworkSendExceeded";
|
|
112
|
+
EResult[EResult["AccountNotFriends"] = 111] = "AccountNotFriends";
|
|
113
|
+
EResult[EResult["LimitedUserAccount"] = 112] = "LimitedUserAccount";
|
|
114
|
+
})(EResult || (EResult = {}));
|
|
115
|
+
export var EBrowserType;
|
|
116
|
+
(function (EBrowserType) {
|
|
117
|
+
EBrowserType[EBrowserType["OffScreen"] = 0] = "OffScreen";
|
|
118
|
+
EBrowserType[EBrowserType["OpenVROverlay"] = 1] = "OpenVROverlay";
|
|
119
|
+
EBrowserType[EBrowserType["OpenVROverlay_Dashboard"] = 2] = "OpenVROverlay_Dashboard";
|
|
120
|
+
EBrowserType[EBrowserType["DirectHWND"] = 3] = "DirectHWND";
|
|
121
|
+
EBrowserType[EBrowserType["DirectHWND_Borderless"] = 4] = "DirectHWND_Borderless";
|
|
122
|
+
EBrowserType[EBrowserType["DirectHWND_Hidden"] = 5] = "DirectHWND_Hidden";
|
|
123
|
+
EBrowserType[EBrowserType["ChildHWNDNative"] = 6] = "ChildHWNDNative";
|
|
124
|
+
EBrowserType[EBrowserType["Offscreen_SteamUI"] = 12] = "Offscreen_SteamUI";
|
|
125
|
+
EBrowserType[EBrowserType["OpenVROverlay_Subview"] = 13] = "OpenVROverlay_Subview";
|
|
126
|
+
})(EBrowserType || (EBrowserType = {}));
|
|
127
|
+
export var ESteamRealm;
|
|
128
|
+
(function (ESteamRealm) {
|
|
129
|
+
ESteamRealm[ESteamRealm["Unknown"] = 0] = "Unknown";
|
|
130
|
+
ESteamRealm[ESteamRealm["Global"] = 1] = "Global";
|
|
131
|
+
ESteamRealm[ESteamRealm["China"] = 2] = "China";
|
|
132
|
+
})(ESteamRealm || (ESteamRealm = {}));
|
|
133
|
+
export var EUIComposition;
|
|
134
|
+
(function (EUIComposition) {
|
|
135
|
+
EUIComposition[EUIComposition["Hidden"] = 0] = "Hidden";
|
|
136
|
+
EUIComposition[EUIComposition["Notification"] = 1] = "Notification";
|
|
137
|
+
EUIComposition[EUIComposition["Overlay"] = 2] = "Overlay";
|
|
138
|
+
EUIComposition[EUIComposition["Opaque"] = 3] = "Opaque";
|
|
139
|
+
EUIComposition[EUIComposition["OverlayKeyboard"] = 4] = "OverlayKeyboard";
|
|
140
|
+
})(EUIComposition || (EUIComposition = {}));
|
|
141
|
+
export var EUIMode;
|
|
142
|
+
(function (EUIMode) {
|
|
143
|
+
EUIMode[EUIMode["Unknown"] = -1] = "Unknown";
|
|
144
|
+
EUIMode[EUIMode["GamePad"] = 4] = "GamePad";
|
|
145
|
+
EUIMode[EUIMode["Desktop"] = 7] = "Desktop";
|
|
146
|
+
})(EUIMode || (EUIMode = {}));
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { OperationResponse, Unregisterable } from "../shared";
|
|
2
|
+
export interface Audio {
|
|
3
|
+
ClearDefaultDeviceOverride(audioType: number): Promise<OperationResponse>;
|
|
4
|
+
GetApps(): Promise<ApplicationsAudio>;
|
|
5
|
+
GetDevices(): Promise<AudioDeviceInfo>;
|
|
6
|
+
RegisterForAppAdded(callback: (app: ApplicationAudio) => void): Unregisterable;
|
|
7
|
+
RegisterForAppRemoved(callback: (appAudioId: number) => void): Unregisterable;
|
|
8
|
+
RegisterForAppVolumeChanged(callback: (appAudioId: number, volume: number) => void): Unregisterable;
|
|
9
|
+
RegisterForDeviceAdded(callback: (device: AudioDevice) => void): Unregisterable;
|
|
10
|
+
RegisterForDeviceRemoved(callback: (audioDeviceId: number) => void): Unregisterable;
|
|
11
|
+
RegisterForDeviceVolumeChanged(callback: (audioDeviceId: number, audioType: number, volume: number) => void): Unregisterable;
|
|
12
|
+
RegisterForServiceConnectionStateChanges(callback: (param0: any) => void): Unregisterable;
|
|
13
|
+
RegisterForVolumeButtonPressed(callback: (volumeUpPressed: boolean) => void): Unregisterable;
|
|
14
|
+
SetAppVolume(appAudioId: number, volume: number): Promise<OperationResponse>;
|
|
15
|
+
SetDefaultDeviceOverride(audioDeviceId: number, audioType: number): Promise<OperationResponse>;
|
|
16
|
+
SetDeviceVolume(audioDeviceId: number, audioType: number, volume: number): Promise<OperationResponse>;
|
|
17
|
+
}
|
|
18
|
+
export interface ApplicationsAudio {
|
|
19
|
+
apps: ApplicationAudio[];
|
|
20
|
+
}
|
|
21
|
+
export interface ApplicationAudio {
|
|
22
|
+
id: number;
|
|
23
|
+
strName: string;
|
|
24
|
+
flVolume: number;
|
|
25
|
+
}
|
|
26
|
+
export interface AudioDeviceInfo {
|
|
27
|
+
activeOutputDeviceId: number;
|
|
28
|
+
activeInputDeviceId: number;
|
|
29
|
+
overrideOutputDeviceId: number;
|
|
30
|
+
overrideInputDeviceId: number;
|
|
31
|
+
vecDevices: AudioDevice[];
|
|
32
|
+
}
|
|
33
|
+
export interface AudioDevice {
|
|
34
|
+
id: number;
|
|
35
|
+
sName: string;
|
|
36
|
+
bHasOutput: boolean;
|
|
37
|
+
bIsDefaultOutputDevice: boolean;
|
|
38
|
+
flOutputVolume: number;
|
|
39
|
+
bHasInput: boolean;
|
|
40
|
+
bIsDefaultInputDevice: boolean;
|
|
41
|
+
flInputVolume: number;
|
|
42
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|