@decky/ui 4.15.0 → 4.16.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/components/Dialog.js +1 -1
- package/dist/components/Dropdown.d.ts +2 -2
- package/dist/components/FooterLegend.d.ts +8 -2
- package/dist/components/FooterLegend.js +7 -0
- package/dist/components/Menu.d.ts +5 -9
- package/dist/components/Modal.d.ts +3 -2
- package/dist/globals/index.d.ts +25 -2
- package/dist/globals/index.js +1 -2
- package/dist/globals/shared/cm.d.ts +112 -0
- package/dist/globals/shared/enums.d.ts +80 -0
- package/dist/globals/shared/enums.js +85 -0
- package/dist/globals/shared/history.d.ts +12 -0
- package/dist/globals/shared/history.js +1 -0
- package/dist/globals/shared/index.d.ts +5 -0
- package/dist/globals/shared/index.js +5 -0
- package/dist/globals/shared/interfaces.d.ts +54 -0
- package/dist/globals/shared/interfaces.js +1 -0
- package/dist/globals/shared/navigation.d.ts +14 -0
- package/dist/globals/shared/navigation.js +10 -0
- package/dist/globals/shared/steamid.d.ts +36 -0
- package/dist/globals/shared/steamid.js +15 -0
- package/dist/globals/shared/storage.d.ts +27 -0
- package/dist/globals/shared/storage.js +11 -0
- package/dist/globals/steam-client/App.d.ts +1 -1
- package/dist/globals/steam-client/Auth.d.ts +1 -1
- package/dist/globals/steam-client/ClientNotifications.d.ts +1 -1
- package/dist/globals/steam-client/Overlay.d.ts +2 -1
- package/dist/globals/steam-client/Screenshots.d.ts +1 -1
- package/dist/globals/steam-client/Settings.d.ts +1 -1
- package/dist/globals/steam-client/SharedConnection.d.ts +2 -1
- package/dist/globals/steam-client/UI.d.ts +14 -3
- package/dist/globals/steam-client/UI.js +11 -0
- package/dist/globals/steam-client/User.d.ts +13 -0
- package/dist/globals/steam-client/User.js +7 -0
- package/dist/globals/steam-client/WebChat.d.ts +3 -2
- package/dist/globals/steam-client/shared.d.ts +0 -29
- package/dist/globals/steam-client/shared.js +0 -24
- package/dist/globals/stores/app.d.ts +35 -0
- package/dist/globals/stores/app.js +1 -0
- package/dist/globals/stores/appdetailsstore.d.ts +86 -0
- package/dist/globals/stores/appdetailsstore.js +1 -0
- package/dist/globals/stores/appinfostore.d.ts +56 -0
- package/dist/globals/stores/appinfostore.js +1 -0
- package/dist/globals/stores/appstore.d.ts +77 -0
- package/dist/globals/stores/appstore.js +1 -0
- package/dist/globals/stores/badgestore.d.ts +52 -0
- package/dist/globals/stores/badgestore.js +1 -0
- package/dist/globals/stores/collectionstore.d.ts +313 -0
- package/dist/globals/stores/collectionstore.js +143 -0
- package/dist/globals/stores/consolestore.d.ts +20 -0
- package/dist/globals/stores/consolestore.js +1 -0
- package/dist/globals/stores/focusnavcontroller.d.ts +383 -0
- package/dist/globals/stores/focusnavcontroller.js +29 -0
- package/dist/globals/stores/friendstore/clanstore.d.ts +75 -0
- package/dist/globals/stores/friendstore/clanstore.js +19 -0
- package/dist/globals/stores/friendstore/friendchat.d.ts +374 -0
- package/dist/globals/stores/friendstore/friendchat.js +56 -0
- package/dist/globals/stores/friendstore/friendgroupstore.d.ts +98 -0
- package/dist/globals/stores/friendstore/friendgroupstore.js +8 -0
- package/dist/globals/stores/friendstore/friendingamenotificationstore.d.ts +2 -0
- package/dist/globals/stores/friendstore/friendingamenotificationstore.js +1 -0
- package/dist/globals/stores/friendstore/friendslistfavoritesstore.d.ts +22 -0
- package/dist/globals/stores/friendstore/friendslistfavoritesstore.js +1 -0
- package/dist/globals/stores/friendstore/friendsuifriendstore.d.ts +125 -0
- package/dist/globals/stores/friendstore/friendsuifriendstore.js +1 -0
- package/dist/globals/stores/friendstore/index.d.ts +25 -0
- package/dist/globals/stores/friendstore/index.js +1 -0
- package/dist/globals/stores/friendstore/shared.d.ts +207 -0
- package/dist/globals/stores/friendstore/shared.js +41 -0
- package/dist/globals/stores/gamerecordingstore.d.ts +263 -0
- package/dist/globals/stores/gamerecordingstore.js +1 -0
- package/dist/globals/stores/index.d.ts +18 -0
- package/dist/globals/stores/index.js +18 -0
- package/dist/globals/stores/libraryuistore.d.ts +179 -0
- package/dist/globals/stores/libraryuistore.js +56 -0
- package/dist/globals/stores/localizationmanager.d.ts +18 -0
- package/dist/globals/stores/localizationmanager.js +1 -0
- package/dist/globals/stores/mainwindowbrowsermanager.d.ts +62 -0
- package/dist/globals/stores/mainwindowbrowsermanager.js +1 -0
- package/dist/globals/stores/notificationstore.d.ts +242 -0
- package/dist/globals/stores/notificationstore.js +20 -0
- package/dist/globals/stores/popupmanager.d.ts +128 -0
- package/dist/globals/stores/popupmanager.js +1 -0
- package/dist/globals/stores/securitystore.d.ts +35 -0
- package/dist/globals/stores/securitystore.js +1 -0
- package/dist/globals/stores/settingsstore.d.ts +86 -0
- package/dist/globals/stores/settingsstore.js +19 -0
- package/dist/globals/stores/steamuistore/gamepadbrowserview.d.ts +143 -0
- package/dist/globals/stores/steamuistore/gamepadbrowserview.js +9 -0
- package/dist/globals/stores/steamuistore/gamepaduiaudio.d.ts +36 -0
- package/dist/globals/stores/steamuistore/gamepaduiaudio.js +1 -0
- package/dist/globals/stores/steamuistore/index.d.ts +129 -0
- package/dist/globals/stores/steamuistore/index.js +11 -0
- package/dist/globals/stores/steamuistore/menu.d.ts +39 -0
- package/dist/globals/stores/steamuistore/menu.js +19 -0
- package/dist/globals/stores/steamuistore/window.d.ts +206 -0
- package/dist/globals/stores/steamuistore/window.js +6 -0
- package/dist/globals/stores/storeitemcache.d.ts +319 -0
- package/dist/globals/stores/storeitemcache.js +17 -0
- package/dist/globals/stores/urlstore.d.ts +57 -0
- package/dist/globals/stores/urlstore.js +1 -0
- package/dist/modules/Router.d.ts +5 -58
- package/dist/modules/Router.js +2 -20
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/react/treepatcher.js +7 -7
- package/package.json +1 -1
- package/src/components/Dialog.ts +1 -1
- package/src/components/Dropdown.tsx +2 -2
- package/src/components/FooterLegend.ts +10 -2
- package/src/components/Menu.ts +11 -21
- package/src/components/Modal.ts +40 -8
- package/src/globals/index.ts +45 -2
- package/src/globals/shared/cm.ts +158 -0
- package/src/globals/shared/enums.ts +97 -0
- package/src/globals/shared/history.ts +15 -0
- package/src/globals/shared/index.ts +5 -0
- package/src/globals/shared/interfaces.ts +147 -0
- package/src/globals/shared/navigation.ts +15 -0
- package/src/globals/shared/steamid.ts +49 -0
- package/src/globals/shared/storage.ts +62 -0
- package/src/globals/steam-client/App.ts +2 -2
- package/src/globals/steam-client/Auth.ts +2 -2
- package/src/globals/steam-client/ClientNotifications.ts +1 -1
- package/src/globals/steam-client/Overlay.ts +2 -1
- package/src/globals/steam-client/Screenshots.ts +1 -1
- package/src/globals/steam-client/Settings.ts +1 -1
- package/src/globals/steam-client/SharedConnection.ts +2 -1
- package/src/globals/steam-client/UI.ts +15 -6
- package/src/globals/steam-client/User.ts +20 -0
- package/src/globals/steam-client/WebChat.ts +3 -2
- package/src/globals/steam-client/shared.ts +0 -69
- package/src/globals/stores/app.ts +102 -0
- package/src/globals/stores/appdetailsstore.ts +235 -0
- package/src/globals/stores/appinfostore.ts +65 -0
- package/src/globals/stores/appstore.ts +166 -0
- package/src/globals/stores/badgestore.ts +87 -0
- package/src/globals/stores/collectionstore.ts +544 -0
- package/src/globals/stores/consolestore.ts +54 -0
- package/src/globals/stores/focusnavcontroller.ts +522 -0
- package/src/globals/stores/friendstore/clanstore.ts +89 -0
- package/src/globals/stores/friendstore/friendchat.ts +646 -0
- package/src/globals/stores/friendstore/friendgroupstore.ts +187 -0
- package/src/globals/stores/friendstore/friendingamenotificationstore.ts +1 -0
- package/src/globals/stores/friendstore/friendslistfavoritesstore.ts +37 -0
- package/src/globals/stores/friendstore/friendsuifriendstore.ts +274 -0
- package/src/globals/stores/friendstore/index.ts +58 -0
- package/src/globals/stores/friendstore/shared.ts +318 -0
- package/src/globals/stores/gamerecordingstore.ts +367 -0
- package/src/globals/stores/index.ts +18 -0
- package/src/globals/stores/libraryuistore.ts +395 -0
- package/src/globals/stores/localizationmanager.ts +56 -0
- package/src/globals/stores/mainwindowbrowsermanager.ts +135 -0
- package/src/globals/stores/notificationstore.ts +298 -0
- package/src/globals/stores/popupmanager.ts +352 -0
- package/src/globals/stores/securitystore.ts +36 -0
- package/src/globals/stores/settingsstore.ts +134 -0
- package/src/globals/stores/steamuistore/gamepadbrowserview.ts +172 -0
- package/src/globals/stores/steamuistore/gamepaduiaudio.ts +117 -0
- package/src/globals/stores/steamuistore/index.ts +212 -0
- package/src/globals/stores/steamuistore/menu.ts +89 -0
- package/src/globals/stores/steamuistore/window.ts +466 -0
- package/src/globals/stores/storeitemcache.ts +347 -0
- package/src/globals/stores/urlstore.ts +150 -0
- package/src/modules/Router.ts +11 -77
- package/src/utils/index.ts +0 -1
- package/src/utils/react/treepatcher.ts +9 -9
- package/dist/globals/SteamClient.d.ts +0 -5
- package/dist/globals/SteamClient.js +0 -1
- package/dist/globals/stores.d.ts +0 -70
- package/src/globals/SteamClient.ts +0 -6
- package/src/globals/stores.ts +0 -74
- /package/dist/globals/{stores.js → shared/cm.js} +0 -0
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
import type { CCloudStorage, CCloudStorageMap, CUserLocalStorage } from '../shared/storage';
|
|
2
|
+
import type { EAppType, SteamAppOverview } from '../steam-client/App';
|
|
3
|
+
import type { EResult } from '../steam-client/shared';
|
|
4
|
+
export declare enum EFilterAppFeature {
|
|
5
|
+
FullControllerSupport = 1,
|
|
6
|
+
PartialControllerSupport = 2,
|
|
7
|
+
VR = 3,
|
|
8
|
+
TradingCards = 4,
|
|
9
|
+
Workshop = 5,
|
|
10
|
+
Achievements = 6,
|
|
11
|
+
SinglePlayer = 7,
|
|
12
|
+
MultiPlayer = 8,
|
|
13
|
+
CoOp = 9,
|
|
14
|
+
SteamCloud = 10,
|
|
15
|
+
RemotePlayTogether = 11,
|
|
16
|
+
SteamDeckVerified = 12,
|
|
17
|
+
SteamDeckPlayable = 13,
|
|
18
|
+
SteamDeckUnknown = 14,
|
|
19
|
+
SteamDeckUnsupported = 15,
|
|
20
|
+
PS4ControllerSupport = 16,
|
|
21
|
+
PS4ControllerBTSupport = 17,
|
|
22
|
+
PS5ControllerSupport = 18,
|
|
23
|
+
PS5ControllerBTSupport = 19,
|
|
24
|
+
SteamInputAPI = 20,
|
|
25
|
+
GamepadPreferred = 21,
|
|
26
|
+
HDR = 22,
|
|
27
|
+
FamilySharing = 23,
|
|
28
|
+
SteamOSCompatible = 24,
|
|
29
|
+
SteamOSUnknown = 25
|
|
30
|
+
}
|
|
31
|
+
declare enum EFilterGroup {
|
|
32
|
+
AppType = 0,
|
|
33
|
+
PlayState = 1,
|
|
34
|
+
AppFeature = 2,
|
|
35
|
+
Genre = 3,
|
|
36
|
+
StoreCategory = 4,
|
|
37
|
+
Partner = 5,
|
|
38
|
+
Friends = 6
|
|
39
|
+
}
|
|
40
|
+
export declare enum EGamePlayState {
|
|
41
|
+
Installed = 1,
|
|
42
|
+
ReadyToPlay = 2,
|
|
43
|
+
PlayedPreviously = 3,
|
|
44
|
+
Unplayed = 4,
|
|
45
|
+
ValidPlatform = 5
|
|
46
|
+
}
|
|
47
|
+
export declare enum EGenre {
|
|
48
|
+
action = 19,
|
|
49
|
+
adventure = 21,
|
|
50
|
+
anime = 4085,
|
|
51
|
+
casual = 597,
|
|
52
|
+
open_world = 1695,
|
|
53
|
+
fighting = 4328,
|
|
54
|
+
fighting_2 = 4736,
|
|
55
|
+
fighting_3 = 6506,
|
|
56
|
+
horror = 1667,
|
|
57
|
+
coop = 1685,
|
|
58
|
+
puzzle = 1664,
|
|
59
|
+
puzzle_2 = 5537,
|
|
60
|
+
puzzle_3 = 1665,
|
|
61
|
+
racing = 699,
|
|
62
|
+
racing_2 = 4102,
|
|
63
|
+
roguelike = 42804,
|
|
64
|
+
rpg = 112,
|
|
65
|
+
rpg_2 = 4434,
|
|
66
|
+
rpg_3 = 4231,
|
|
67
|
+
scifi = 3942,
|
|
68
|
+
simulation = 599,
|
|
69
|
+
simulation_2 = 12472,
|
|
70
|
+
sports = 701,
|
|
71
|
+
story_rich = 1742,
|
|
72
|
+
strategy = 9,
|
|
73
|
+
strategy_2 = 1670,
|
|
74
|
+
strategy_3 = 1676,
|
|
75
|
+
cities_settlements = 9,
|
|
76
|
+
cities_settlements_2 = 4328,
|
|
77
|
+
cities_settlements_3 = 220585,
|
|
78
|
+
survival = 1662,
|
|
79
|
+
visual_novel = 3799,
|
|
80
|
+
f2p = 113,
|
|
81
|
+
vr = 402,
|
|
82
|
+
vr_2 = 401
|
|
83
|
+
}
|
|
84
|
+
export declare enum EStoreCategory {
|
|
85
|
+
MultiPlayer = 1,
|
|
86
|
+
SinglePlayer = 2,
|
|
87
|
+
CoOp = 9,
|
|
88
|
+
PartialController = 18,
|
|
89
|
+
MMO = 20,
|
|
90
|
+
Achievements = 22,
|
|
91
|
+
SteamCloud = 23,
|
|
92
|
+
SplitScreen = 24,
|
|
93
|
+
CrossPlatformMultiPlayer = 27,
|
|
94
|
+
FullController = 28,
|
|
95
|
+
TradingCards = 29,
|
|
96
|
+
Workshop = 30,
|
|
97
|
+
VRSupport = 31,
|
|
98
|
+
OnlineMultiPlayer = 36,
|
|
99
|
+
LocalMultiPlayer = 37,
|
|
100
|
+
OnlineCoOp = 38,
|
|
101
|
+
LocalCoOp = 39,
|
|
102
|
+
RemotePlayTogether = 44,
|
|
103
|
+
HighQualitySoundtrackAudio = 50,
|
|
104
|
+
FamilySharing = 62
|
|
105
|
+
}
|
|
106
|
+
export declare enum EPartnerCollection {
|
|
107
|
+
EASubscription = "EAAccess"
|
|
108
|
+
}
|
|
109
|
+
export declare enum ESystemCollection {
|
|
110
|
+
Favorites = "favorite",
|
|
111
|
+
Uncategorized = "uncategorized",
|
|
112
|
+
Hidden = "hidden",
|
|
113
|
+
AllAppsAlpha = "all-apps-alpha",
|
|
114
|
+
AllAppsRecent = "all-apps-recent",
|
|
115
|
+
MyGames = "my-games",
|
|
116
|
+
SiteLicense = "site-license",
|
|
117
|
+
Recent = "recent",
|
|
118
|
+
Shared = "shared-",
|
|
119
|
+
FamilyGroup = "shared-familygroup",
|
|
120
|
+
DeckGames = "deck-games",
|
|
121
|
+
DTst1Games = "dtst1-games",
|
|
122
|
+
LocalGames = "local-install",
|
|
123
|
+
AllGames = "all-games",
|
|
124
|
+
LocalPlayed = "local-played",
|
|
125
|
+
RecentPurchased = "recent-purchased",
|
|
126
|
+
DeckDesktopApps = "deck-desktop-apps",
|
|
127
|
+
RemotePlay = "remote-play",
|
|
128
|
+
RemotePlayActive = "remote-play-active",
|
|
129
|
+
VR = "vr",
|
|
130
|
+
Xbox = "xbox",
|
|
131
|
+
PS4 = "ps4",
|
|
132
|
+
PS5 = "ps5",
|
|
133
|
+
AppType = "type-",
|
|
134
|
+
AppType_Games = "type-games",
|
|
135
|
+
AppType_Soundtracks = "type-music",
|
|
136
|
+
AppType_Software = "type-software",
|
|
137
|
+
AppType_Videos = "type-videos",
|
|
138
|
+
AppType_Tools = "type-tools"
|
|
139
|
+
}
|
|
140
|
+
interface CollectionInStorageData_t {
|
|
141
|
+
id: string;
|
|
142
|
+
name: string;
|
|
143
|
+
added: number[];
|
|
144
|
+
removed: number[];
|
|
145
|
+
}
|
|
146
|
+
interface CollectionInStorage_t {
|
|
147
|
+
roamingData: CollectionInStorageData_t;
|
|
148
|
+
localData: Omit<CollectionInStorageData_t, 'name'>;
|
|
149
|
+
}
|
|
150
|
+
type Values<K> = {
|
|
151
|
+
[P in keyof K]: K[P];
|
|
152
|
+
};
|
|
153
|
+
interface FilterGroup {
|
|
154
|
+
bAcceptUnion: boolean;
|
|
155
|
+
rgOptions: Values<FilterOptionByIndex_t>;
|
|
156
|
+
}
|
|
157
|
+
export interface FilterSpec_t {
|
|
158
|
+
filterGroups: FilterGroup[];
|
|
159
|
+
nFormatVersion: number;
|
|
160
|
+
setSuggestions: Set<number>;
|
|
161
|
+
strSearchText: string;
|
|
162
|
+
}
|
|
163
|
+
export type FilterOptionByIndex_t = {
|
|
164
|
+
[EFilterGroup.AppType]: EAppType;
|
|
165
|
+
[EFilterGroup.PlayState]: EGamePlayState;
|
|
166
|
+
[EFilterGroup.AppFeature]: EFilterAppFeature;
|
|
167
|
+
[EFilterGroup.Genre]: EGenre;
|
|
168
|
+
[EFilterGroup.StoreCategory]: EStoreCategory;
|
|
169
|
+
[EFilterGroup.Partner]: EPartnerCollection;
|
|
170
|
+
[EFilterGroup.Friends]: number;
|
|
171
|
+
};
|
|
172
|
+
type FilterOption_t<T extends EFilterGroup> = {
|
|
173
|
+
eGroup: T;
|
|
174
|
+
option: FilterOptionByIndex_t[T];
|
|
175
|
+
name: string;
|
|
176
|
+
};
|
|
177
|
+
export declare class CCollectionFilterBase {
|
|
178
|
+
m_filterSpec: FilterSpec_t;
|
|
179
|
+
BAcceptsUnion(group: EFilterGroup): boolean;
|
|
180
|
+
BIsSelected<K extends keyof FilterOptionByIndex_t>(group: K, option: FilterOptionByIndex_t[K]): boolean;
|
|
181
|
+
GetAllSelectedOptions<K extends keyof FilterOptionByIndex_t>(): FilterOption_t<K>[];
|
|
182
|
+
GetSelectedOptions<K extends keyof FilterOptionByIndex_t>(group: K): FilterOptionByIndex_t[K][];
|
|
183
|
+
GetTagsString(): string;
|
|
184
|
+
Matches(overview: SteamAppOverview): boolean;
|
|
185
|
+
MatchesImpl(overview: SteamAppOverview): boolean;
|
|
186
|
+
MatchesScored(overview: SteamAppOverview): boolean;
|
|
187
|
+
MatchesScoredImpl(overview: SteamAppOverview): boolean;
|
|
188
|
+
SelectOption<K extends keyof FilterOptionByIndex_t>(group: K, option: FilterOptionByIndex_t[K], value: boolean): void;
|
|
189
|
+
SetSearchSuggestions(list: number[]): void;
|
|
190
|
+
SetSearchText(text: string): void;
|
|
191
|
+
ToggleAcceptsUnion(group: EFilterGroup): void;
|
|
192
|
+
ToStorageFormat(): FilterSpec_t;
|
|
193
|
+
get bIsEmpty(): boolean;
|
|
194
|
+
get hash(): number;
|
|
195
|
+
get searchSuggestions(): Set<number>;
|
|
196
|
+
get searchText(): string;
|
|
197
|
+
}
|
|
198
|
+
export declare class CDynamicCollectionFilter extends CCollectionFilterBase {
|
|
199
|
+
BHasAppFeature(feature: EFilterAppFeature): boolean;
|
|
200
|
+
BHasNonGamepadOptions(): boolean;
|
|
201
|
+
BIncludesTools(): boolean;
|
|
202
|
+
GetCurrentControllerSpecificOption(): EFilterAppFeature[] | undefined;
|
|
203
|
+
GetToolTipText(): string[];
|
|
204
|
+
Reset(): void;
|
|
205
|
+
}
|
|
206
|
+
export declare class CCollectionBase {
|
|
207
|
+
m_mapFilterToAppCounts: Map<number, number>;
|
|
208
|
+
m_rgApps: number[];
|
|
209
|
+
m_setApps: Set<number>;
|
|
210
|
+
m_strId: string;
|
|
211
|
+
m_strName: string;
|
|
212
|
+
AsDeletableCollection(): CCollectionBase | null;
|
|
213
|
+
AsDragDropCollection(): CCollectionBase | null;
|
|
214
|
+
AsEditableCollection(): CCollectionBase | null;
|
|
215
|
+
BIncludesFriend(steamid: number): boolean;
|
|
216
|
+
ClearAppCounts(): void;
|
|
217
|
+
GetAppCountWithToolsFilter(filter: CDynamicCollectionFilter): number;
|
|
218
|
+
SetApps(rgApps: number[]): void;
|
|
219
|
+
UpdateAllApps(): void;
|
|
220
|
+
UpdateApps(rgAppsToAdd: SteamAppOverview[], rgAppsToRemove: number[]): void;
|
|
221
|
+
UpdateFriendOwnedGames(steamid: number): void;
|
|
222
|
+
get allApps(): SteamAppOverview[];
|
|
223
|
+
get apps(): Set<number>;
|
|
224
|
+
get bAllowsDragAndDrop(): boolean;
|
|
225
|
+
get bFiltersOnGameListAppType(): boolean;
|
|
226
|
+
get bIsDeletable(): boolean;
|
|
227
|
+
get bIsDynamic(): boolean;
|
|
228
|
+
get bIsEditable(): boolean;
|
|
229
|
+
get displayName(): string;
|
|
230
|
+
get id(): string;
|
|
231
|
+
get visibleApps(): SteamAppOverview[];
|
|
232
|
+
}
|
|
233
|
+
export declare class CCollection extends CCollectionBase {
|
|
234
|
+
m_filter: CDynamicCollectionFilter;
|
|
235
|
+
m_setAddedManually: Set<number>;
|
|
236
|
+
m_setRemovedManually: Set<number>;
|
|
237
|
+
AddApps(rgApps: SteamAppOverview[]): void;
|
|
238
|
+
Delete(): Promise<void>;
|
|
239
|
+
FreezeToStatic(): void;
|
|
240
|
+
MergeFromStorageFormat(data: CollectionInStorage_t): void;
|
|
241
|
+
RemoveApps(rgApps: SteamAppOverview[]): void;
|
|
242
|
+
Save(): Promise<void>;
|
|
243
|
+
ToStorageFormat(): CollectionInStorage_t;
|
|
244
|
+
get internalAddedList(): Set<number>;
|
|
245
|
+
get internalAppFilter(): CDynamicCollectionFilter;
|
|
246
|
+
get internalRemovedList(): Set<number>;
|
|
247
|
+
}
|
|
248
|
+
export declare class CCollectionStore {
|
|
249
|
+
m_localStorage: CUserLocalStorage;
|
|
250
|
+
m_cloudStorage: CCloudStorage;
|
|
251
|
+
m_cloudStorageMap: CCloudStorageMap;
|
|
252
|
+
m_shortcutCollectionInfo: Record<string, Omit<CollectionInStorageData_t, 'name'>>;
|
|
253
|
+
m_mapSystemCollectionIdToName: Map<ESystemCollection, string>;
|
|
254
|
+
m_mapPartnerCollectionIdToName: Map<string, string>;
|
|
255
|
+
m_mapCollectionsFromStorage: Map<ESystemCollection, CCollection>;
|
|
256
|
+
AddOrRemoveApp(rgAppIDs: number[], bAdd: boolean, strCollectionID: string): void;
|
|
257
|
+
AddPartnerCollection(collectionID: string): Promise<void>;
|
|
258
|
+
BHasNonGamepadOptions(): boolean;
|
|
259
|
+
BIncludeInFamilyGroupCollection(app: SteamAppOverview): boolean;
|
|
260
|
+
BIncludeInSharedLibraryCollection(app: SteamAppOverview): boolean;
|
|
261
|
+
BIsFavorite(app: SteamAppOverview | number): boolean;
|
|
262
|
+
BIsFriendInAnyCollection(steamid3: number): boolean;
|
|
263
|
+
BIsHidden(app: SteamAppOverview | number): boolean;
|
|
264
|
+
BIsPartnerCollectionId(id: string): boolean;
|
|
265
|
+
BIsPartnerCollectionName(name: string): boolean;
|
|
266
|
+
BIsSystemCollectionId(id: string): boolean;
|
|
267
|
+
BIsSystemCollectionName(name: string): boolean;
|
|
268
|
+
BIsVisible(app: SteamAppOverview | number): boolean;
|
|
269
|
+
CreateSystemCollections(): Promise<void>;
|
|
270
|
+
DeleteCollection(collectionID: string): Promise<EResult>;
|
|
271
|
+
GetCollection(collectionID: string): CCollection | null;
|
|
272
|
+
GetCollectionForAppType(type: EAppType): CCollectionBase | undefined;
|
|
273
|
+
GetCollectionIDByUserTag(collectionName: string): string | null;
|
|
274
|
+
GetCollectionListForAppID(appId: number): CCollection[];
|
|
275
|
+
GetCurrentGamepadFilter(): EFilterAppFeature;
|
|
276
|
+
GetUserCollectionsByName(collectionName: string): CCollection[];
|
|
277
|
+
NewUnsavedCollection(strName: string, filter: CDynamicCollectionFilter, rgApps: SteamAppOverview[]): CCollection;
|
|
278
|
+
PartnerCollectionIdToName(collectionID: string): string | undefined;
|
|
279
|
+
SaveCollection(collection: CCollection): Promise<void>;
|
|
280
|
+
SetAppsAsFavorite(rgAppIDs: number[], bAdd: boolean): void;
|
|
281
|
+
SetAppsAsHidden(rgAppIDs: number[], bAdd: boolean): void;
|
|
282
|
+
SetGamepadCollectionFilter(type: EAppType): void;
|
|
283
|
+
SystemCollectionIdToName(collectionID: ESystemCollection): string | undefined;
|
|
284
|
+
WriteLocalStorage(): Promise<void>;
|
|
285
|
+
get allAppsCollection(): CCollectionBase;
|
|
286
|
+
get allGamesCollection(): CCollectionBase;
|
|
287
|
+
get allRecentAppsCollection(): CCollectionBase;
|
|
288
|
+
get appTypeCollectionMap(): Map<ESystemCollection, CCollectionBase>;
|
|
289
|
+
get appTypeCollections(): CCollectionBase[];
|
|
290
|
+
get collectionsFromStorage(): Map<ESystemCollection, CCollection>;
|
|
291
|
+
get deckDesktopApps(): CCollectionBase;
|
|
292
|
+
get deckGamesCollection(): CCollectionBase;
|
|
293
|
+
get dtestGamesCollection(): null;
|
|
294
|
+
get localGamesCollection(): CCollectionBase;
|
|
295
|
+
get localPlayedGamesCollection(): CCollectionBase;
|
|
296
|
+
get myGamesCollection(): CCollectionBase;
|
|
297
|
+
get ps4ControllerGamesCollection(): CCollectionBase;
|
|
298
|
+
get ps5ControllerGamesCollection(): CCollectionBase;
|
|
299
|
+
get recentAppCollectionMap(): Map<string, CCollectionBase>;
|
|
300
|
+
get recentAppCollections(): CCollectionBase[];
|
|
301
|
+
get recentAppsCollection(): CCollectionBase;
|
|
302
|
+
get recentPurchasedGamesCollection(): CCollectionBase;
|
|
303
|
+
get remotePlayActiveCollection(): CCollectionBase;
|
|
304
|
+
get remotePlayCollection(): CCollectionBase;
|
|
305
|
+
get sharedLibrariesCollectionMap(): Map<string, CCollectionBase>;
|
|
306
|
+
get sharedLibrariesCollections(): CCollectionBase[];
|
|
307
|
+
get siteLicenseCollection(): CCollectionBase;
|
|
308
|
+
get uncategorizedCollection(): CCollectionBase;
|
|
309
|
+
get userCollections(): CCollectionBase[];
|
|
310
|
+
get vrAppsCollection(): CCollectionBase;
|
|
311
|
+
get xboxControllerGamesCollection(): CCollectionBase;
|
|
312
|
+
}
|
|
313
|
+
export {};
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
export var EFilterAppFeature;
|
|
2
|
+
(function (EFilterAppFeature) {
|
|
3
|
+
EFilterAppFeature[EFilterAppFeature["FullControllerSupport"] = 1] = "FullControllerSupport";
|
|
4
|
+
EFilterAppFeature[EFilterAppFeature["PartialControllerSupport"] = 2] = "PartialControllerSupport";
|
|
5
|
+
EFilterAppFeature[EFilterAppFeature["VR"] = 3] = "VR";
|
|
6
|
+
EFilterAppFeature[EFilterAppFeature["TradingCards"] = 4] = "TradingCards";
|
|
7
|
+
EFilterAppFeature[EFilterAppFeature["Workshop"] = 5] = "Workshop";
|
|
8
|
+
EFilterAppFeature[EFilterAppFeature["Achievements"] = 6] = "Achievements";
|
|
9
|
+
EFilterAppFeature[EFilterAppFeature["SinglePlayer"] = 7] = "SinglePlayer";
|
|
10
|
+
EFilterAppFeature[EFilterAppFeature["MultiPlayer"] = 8] = "MultiPlayer";
|
|
11
|
+
EFilterAppFeature[EFilterAppFeature["CoOp"] = 9] = "CoOp";
|
|
12
|
+
EFilterAppFeature[EFilterAppFeature["SteamCloud"] = 10] = "SteamCloud";
|
|
13
|
+
EFilterAppFeature[EFilterAppFeature["RemotePlayTogether"] = 11] = "RemotePlayTogether";
|
|
14
|
+
EFilterAppFeature[EFilterAppFeature["SteamDeckVerified"] = 12] = "SteamDeckVerified";
|
|
15
|
+
EFilterAppFeature[EFilterAppFeature["SteamDeckPlayable"] = 13] = "SteamDeckPlayable";
|
|
16
|
+
EFilterAppFeature[EFilterAppFeature["SteamDeckUnknown"] = 14] = "SteamDeckUnknown";
|
|
17
|
+
EFilterAppFeature[EFilterAppFeature["SteamDeckUnsupported"] = 15] = "SteamDeckUnsupported";
|
|
18
|
+
EFilterAppFeature[EFilterAppFeature["PS4ControllerSupport"] = 16] = "PS4ControllerSupport";
|
|
19
|
+
EFilterAppFeature[EFilterAppFeature["PS4ControllerBTSupport"] = 17] = "PS4ControllerBTSupport";
|
|
20
|
+
EFilterAppFeature[EFilterAppFeature["PS5ControllerSupport"] = 18] = "PS5ControllerSupport";
|
|
21
|
+
EFilterAppFeature[EFilterAppFeature["PS5ControllerBTSupport"] = 19] = "PS5ControllerBTSupport";
|
|
22
|
+
EFilterAppFeature[EFilterAppFeature["SteamInputAPI"] = 20] = "SteamInputAPI";
|
|
23
|
+
EFilterAppFeature[EFilterAppFeature["GamepadPreferred"] = 21] = "GamepadPreferred";
|
|
24
|
+
EFilterAppFeature[EFilterAppFeature["HDR"] = 22] = "HDR";
|
|
25
|
+
EFilterAppFeature[EFilterAppFeature["FamilySharing"] = 23] = "FamilySharing";
|
|
26
|
+
EFilterAppFeature[EFilterAppFeature["SteamOSCompatible"] = 24] = "SteamOSCompatible";
|
|
27
|
+
EFilterAppFeature[EFilterAppFeature["SteamOSUnknown"] = 25] = "SteamOSUnknown";
|
|
28
|
+
})(EFilterAppFeature || (EFilterAppFeature = {}));
|
|
29
|
+
var EFilterGroup;
|
|
30
|
+
(function (EFilterGroup) {
|
|
31
|
+
EFilterGroup[EFilterGroup["AppType"] = 0] = "AppType";
|
|
32
|
+
EFilterGroup[EFilterGroup["PlayState"] = 1] = "PlayState";
|
|
33
|
+
EFilterGroup[EFilterGroup["AppFeature"] = 2] = "AppFeature";
|
|
34
|
+
EFilterGroup[EFilterGroup["Genre"] = 3] = "Genre";
|
|
35
|
+
EFilterGroup[EFilterGroup["StoreCategory"] = 4] = "StoreCategory";
|
|
36
|
+
EFilterGroup[EFilterGroup["Partner"] = 5] = "Partner";
|
|
37
|
+
EFilterGroup[EFilterGroup["Friends"] = 6] = "Friends";
|
|
38
|
+
})(EFilterGroup || (EFilterGroup = {}));
|
|
39
|
+
export var EGamePlayState;
|
|
40
|
+
(function (EGamePlayState) {
|
|
41
|
+
EGamePlayState[EGamePlayState["Installed"] = 1] = "Installed";
|
|
42
|
+
EGamePlayState[EGamePlayState["ReadyToPlay"] = 2] = "ReadyToPlay";
|
|
43
|
+
EGamePlayState[EGamePlayState["PlayedPreviously"] = 3] = "PlayedPreviously";
|
|
44
|
+
EGamePlayState[EGamePlayState["Unplayed"] = 4] = "Unplayed";
|
|
45
|
+
EGamePlayState[EGamePlayState["ValidPlatform"] = 5] = "ValidPlatform";
|
|
46
|
+
})(EGamePlayState || (EGamePlayState = {}));
|
|
47
|
+
export var EGenre;
|
|
48
|
+
(function (EGenre) {
|
|
49
|
+
EGenre[EGenre["action"] = 19] = "action";
|
|
50
|
+
EGenre[EGenre["adventure"] = 21] = "adventure";
|
|
51
|
+
EGenre[EGenre["anime"] = 4085] = "anime";
|
|
52
|
+
EGenre[EGenre["casual"] = 597] = "casual";
|
|
53
|
+
EGenre[EGenre["open_world"] = 1695] = "open_world";
|
|
54
|
+
EGenre[EGenre["fighting"] = 4328] = "fighting";
|
|
55
|
+
EGenre[EGenre["fighting_2"] = 4736] = "fighting_2";
|
|
56
|
+
EGenre[EGenre["fighting_3"] = 6506] = "fighting_3";
|
|
57
|
+
EGenre[EGenre["horror"] = 1667] = "horror";
|
|
58
|
+
EGenre[EGenre["coop"] = 1685] = "coop";
|
|
59
|
+
EGenre[EGenre["puzzle"] = 1664] = "puzzle";
|
|
60
|
+
EGenre[EGenre["puzzle_2"] = 5537] = "puzzle_2";
|
|
61
|
+
EGenre[EGenre["puzzle_3"] = 1665] = "puzzle_3";
|
|
62
|
+
EGenre[EGenre["racing"] = 699] = "racing";
|
|
63
|
+
EGenre[EGenre["racing_2"] = 4102] = "racing_2";
|
|
64
|
+
EGenre[EGenre["roguelike"] = 42804] = "roguelike";
|
|
65
|
+
EGenre[EGenre["rpg"] = 112] = "rpg";
|
|
66
|
+
EGenre[EGenre["rpg_2"] = 4434] = "rpg_2";
|
|
67
|
+
EGenre[EGenre["rpg_3"] = 4231] = "rpg_3";
|
|
68
|
+
EGenre[EGenre["scifi"] = 3942] = "scifi";
|
|
69
|
+
EGenre[EGenre["simulation"] = 599] = "simulation";
|
|
70
|
+
EGenre[EGenre["simulation_2"] = 12472] = "simulation_2";
|
|
71
|
+
EGenre[EGenre["sports"] = 701] = "sports";
|
|
72
|
+
EGenre[EGenre["story_rich"] = 1742] = "story_rich";
|
|
73
|
+
EGenre[EGenre["strategy"] = 9] = "strategy";
|
|
74
|
+
EGenre[EGenre["strategy_2"] = 1670] = "strategy_2";
|
|
75
|
+
EGenre[EGenre["strategy_3"] = 1676] = "strategy_3";
|
|
76
|
+
EGenre[EGenre["cities_settlements"] = 9] = "cities_settlements";
|
|
77
|
+
EGenre[EGenre["cities_settlements_2"] = 4328] = "cities_settlements_2";
|
|
78
|
+
EGenre[EGenre["cities_settlements_3"] = 220585] = "cities_settlements_3";
|
|
79
|
+
EGenre[EGenre["survival"] = 1662] = "survival";
|
|
80
|
+
EGenre[EGenre["visual_novel"] = 3799] = "visual_novel";
|
|
81
|
+
EGenre[EGenre["f2p"] = 113] = "f2p";
|
|
82
|
+
EGenre[EGenre["vr"] = 402] = "vr";
|
|
83
|
+
EGenre[EGenre["vr_2"] = 401] = "vr_2";
|
|
84
|
+
})(EGenre || (EGenre = {}));
|
|
85
|
+
export var EStoreCategory;
|
|
86
|
+
(function (EStoreCategory) {
|
|
87
|
+
EStoreCategory[EStoreCategory["MultiPlayer"] = 1] = "MultiPlayer";
|
|
88
|
+
EStoreCategory[EStoreCategory["SinglePlayer"] = 2] = "SinglePlayer";
|
|
89
|
+
EStoreCategory[EStoreCategory["CoOp"] = 9] = "CoOp";
|
|
90
|
+
EStoreCategory[EStoreCategory["PartialController"] = 18] = "PartialController";
|
|
91
|
+
EStoreCategory[EStoreCategory["MMO"] = 20] = "MMO";
|
|
92
|
+
EStoreCategory[EStoreCategory["Achievements"] = 22] = "Achievements";
|
|
93
|
+
EStoreCategory[EStoreCategory["SteamCloud"] = 23] = "SteamCloud";
|
|
94
|
+
EStoreCategory[EStoreCategory["SplitScreen"] = 24] = "SplitScreen";
|
|
95
|
+
EStoreCategory[EStoreCategory["CrossPlatformMultiPlayer"] = 27] = "CrossPlatformMultiPlayer";
|
|
96
|
+
EStoreCategory[EStoreCategory["FullController"] = 28] = "FullController";
|
|
97
|
+
EStoreCategory[EStoreCategory["TradingCards"] = 29] = "TradingCards";
|
|
98
|
+
EStoreCategory[EStoreCategory["Workshop"] = 30] = "Workshop";
|
|
99
|
+
EStoreCategory[EStoreCategory["VRSupport"] = 31] = "VRSupport";
|
|
100
|
+
EStoreCategory[EStoreCategory["OnlineMultiPlayer"] = 36] = "OnlineMultiPlayer";
|
|
101
|
+
EStoreCategory[EStoreCategory["LocalMultiPlayer"] = 37] = "LocalMultiPlayer";
|
|
102
|
+
EStoreCategory[EStoreCategory["OnlineCoOp"] = 38] = "OnlineCoOp";
|
|
103
|
+
EStoreCategory[EStoreCategory["LocalCoOp"] = 39] = "LocalCoOp";
|
|
104
|
+
EStoreCategory[EStoreCategory["RemotePlayTogether"] = 44] = "RemotePlayTogether";
|
|
105
|
+
EStoreCategory[EStoreCategory["HighQualitySoundtrackAudio"] = 50] = "HighQualitySoundtrackAudio";
|
|
106
|
+
EStoreCategory[EStoreCategory["FamilySharing"] = 62] = "FamilySharing";
|
|
107
|
+
})(EStoreCategory || (EStoreCategory = {}));
|
|
108
|
+
export var EPartnerCollection;
|
|
109
|
+
(function (EPartnerCollection) {
|
|
110
|
+
EPartnerCollection["EASubscription"] = "EAAccess";
|
|
111
|
+
})(EPartnerCollection || (EPartnerCollection = {}));
|
|
112
|
+
export var ESystemCollection;
|
|
113
|
+
(function (ESystemCollection) {
|
|
114
|
+
ESystemCollection["Favorites"] = "favorite";
|
|
115
|
+
ESystemCollection["Uncategorized"] = "uncategorized";
|
|
116
|
+
ESystemCollection["Hidden"] = "hidden";
|
|
117
|
+
ESystemCollection["AllAppsAlpha"] = "all-apps-alpha";
|
|
118
|
+
ESystemCollection["AllAppsRecent"] = "all-apps-recent";
|
|
119
|
+
ESystemCollection["MyGames"] = "my-games";
|
|
120
|
+
ESystemCollection["SiteLicense"] = "site-license";
|
|
121
|
+
ESystemCollection["Recent"] = "recent";
|
|
122
|
+
ESystemCollection["Shared"] = "shared-";
|
|
123
|
+
ESystemCollection["FamilyGroup"] = "shared-familygroup";
|
|
124
|
+
ESystemCollection["DeckGames"] = "deck-games";
|
|
125
|
+
ESystemCollection["DTst1Games"] = "dtst1-games";
|
|
126
|
+
ESystemCollection["LocalGames"] = "local-install";
|
|
127
|
+
ESystemCollection["AllGames"] = "all-games";
|
|
128
|
+
ESystemCollection["LocalPlayed"] = "local-played";
|
|
129
|
+
ESystemCollection["RecentPurchased"] = "recent-purchased";
|
|
130
|
+
ESystemCollection["DeckDesktopApps"] = "deck-desktop-apps";
|
|
131
|
+
ESystemCollection["RemotePlay"] = "remote-play";
|
|
132
|
+
ESystemCollection["RemotePlayActive"] = "remote-play-active";
|
|
133
|
+
ESystemCollection["VR"] = "vr";
|
|
134
|
+
ESystemCollection["Xbox"] = "xbox";
|
|
135
|
+
ESystemCollection["PS4"] = "ps4";
|
|
136
|
+
ESystemCollection["PS5"] = "ps5";
|
|
137
|
+
ESystemCollection["AppType"] = "type-";
|
|
138
|
+
ESystemCollection["AppType_Games"] = "type-games";
|
|
139
|
+
ESystemCollection["AppType_Soundtracks"] = "type-music";
|
|
140
|
+
ESystemCollection["AppType_Software"] = "type-software";
|
|
141
|
+
ESystemCollection["AppType_Videos"] = "type-videos";
|
|
142
|
+
ESystemCollection["AppType_Tools"] = "type-tools";
|
|
143
|
+
})(ESystemCollection || (ESystemCollection = {}));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { SpewType_t } from '../steam-client/Console';
|
|
2
|
+
import type { Unregisterable } from '../steam-client/shared';
|
|
3
|
+
export interface ConsoleSpewInfo {
|
|
4
|
+
text: string;
|
|
5
|
+
type: SpewType_t;
|
|
6
|
+
}
|
|
7
|
+
export interface ConsoleSpew {
|
|
8
|
+
line: number;
|
|
9
|
+
spew: ConsoleSpewInfo[];
|
|
10
|
+
time: Date;
|
|
11
|
+
}
|
|
12
|
+
export interface CConsoleStore {
|
|
13
|
+
m_listenHandle: Unregisterable;
|
|
14
|
+
m_rgCommandHistory: string[];
|
|
15
|
+
m_rgConsoleSpew: ConsoleSpew[];
|
|
16
|
+
AddSpewLine(text: string, type?: SpewType_t): void;
|
|
17
|
+
Reset(): void;
|
|
18
|
+
StartListening(): void;
|
|
19
|
+
StopListening(): void;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|