steamutils 1.0.5 → 1.0.7
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/SteamClient.js +47 -3
- package/package.json +1 -1
- package/protos/base_gcmessages.proto +533 -0
- package/protos/clientmetrics.proto +45 -0
- package/protos/content_manifest.proto +62 -0
- package/protos/cstrike15_gcmessages.proto +1344 -0
- package/protos/cstrike15_usermessages.proto +597 -0
- package/protos/econ_gcmessages.proto +225 -0
- package/protos/encrypted_app_ticket.proto +10 -0
- package/protos/engine_gcmessages.proto +16 -0
- package/protos/enums.proto +285 -0
- package/protos/enums_clientserver.proto +1534 -0
- package/protos/fatdemo.proto +125 -0
- package/protos/gcsdk_gcmessages.proto +302 -0
- package/protos/gcsystemmsgs.proto +246 -0
- package/protos/htmlmessages.proto +993 -0
- package/protos/netmessages.proto +491 -0
- package/protos/network_connection.proto +70 -0
- package/protos/renderer/rendermessages.proto +893 -0
- package/protos/steamdatagram_messages.proto +205 -0
- package/protos/steamdatagram_messages_auth.proto +65 -0
- package/protos/steamdatagram_messages_sdr.proto +518 -0
- package/protos/steammessages.proto +601 -0
- package/protos/steammessages_accounthardware.steamclient.proto +188 -0
- package/protos/steammessages_appoverview.proto +185 -0
- package/protos/steammessages_auth.steamclient.proto +192 -0
- package/protos/steammessages_base.proto +288 -0
- package/protos/steammessages_broadcast.steamclient.proto +756 -0
- package/protos/steammessages_chat.steamclient.proto +1281 -0
- package/protos/steammessages_client_objects.proto +336 -0
- package/protos/steammessages_clientlanp2p.proto +26 -0
- package/protos/steammessages_clientmetrics.steamclient.proto +176 -0
- package/protos/steammessages_clientnotificationtypes.proto +129 -0
- package/protos/steammessages_clientserver.proto +384 -0
- package/protos/steammessages_clientserver_2.proto +776 -0
- package/protos/steammessages_clientserver_appinfo.proto +166 -0
- package/protos/steammessages_clientserver_friends.proto +260 -0
- package/protos/steammessages_clientserver_gameservers.proto +159 -0
- package/protos/steammessages_clientserver_lbs.proto +70 -0
- package/protos/steammessages_clientserver_login.proto +159 -0
- package/protos/steammessages_clientserver_mms.proto +235 -0
- package/protos/steammessages_clientserver_ucm.proto +202 -0
- package/protos/steammessages_clientserver_uds.proto +104 -0
- package/protos/steammessages_clientserver_ufs.proto +172 -0
- package/protos/steammessages_clientserver_userstats.proto +80 -0
- package/protos/steammessages_cloud.steamclient.proto +512 -0
- package/protos/steammessages_contentsystem.steamclient.proto +77 -0
- package/protos/steammessages_credentials.steamclient.proto +141 -0
- package/protos/steammessages_datapublisher.steamclient.proto +67 -0
- package/protos/steammessages_depotbuilder.steamclient.proto +118 -0
- package/protos/steammessages_deviceauth.steamclient.proto +200 -0
- package/protos/steammessages_econ.steamclient.proto +105 -0
- package/protos/steammessages_friendmessages.steamclient.proto +168 -0
- package/protos/steammessages_gamenetworking.steamclient.proto +32 -0
- package/protos/steammessages_gamenetworkingui.proto +42 -0
- package/protos/steammessages_gamenotifications.steamclient.proto +156 -0
- package/protos/steammessages_gameservers.steamclient.proto +152 -0
- package/protos/steammessages_hiddevices.proto +156 -0
- package/protos/steammessages_inventory.steamclient.proto +224 -0
- package/protos/steammessages_linkfilter.steamclient.proto +49 -0
- package/protos/steammessages_lobbymatchmaking.steamclient.proto +33 -0
- package/protos/steammessages_market.steamclient.proto +26 -0
- package/protos/steammessages_offline.steamclient.proto +37 -0
- package/protos/steammessages_parental.steamclient.proto +186 -0
- package/protos/steammessages_parties.steamclient.proto +94 -0
- package/protos/steammessages_partnerapps.steamclient.proto +136 -0
- package/protos/steammessages_player.steamclient.proto +912 -0
- package/protos/steammessages_publishedfile.steamclient.proto +711 -0
- package/protos/steammessages_qms.steamclient.proto +125 -0
- package/protos/steammessages_remoteclient.proto +99 -0
- package/protos/steammessages_remoteclient_discovery.proto +228 -0
- package/protos/steammessages_remoteclient_service.steamclient.proto +90 -0
- package/protos/steammessages_remoteclient_service_messages.proto +196 -0
- package/protos/steammessages_remoteplay.proto +871 -0
- package/protos/steammessages_secrets.steamclient.proto +39 -0
- package/protos/steammessages_shader.steamclient.proto +96 -0
- package/protos/steammessages_site_license.steamclient.proto +128 -0
- package/protos/steammessages_sitelicenseclient.proto +38 -0
- package/protos/steammessages_siteserverui.proto +130 -0
- package/protos/steammessages_star.steamclient.proto +64 -0
- package/protos/steammessages_steamtv.steamclient.proto +630 -0
- package/protos/steammessages_store.steamclient.proto +262 -0
- package/protos/steammessages_timedtrial.steamclient.proto +50 -0
- package/protos/steammessages_twofactor.steamclient.proto +154 -0
- package/protos/steammessages_unified_base.steamclient.proto +33 -0
- package/protos/steammessages_unified_test.steamclient.proto +50 -0
- package/protos/steammessages_useraccount.steamclient.proto +210 -0
- package/protos/steammessages_vac.steamclient.proto +44 -0
- package/protos/steammessages_video.steamclient.proto +84 -0
- package/protos/steammessages_virtualcontroller.proto +138 -0
- package/protos/steammessages_workshop.steamclient.proto +23 -0
- package/protos/steamnetworkingsockets_messages.proto +204 -0
- package/protos/steamnetworkingsockets_messages_certs.proto +38 -0
- package/protos/steamnetworkingsockets_messages_udp.proto +75 -0
- package/protos/uifontfile_format.proto +16 -0
@@ -0,0 +1,188 @@
|
|
1
|
+
import "steammessages_base.proto";
|
2
|
+
import "steammessages_unified_base.steamclient.proto";
|
3
|
+
|
4
|
+
option cc_generic_services = true;
|
5
|
+
|
6
|
+
enum EValveIndexComponent {
|
7
|
+
k_EValveIndexComponentUnknown = 0;
|
8
|
+
k_EValveIndexComponentHMD = 1;
|
9
|
+
k_EValveIndexComponentLeftKnuckle = 2;
|
10
|
+
k_EValveIndexComponentRightKnuckle = 3;
|
11
|
+
}
|
12
|
+
|
13
|
+
message CAccountHardware_RegisterSteamController_Request {
|
14
|
+
optional string serial_number = 1;
|
15
|
+
optional string controller_code = 2;
|
16
|
+
}
|
17
|
+
|
18
|
+
message CAccountHardware_RegisterSteamController_Response {
|
19
|
+
}
|
20
|
+
|
21
|
+
message CAccountHardware_CompleteSteamControllerRegistration_Request {
|
22
|
+
optional string serial_number = 1;
|
23
|
+
optional string controller_code = 2;
|
24
|
+
}
|
25
|
+
|
26
|
+
message CAccountHardware_CompleteSteamControllerRegistration_Response {
|
27
|
+
}
|
28
|
+
|
29
|
+
message CAccountHardware_QueryAccountsRegisteredToSerial_Request {
|
30
|
+
optional string serial_number = 1;
|
31
|
+
optional string controller_code = 2;
|
32
|
+
}
|
33
|
+
|
34
|
+
message CAccountHardware_QueryAccountsRegisteredToSerial_Accounts {
|
35
|
+
optional uint32 accountid = 1;
|
36
|
+
optional bool registration_complete = 2;
|
37
|
+
}
|
38
|
+
|
39
|
+
message CAccountHardware_QueryAccountsRegisteredToSerial_Response {
|
40
|
+
repeated .CAccountHardware_QueryAccountsRegisteredToSerial_Accounts accounts = 1;
|
41
|
+
}
|
42
|
+
|
43
|
+
message CAccountHardware_SteamControllerSetConfig_ControllerConfig {
|
44
|
+
optional string appidorname = 1;
|
45
|
+
optional uint64 publishedfileid = 2;
|
46
|
+
optional string templatename = 3;
|
47
|
+
}
|
48
|
+
|
49
|
+
message CAccountHardware_SteamControllerSetConfig_Request {
|
50
|
+
optional string serial_number = 1;
|
51
|
+
optional string controller_code = 2;
|
52
|
+
optional uint32 accountid = 3;
|
53
|
+
repeated .CAccountHardware_SteamControllerSetConfig_ControllerConfig configurations = 4;
|
54
|
+
optional int32 controller_type = 5 [default = 2];
|
55
|
+
optional bool only_for_this_serial = 6 [default = false];
|
56
|
+
}
|
57
|
+
|
58
|
+
message CAccountHardware_SteamControllerSetConfig_Response {
|
59
|
+
}
|
60
|
+
|
61
|
+
message CAccountHardware_SteamControllerGetConfig_Request {
|
62
|
+
optional string serial_number = 1;
|
63
|
+
optional string controller_code = 2;
|
64
|
+
optional uint32 accountid = 3;
|
65
|
+
optional string appidorname = 4;
|
66
|
+
optional int32 controller_type = 5 [default = 2];
|
67
|
+
optional bool only_for_this_serial = 6 [default = false];
|
68
|
+
}
|
69
|
+
|
70
|
+
message CAccountHardware_SteamControllerGetConfig_ControllerConfig {
|
71
|
+
optional string appidorname = 1;
|
72
|
+
optional uint64 publishedfileid = 2;
|
73
|
+
optional string templatename = 3;
|
74
|
+
optional string serial_number = 4;
|
75
|
+
optional bool autosave = 5 [default = false];
|
76
|
+
}
|
77
|
+
|
78
|
+
message CAccountHardware_SteamControllerGetConfig_Response {
|
79
|
+
repeated .CAccountHardware_SteamControllerGetConfig_ControllerConfig configurations = 1;
|
80
|
+
}
|
81
|
+
|
82
|
+
message CAccountHardware_DeRegisterSteamController_Request {
|
83
|
+
optional string serial_number = 1;
|
84
|
+
optional string controller_code = 2;
|
85
|
+
optional uint32 accountid = 3;
|
86
|
+
}
|
87
|
+
|
88
|
+
message CAccountHardware_DeRegisterSteamController_Response {
|
89
|
+
}
|
90
|
+
|
91
|
+
message CAccountHardware_SetPersonalizationFile_Request {
|
92
|
+
optional string serial_number = 1;
|
93
|
+
optional uint64 publishedfileid = 2;
|
94
|
+
optional uint32 accountid = 3;
|
95
|
+
}
|
96
|
+
|
97
|
+
message CAccountHardware_SetPersonalizationFile_Response {
|
98
|
+
}
|
99
|
+
|
100
|
+
message CAccountHardware_GetPersonalizationFile_Request {
|
101
|
+
optional string serial_number = 1;
|
102
|
+
optional uint32 accountid = 2;
|
103
|
+
}
|
104
|
+
|
105
|
+
message CAccountHardware_GetPersonalizationFile_Response {
|
106
|
+
optional uint64 publishedfileid = 1;
|
107
|
+
}
|
108
|
+
|
109
|
+
message CAccountHardware_VRCompatibilityCheck_Request {
|
110
|
+
message Pair {
|
111
|
+
optional string key = 1;
|
112
|
+
optional string value = 2;
|
113
|
+
}
|
114
|
+
|
115
|
+
optional string product_name = 1 [(description) = "Name of product we're checking"];
|
116
|
+
repeated .CAccountHardware_VRCompatibilityCheck_Request.Pair values = 2 [(description) = "Values from client system probe"];
|
117
|
+
}
|
118
|
+
|
119
|
+
message CAccountHardware_VRCompatibilityCheck_Response {
|
120
|
+
message Pair {
|
121
|
+
optional string key = 1;
|
122
|
+
optional string value = 2;
|
123
|
+
}
|
124
|
+
|
125
|
+
message ComponentDisplay {
|
126
|
+
optional string name = 1 [(description) = "Name of component (OS, RAM, GPU, etc.)"];
|
127
|
+
optional string image = 2 [(description) = "Name of icon to use"];
|
128
|
+
optional string value = 3 [(description) = "String value to report"];
|
129
|
+
}
|
130
|
+
|
131
|
+
repeated .CAccountHardware_VRCompatibilityCheck_Response.Pair values = 1 [(description) = "Top-level values reported to client"];
|
132
|
+
repeated .CAccountHardware_VRCompatibilityCheck_Response.ComponentDisplay components = 2 [(description) = "Specific values to display"];
|
133
|
+
}
|
134
|
+
|
135
|
+
message CAccountHardware_RegisterValveIndexComponent_Request {
|
136
|
+
optional string serial_number = 1;
|
137
|
+
optional string manufacturer_serial_number = 2;
|
138
|
+
optional string component_code = 3;
|
139
|
+
optional .EValveIndexComponent component_type = 4 [default = k_EValveIndexComponentUnknown];
|
140
|
+
optional int32 estimated_time_registered = 5;
|
141
|
+
}
|
142
|
+
|
143
|
+
message CAccountHardware_RegisterValveIndexComponent_Response {
|
144
|
+
}
|
145
|
+
|
146
|
+
service AccountHardware {
|
147
|
+
option (service_description) = "A service to use account hardware related methods";
|
148
|
+
|
149
|
+
rpc RegisterSteamController (.CAccountHardware_RegisterSteamController_Request) returns (.CAccountHardware_RegisterSteamController_Response) {
|
150
|
+
option (method_description) = "Records a serial number and the calling user's account info for warranty purposes.";
|
151
|
+
}
|
152
|
+
|
153
|
+
rpc CompleteSteamControllerRegistration (.CAccountHardware_CompleteSteamControllerRegistration_Request) returns (.CAccountHardware_CompleteSteamControllerRegistration_Response) {
|
154
|
+
option (method_description) = "Marks a controller's registration as complete";
|
155
|
+
}
|
156
|
+
|
157
|
+
rpc QueryAccountsRegisteredToController (.CAccountHardware_QueryAccountsRegisteredToSerial_Request) returns (.CAccountHardware_QueryAccountsRegisteredToSerial_Response) {
|
158
|
+
option (method_description) = "Sends back a list of accounts registered to a controller.";
|
159
|
+
}
|
160
|
+
|
161
|
+
rpc SetDesiredControllerConfigForApp (.CAccountHardware_SteamControllerSetConfig_Request) returns (.CAccountHardware_SteamControllerSetConfig_Response) {
|
162
|
+
option (method_description) = "Sets a desired controller config for an app";
|
163
|
+
}
|
164
|
+
|
165
|
+
rpc GetDesiredControllerConfigForApp (.CAccountHardware_SteamControllerGetConfig_Request) returns (.CAccountHardware_SteamControllerGetConfig_Response) {
|
166
|
+
option (method_description) = "Gets a desired controller config for an app";
|
167
|
+
}
|
168
|
+
|
169
|
+
rpc DeRegisterSteamController (.CAccountHardware_DeRegisterSteamController_Request) returns (.CAccountHardware_DeRegisterSteamController_Response) {
|
170
|
+
option (method_description) = "De registers a controller";
|
171
|
+
}
|
172
|
+
|
173
|
+
rpc SetControllerPersonalizationFile (.CAccountHardware_SetPersonalizationFile_Request) returns (.CAccountHardware_SetPersonalizationFile_Response) {
|
174
|
+
option (method_description) = "Stores the file ID of the personalization file";
|
175
|
+
}
|
176
|
+
|
177
|
+
rpc GetControllerPersonalizationFile (.CAccountHardware_GetPersonalizationFile_Request) returns (.CAccountHardware_GetPersonalizationFile_Response) {
|
178
|
+
option (method_description) = "Gets the file ID of the personalization file";
|
179
|
+
}
|
180
|
+
|
181
|
+
rpc VRCompatibilityCheck (.CAccountHardware_VRCompatibilityCheck_Request) returns (.CAccountHardware_VRCompatibilityCheck_Response) {
|
182
|
+
option (method_description) = "Check system info for compatibility with VR";
|
183
|
+
}
|
184
|
+
|
185
|
+
rpc RegisterValveIndexComponent (.CAccountHardware_RegisterValveIndexComponent_Request) returns (.CAccountHardware_RegisterValveIndexComponent_Response) {
|
186
|
+
option (method_description) = "Registers a valve index component to a customer";
|
187
|
+
}
|
188
|
+
}
|
@@ -0,0 +1,185 @@
|
|
1
|
+
import "enums.proto";
|
2
|
+
|
3
|
+
option optimize_for = SPEED;
|
4
|
+
option cc_generic_services = true;
|
5
|
+
|
6
|
+
enum EDisplayStatus {
|
7
|
+
k_EDisplayStatusInvalid = 0;
|
8
|
+
k_EDisplayStatusLaunching = 1;
|
9
|
+
k_EDisplayStatusUninstalling = 2;
|
10
|
+
k_EDisplayStatusInstalling = 3;
|
11
|
+
k_EDisplayStatusRunning = 4;
|
12
|
+
k_EDisplayStatusValidating = 5;
|
13
|
+
k_EDisplayStatusUpdating = 6;
|
14
|
+
k_EDisplayStatusDownloading = 7;
|
15
|
+
k_EDisplayStatusSynchronizing = 8;
|
16
|
+
k_EDisplayStatusReadyToInstall = 9;
|
17
|
+
k_EDisplayStatusReadyToPreload = 10;
|
18
|
+
k_EDisplayStatusReadyToLaunch = 11;
|
19
|
+
k_EDisplayStatusRegionRestricted = 12;
|
20
|
+
k_EDisplayStatusPresaleOnly = 13;
|
21
|
+
k_EDisplayStatusInvalidPlatform = 14;
|
22
|
+
k_EDisplayStatusPreloadComplete = 16;
|
23
|
+
k_EDisplayStatusBorrowerLocked = 17;
|
24
|
+
k_EDisplayStatusUpdatePaused = 18;
|
25
|
+
k_EDisplayStatusUpdateQueued = 19;
|
26
|
+
k_EDisplayStatusUpdateRequired = 20;
|
27
|
+
k_EDisplayStatusUpdateDisabled = 21;
|
28
|
+
k_EDisplayStatusDownloadPaused = 22;
|
29
|
+
k_EDisplayStatusDownloadQueued = 23;
|
30
|
+
k_EDisplayStatusDownloadRequired = 24;
|
31
|
+
k_EDisplayStatusDownloadDisabled = 25;
|
32
|
+
k_EDisplayStatusLicensePending = 26;
|
33
|
+
k_EDisplayStatusLicenseExpired = 27;
|
34
|
+
k_EDisplayStatusAvailForFree = 28;
|
35
|
+
k_EDisplayStatusAvailToBorrow = 29;
|
36
|
+
k_EDisplayStatusAvailGuestPass = 30;
|
37
|
+
k_EDisplayStatusPurchase = 31;
|
38
|
+
k_EDisplayStatusUnavailable = 32;
|
39
|
+
k_EDisplayStatusNotLaunchable = 33;
|
40
|
+
k_EDisplayStatusCloudError = 34;
|
41
|
+
k_EDisplayStatusCloudOutOfDate = 35;
|
42
|
+
k_EDisplayStatusTerminating = 36;
|
43
|
+
}
|
44
|
+
|
45
|
+
enum EAppCloudStatus {
|
46
|
+
k_EAppCloudStatusInvalid = 0;
|
47
|
+
k_EAppCloudStatusDisabled = 1;
|
48
|
+
k_EAppCloudStatusUnknown = 2;
|
49
|
+
k_EAppCloudStatusSynchronized = 3;
|
50
|
+
k_EAppCloudStatusChecking = 4;
|
51
|
+
k_EAppCloudStatusOutOfSync = 5;
|
52
|
+
k_EAppCloudStatusUploading = 6;
|
53
|
+
k_EAppCloudStatusDownloading = 7;
|
54
|
+
k_EAppCloudStatusSyncFailed = 8;
|
55
|
+
k_EAppCloudStatusConflict = 9;
|
56
|
+
k_EAppCloudStatusPendingElsewhere = 10;
|
57
|
+
}
|
58
|
+
|
59
|
+
enum EProtoAppType {
|
60
|
+
k_EAppTypeInvalid = 0;
|
61
|
+
k_EAppTypeGame = 1;
|
62
|
+
k_EAppTypeApplication = 2;
|
63
|
+
k_EAppTypeTool = 4;
|
64
|
+
k_EAppTypeDemo = 8;
|
65
|
+
k_EAppTypeDeprected = 16;
|
66
|
+
k_EAppTypeDLC = 32;
|
67
|
+
k_EAppTypeGuide = 64;
|
68
|
+
k_EAppTypeDriver = 128;
|
69
|
+
k_EAppTypeConfig = 256;
|
70
|
+
k_EAppTypeHardware = 512;
|
71
|
+
k_EAppTypeFranchise = 1024;
|
72
|
+
k_EAppTypeVideo = 2048;
|
73
|
+
k_EAppTypePlugin = 4096;
|
74
|
+
k_EAppTypeMusicAlbum = 8192;
|
75
|
+
k_EAppTypeSeries = 16384;
|
76
|
+
k_EAppTypeComic = 32768;
|
77
|
+
k_EAppTypeBeta = 65536;
|
78
|
+
k_EAppTypeShortcut = 1073741824;
|
79
|
+
k_EAppTypeDepotOnly = -2147483648;
|
80
|
+
}
|
81
|
+
|
82
|
+
enum EAppAssociationType {
|
83
|
+
k_EAppAssociationTypeInvalid = 0;
|
84
|
+
k_EAppAssociationTypePublisher = 1;
|
85
|
+
k_EAppAssociationTypeDeveloper = 2;
|
86
|
+
k_EAppAssociationTypeFranchise = 3;
|
87
|
+
}
|
88
|
+
|
89
|
+
enum EAppControllerSupportLevel {
|
90
|
+
k_EAppControllerSupportLevelNone = 0;
|
91
|
+
k_EAppControllerSupportLevelPartial = 1;
|
92
|
+
k_EAppControllerSupportLevelFull = 2;
|
93
|
+
}
|
94
|
+
|
95
|
+
enum EAppGamepadGyroTrackpadSupportLevel {
|
96
|
+
k_EAppGamepadGyroTrackpadSupportLevelUnknown = -1;
|
97
|
+
k_EAppGamepadGyroTrackpadSupportLevelNoGamepad = 0;
|
98
|
+
k_EAppGamepadGyroTrackpadSupportLevelGamepad = 1;
|
99
|
+
k_EAppGamepadGyroTrackpadSupportLevelSimultaneous = 2;
|
100
|
+
}
|
101
|
+
|
102
|
+
message CAppOverview_AppAssociation {
|
103
|
+
optional .EAppAssociationType type = 1 [default = k_EAppAssociationTypeInvalid];
|
104
|
+
optional string name = 2;
|
105
|
+
}
|
106
|
+
|
107
|
+
message CAppOverview_PerClientData {
|
108
|
+
optional uint64 clientid = 1;
|
109
|
+
optional string client_name = 2;
|
110
|
+
optional .EDisplayStatus display_status = 3 [default = k_EDisplayStatusInvalid];
|
111
|
+
optional uint32 status_percentage = 4 [default = 0];
|
112
|
+
optional string active_beta = 5;
|
113
|
+
optional bool installed = 6;
|
114
|
+
optional uint64 bytes_downloaded = 7 [default = 0];
|
115
|
+
optional uint64 bytes_total = 8 [default = 0];
|
116
|
+
optional bool streaming_to_local_client = 9;
|
117
|
+
optional bool is_available_on_current_platform = 10;
|
118
|
+
optional bool is_invalid_os_type = 11;
|
119
|
+
optional uint32 playtime_left = 12;
|
120
|
+
optional .EAppCloudStatus cloud_status = 13 [default = k_EAppCloudStatusInvalid];
|
121
|
+
}
|
122
|
+
|
123
|
+
message CAppOverview {
|
124
|
+
optional uint32 appid = 1;
|
125
|
+
optional string display_name = 2;
|
126
|
+
optional bool visible_in_game_list = 4;
|
127
|
+
optional string sort_as = 6;
|
128
|
+
optional .EProtoAppType app_type = 7 [default = k_EAppTypeInvalid];
|
129
|
+
optional uint32 mru_index = 13;
|
130
|
+
optional uint32 rt_recent_activity_time = 14 [default = 0];
|
131
|
+
optional uint32 minutes_playtime_forever = 16 [default = 0];
|
132
|
+
optional uint32 minutes_playtime_last_two_weeks = 17 [default = 0];
|
133
|
+
optional uint32 rt_last_time_played = 18 [default = 0];
|
134
|
+
repeated uint32 store_tag = 19;
|
135
|
+
repeated .CAppOverview_AppAssociation association = 20;
|
136
|
+
repeated uint32 store_category = 23;
|
137
|
+
optional uint32 rt_original_release_date = 25 [default = 0];
|
138
|
+
optional uint32 rt_steam_release_date = 26 [default = 0];
|
139
|
+
optional string icon_hash = 27;
|
140
|
+
optional .EAppControllerSupportLevel controller_support = 31 [default = k_EAppControllerSupportLevelNone];
|
141
|
+
optional bool vr_supported = 32;
|
142
|
+
optional uint32 metacritic_score = 36;
|
143
|
+
optional uint64 size_on_disk = 37;
|
144
|
+
optional bool third_party_mod = 38;
|
145
|
+
optional string icon_data = 39;
|
146
|
+
optional string icon_data_format = 40;
|
147
|
+
optional string gameid = 41;
|
148
|
+
optional string library_capsule_filename = 42;
|
149
|
+
repeated .CAppOverview_PerClientData per_client_data = 43;
|
150
|
+
optional uint64 most_available_clientid = 44;
|
151
|
+
optional uint64 selected_clientid = 45;
|
152
|
+
optional uint32 rt_store_asset_mtime = 46;
|
153
|
+
optional uint32 rt_custom_image_mtime = 47;
|
154
|
+
optional uint32 optional_parent_app_id = 48;
|
155
|
+
optional uint32 owner_account_id = 49;
|
156
|
+
optional uint32 review_score_with_bombs = 53;
|
157
|
+
optional uint32 review_percentage_with_bombs = 54;
|
158
|
+
optional uint32 review_score_without_bombs = 55;
|
159
|
+
optional uint32 review_percentage_without_bombs = 56;
|
160
|
+
optional string library_id = 57;
|
161
|
+
optional bool vr_only = 58;
|
162
|
+
optional uint32 mastersub_appid = 59;
|
163
|
+
optional string mastersub_includedwith_logo = 60;
|
164
|
+
optional string site_license_site_name = 62;
|
165
|
+
optional uint32 shortcut_override_appid = 63;
|
166
|
+
optional .ESteamDeckCompatibilityCategory steam_deck_compat_category = 64 [default = k_ESteamDeckCompatibilityCategory_Unknown];
|
167
|
+
optional uint32 rt_last_time_locally_played = 65;
|
168
|
+
optional uint32 rt_purchased_time = 66;
|
169
|
+
}
|
170
|
+
|
171
|
+
message CAppOverview_Change {
|
172
|
+
repeated .CAppOverview app_overview = 1;
|
173
|
+
repeated uint32 removed_appid = 2;
|
174
|
+
optional bool complete_update = 3;
|
175
|
+
}
|
176
|
+
|
177
|
+
message CAppBootstrapData {
|
178
|
+
optional uint32 appid = 1;
|
179
|
+
optional bool hidden = 2;
|
180
|
+
repeated string user_tag = 3;
|
181
|
+
}
|
182
|
+
|
183
|
+
message CLibraryBootstrapData {
|
184
|
+
repeated .CAppBootstrapData app_data = 1;
|
185
|
+
}
|
@@ -0,0 +1,192 @@
|
|
1
|
+
import "steammessages_base.proto";
|
2
|
+
import "steammessages_unified_base.steamclient.proto";
|
3
|
+
|
4
|
+
option cc_generic_services = true;
|
5
|
+
|
6
|
+
enum EAuthTokenPlatformType {
|
7
|
+
k_EAuthTokenPlatformType_Unknown = 0;
|
8
|
+
k_EAuthTokenPlatformType_SteamClient = 1;
|
9
|
+
k_EAuthTokenPlatformType_WebBrowser = 2;
|
10
|
+
k_EAuthTokenPlatformType_MobileApp = 3;
|
11
|
+
}
|
12
|
+
|
13
|
+
enum EAuthSessionGuardType {
|
14
|
+
k_EAuthSessionGuardType_Unknown = 0;
|
15
|
+
k_EAuthSessionGuardType_None = 1;
|
16
|
+
k_EAuthSessionGuardType_EmailCode = 2;
|
17
|
+
k_EAuthSessionGuardType_DeviceCode = 3;
|
18
|
+
k_EAuthSessionGuardType_DeviceConfirmation = 4;
|
19
|
+
k_EAuthSessionGuardType_EmailConfirmation = 5;
|
20
|
+
}
|
21
|
+
|
22
|
+
message CAuthentication_GetPasswordRSAPublicKey_Request {
|
23
|
+
optional string account_name = 1 [(description) = "user-provided account name to get an RSA key for"];
|
24
|
+
}
|
25
|
+
|
26
|
+
message CAuthentication_GetPasswordRSAPublicKey_Response {
|
27
|
+
optional string publickey_mod = 1 [(description) = "the public key modulus"];
|
28
|
+
optional string publickey_exp = 2 [(description) = "the public key exponent"];
|
29
|
+
optional uint64 timestamp = 3 [(description) = "the timestamp the key was generated"];
|
30
|
+
}
|
31
|
+
|
32
|
+
message CAuthentication_BeginAuthSessionViaQR_Request {
|
33
|
+
optional string device_friendly_name = 1;
|
34
|
+
optional .EAuthTokenPlatformType platform_type = 2 [default = k_EAuthTokenPlatformType_Unknown];
|
35
|
+
}
|
36
|
+
|
37
|
+
message CAuthentication_AllowedConfirmation {
|
38
|
+
optional .EAuthSessionGuardType confirmation_type = 1 [default = k_EAuthSessionGuardType_Unknown, (description) = "authentication can proceed with this confirmation type"];
|
39
|
+
optional string associated_message = 2 [(description) = "message to be interpreted depending on the confirmation type. for email confirmation, this might be the redacted email address to which email was sent."];
|
40
|
+
}
|
41
|
+
|
42
|
+
message CAuthentication_BeginAuthSessionViaQR_Response {
|
43
|
+
optional uint64 client_id = 1 [(description) = "unique identifier of requestor, also used for routing, portion of QR code"];
|
44
|
+
optional string challenge_url = 2 [(description) = "URL based on client ID, which will be rendered as QR code"];
|
45
|
+
optional bytes request_id = 3 [(description) = "unique request ID to be presented by requestor at poll time - must not be rendered in QR"];
|
46
|
+
optional float interval = 4 [(description) = "refresh interval with which requestor should call PollAuthSessionStatus"];
|
47
|
+
repeated .CAuthentication_AllowedConfirmation allowed_confirmations = 5 [(description) = "the confirmation types that will be able to confirm the request"];
|
48
|
+
optional int32 version = 6 [(description) = "version of the QR data"];
|
49
|
+
}
|
50
|
+
|
51
|
+
message CAuthentication_BeginAuthSessionViaCredentials_Request {
|
52
|
+
optional string device_friendly_name = 1;
|
53
|
+
optional string account_name = 2;
|
54
|
+
optional string encrypted_password = 3 [(description) = "password, RSA encrypted client side"];
|
55
|
+
optional uint64 encryption_timestamp = 4 [(description) = "timestamp to map to a key - STime"];
|
56
|
+
optional bool remember_login = 5;
|
57
|
+
optional .EAuthTokenPlatformType platform_type = 6 [default = k_EAuthTokenPlatformType_Unknown];
|
58
|
+
}
|
59
|
+
|
60
|
+
message CAuthentication_BeginAuthSessionViaCredentials_Response {
|
61
|
+
optional uint64 client_id = 1 [(description) = "unique identifier of requestor, also used for routing"];
|
62
|
+
optional bytes request_id = 2 [(description) = "unique request ID to be presented by requestor at poll time - must not be transferred or displayed"];
|
63
|
+
optional float interval = 3 [(description) = "refresh interval with which requestor should call PollAuthSessionStatus"];
|
64
|
+
repeated .CAuthentication_AllowedConfirmation allowed_confirmations = 4 [(description) = "the confirmation types that will be able to confirm the request"];
|
65
|
+
optional uint64 steamid = 5 [(description) = "steamid of the account logging in - will only be included if the credentials were correct"];
|
66
|
+
}
|
67
|
+
|
68
|
+
message CAuthentication_PollAuthSessionStatus_Request {
|
69
|
+
optional uint64 client_id = 1;
|
70
|
+
optional bytes request_id = 2;
|
71
|
+
}
|
72
|
+
|
73
|
+
message CAuthentication_PollAuthSessionStatus_Response {
|
74
|
+
optional uint64 new_client_id = 1 [(description) = "if challenge is old, this is the new client id"];
|
75
|
+
optional string new_challenge_url = 2 [(description) = "if challenge is old, this is the new challenge ID to re-render for mobile confirmation"];
|
76
|
+
optional string refresh_token = 3 [(description) = "if login has been confirmed, this is the requestor's new refresh token"];
|
77
|
+
optional string access_token = 4 [(description) = "if login has been confirmed, this is a new token subordinate to refresh_token"];
|
78
|
+
}
|
79
|
+
|
80
|
+
message CAuthentication_GetAuthSessionInfo_Request {
|
81
|
+
optional uint64 client_id = 1 [(description) = "client ID from scanned QR Code, used for routing"];
|
82
|
+
}
|
83
|
+
|
84
|
+
message CAuthentication_GetAuthSessionInfo_Response {
|
85
|
+
optional string ip = 1 [(description) = "IP address of requestor"];
|
86
|
+
optional string geoloc = 2 [(description) = "geoloc info of requestor"];
|
87
|
+
optional string city = 3 [(description) = "city of requestor"];
|
88
|
+
optional string state = 4 [(description) = "state of requestor"];
|
89
|
+
optional string country = 5 [(description) = "country of requestor"];
|
90
|
+
optional .EAuthTokenPlatformType platform_type = 6 [default = k_EAuthTokenPlatformType_Unknown, (description) = "platform type of requestor"];
|
91
|
+
optional string device_friendly_name = 7;
|
92
|
+
}
|
93
|
+
|
94
|
+
message CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request {
|
95
|
+
optional int32 version = 1 [(description) = "version field"];
|
96
|
+
optional uint64 client_id = 2 [(description) = "pending client ID, from scanned QR Code"];
|
97
|
+
optional fixed64 steamid = 3 [(description) = "user who wants to login"];
|
98
|
+
optional bytes signature = 4 [(description) = "HMAC digest over {version,client_id,steamid} via user's private key"];
|
99
|
+
optional bool confirm = 5 [default = false, (description) = "Whether to confirm the login (true) or deny the login (false)"];
|
100
|
+
}
|
101
|
+
|
102
|
+
message CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response {
|
103
|
+
}
|
104
|
+
|
105
|
+
message CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request {
|
106
|
+
optional uint64 client_id = 1 [(description) = "pending client ID, from initialized session"];
|
107
|
+
optional fixed64 steamid = 2 [(description) = "user who wants to login"];
|
108
|
+
optional string code = 3 [(description) = "confirmation code"];
|
109
|
+
optional .EAuthSessionGuardType code_type = 4 [default = k_EAuthSessionGuardType_Unknown, (description) = "type of confirmation code"];
|
110
|
+
}
|
111
|
+
|
112
|
+
message CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response {
|
113
|
+
}
|
114
|
+
|
115
|
+
message CAuthentication_GetAuthSessionsForAccount_Request {
|
116
|
+
}
|
117
|
+
|
118
|
+
message CAuthentication_GetAuthSessionsForAccount_Response {
|
119
|
+
repeated uint64 client_ids = 1 [(description) = "unique identifier of requestor, also used for routing"];
|
120
|
+
}
|
121
|
+
|
122
|
+
message CCloudGaming_CreateNonce_Request {
|
123
|
+
optional string platform = 1;
|
124
|
+
optional uint32 appid = 2;
|
125
|
+
}
|
126
|
+
|
127
|
+
message CCloudGaming_CreateNonce_Response {
|
128
|
+
optional string nonce = 1;
|
129
|
+
optional uint32 expiry = 2;
|
130
|
+
}
|
131
|
+
|
132
|
+
message CCloudGaming_GetTimeRemaining_Request {
|
133
|
+
optional string platform = 1;
|
134
|
+
repeated uint32 appid_list = 2;
|
135
|
+
}
|
136
|
+
|
137
|
+
message CCloudGaming_TimeRemaining {
|
138
|
+
optional uint32 appid = 1;
|
139
|
+
optional uint32 minutes_remaining = 2;
|
140
|
+
}
|
141
|
+
|
142
|
+
message CCloudGaming_GetTimeRemaining_Response {
|
143
|
+
repeated .CCloudGaming_TimeRemaining entries = 2;
|
144
|
+
}
|
145
|
+
|
146
|
+
service Authentication {
|
147
|
+
option (service_description) = "Authentication Service";
|
148
|
+
|
149
|
+
rpc GetPasswordRSAPublicKey (.CAuthentication_GetPasswordRSAPublicKey_Request) returns (.CAuthentication_GetPasswordRSAPublicKey_Response) {
|
150
|
+
option (method_description) = "Fetches RSA public key to use to encrypt passwords for a given account name";
|
151
|
+
}
|
152
|
+
|
153
|
+
rpc BeginAuthSessionViaQR (.CAuthentication_BeginAuthSessionViaQR_Request) returns (.CAuthentication_BeginAuthSessionViaQR_Response) {
|
154
|
+
option (method_description) = "start authentication process";
|
155
|
+
}
|
156
|
+
|
157
|
+
rpc BeginAuthSessionViaCredentials (.CAuthentication_BeginAuthSessionViaCredentials_Request) returns (.CAuthentication_BeginAuthSessionViaCredentials_Response) {
|
158
|
+
option (method_description) = "start authentication process";
|
159
|
+
}
|
160
|
+
|
161
|
+
rpc PollAuthSessionStatus (.CAuthentication_PollAuthSessionStatus_Request) returns (.CAuthentication_PollAuthSessionStatus_Response) {
|
162
|
+
option (method_description) = "poll during authentication process";
|
163
|
+
}
|
164
|
+
|
165
|
+
rpc GetAuthSessionInfo (.CAuthentication_GetAuthSessionInfo_Request) returns (.CAuthentication_GetAuthSessionInfo_Response) {
|
166
|
+
option (method_description) = "get metadata of specific auth session";
|
167
|
+
}
|
168
|
+
|
169
|
+
rpc UpdateAuthSessionWithMobileConfirmation (.CAuthentication_UpdateAuthSessionWithMobileConfirmation_Request) returns (.CAuthentication_UpdateAuthSessionWithMobileConfirmation_Response) {
|
170
|
+
option (method_description) = "approve an authentication session via mobile 2fa";
|
171
|
+
}
|
172
|
+
|
173
|
+
rpc UpdateAuthSessionWithSteamGuardCode (.CAuthentication_UpdateAuthSessionWithSteamGuardCode_Request) returns (.CAuthentication_UpdateAuthSessionWithSteamGuardCode_Response) {
|
174
|
+
option (method_description) = "approve an authentication session via steam guard code";
|
175
|
+
}
|
176
|
+
|
177
|
+
rpc GetAuthSessionsForAccount (.CAuthentication_GetAuthSessionsForAccount_Request) returns (.CAuthentication_GetAuthSessionsForAccount_Response) {
|
178
|
+
option (method_description) = "Gets all active auth sessions for an account for reference by the mobile app";
|
179
|
+
}
|
180
|
+
}
|
181
|
+
|
182
|
+
service CloudGaming {
|
183
|
+
option (service_description) = "Methods for Steam cloud gaming operations";
|
184
|
+
|
185
|
+
rpc CreateNonce (.CCloudGaming_CreateNonce_Request) returns (.CCloudGaming_CreateNonce_Response) {
|
186
|
+
option (method_description) = "Create a nonce for a cloud gaming service session";
|
187
|
+
}
|
188
|
+
|
189
|
+
rpc GetTimeRemaining (.CCloudGaming_GetTimeRemaining_Request) returns (.CCloudGaming_GetTimeRemaining_Response) {
|
190
|
+
option (method_description) = "Get the amount of streaming time remaining for a set of apps";
|
191
|
+
}
|
192
|
+
}
|