steamutils 1.0.5 → 1.0.6

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.
Files changed (94) hide show
  1. package/package.json +1 -1
  2. package/protos/base_gcmessages.proto +533 -0
  3. package/protos/clientmetrics.proto +45 -0
  4. package/protos/content_manifest.proto +62 -0
  5. package/protos/cstrike15_gcmessages.proto +1344 -0
  6. package/protos/cstrike15_usermessages.proto +597 -0
  7. package/protos/econ_gcmessages.proto +225 -0
  8. package/protos/encrypted_app_ticket.proto +10 -0
  9. package/protos/engine_gcmessages.proto +16 -0
  10. package/protos/enums.proto +285 -0
  11. package/protos/enums_clientserver.proto +1534 -0
  12. package/protos/fatdemo.proto +125 -0
  13. package/protos/gcsdk_gcmessages.proto +302 -0
  14. package/protos/gcsystemmsgs.proto +246 -0
  15. package/protos/htmlmessages.proto +993 -0
  16. package/protos/netmessages.proto +491 -0
  17. package/protos/network_connection.proto +70 -0
  18. package/protos/renderer/rendermessages.proto +893 -0
  19. package/protos/steamdatagram_messages.proto +205 -0
  20. package/protos/steamdatagram_messages_auth.proto +65 -0
  21. package/protos/steamdatagram_messages_sdr.proto +518 -0
  22. package/protos/steammessages.proto +601 -0
  23. package/protos/steammessages_accounthardware.steamclient.proto +188 -0
  24. package/protos/steammessages_appoverview.proto +185 -0
  25. package/protos/steammessages_auth.steamclient.proto +192 -0
  26. package/protos/steammessages_base.proto +288 -0
  27. package/protos/steammessages_broadcast.steamclient.proto +756 -0
  28. package/protos/steammessages_chat.steamclient.proto +1281 -0
  29. package/protos/steammessages_client_objects.proto +336 -0
  30. package/protos/steammessages_clientlanp2p.proto +26 -0
  31. package/protos/steammessages_clientmetrics.steamclient.proto +176 -0
  32. package/protos/steammessages_clientnotificationtypes.proto +129 -0
  33. package/protos/steammessages_clientserver.proto +384 -0
  34. package/protos/steammessages_clientserver_2.proto +776 -0
  35. package/protos/steammessages_clientserver_appinfo.proto +166 -0
  36. package/protos/steammessages_clientserver_friends.proto +260 -0
  37. package/protos/steammessages_clientserver_gameservers.proto +159 -0
  38. package/protos/steammessages_clientserver_lbs.proto +70 -0
  39. package/protos/steammessages_clientserver_login.proto +159 -0
  40. package/protos/steammessages_clientserver_mms.proto +235 -0
  41. package/protos/steammessages_clientserver_ucm.proto +202 -0
  42. package/protos/steammessages_clientserver_uds.proto +104 -0
  43. package/protos/steammessages_clientserver_ufs.proto +172 -0
  44. package/protos/steammessages_clientserver_userstats.proto +80 -0
  45. package/protos/steammessages_cloud.steamclient.proto +512 -0
  46. package/protos/steammessages_contentsystem.steamclient.proto +77 -0
  47. package/protos/steammessages_credentials.steamclient.proto +141 -0
  48. package/protos/steammessages_datapublisher.steamclient.proto +67 -0
  49. package/protos/steammessages_depotbuilder.steamclient.proto +118 -0
  50. package/protos/steammessages_deviceauth.steamclient.proto +200 -0
  51. package/protos/steammessages_econ.steamclient.proto +105 -0
  52. package/protos/steammessages_friendmessages.steamclient.proto +168 -0
  53. package/protos/steammessages_gamenetworking.steamclient.proto +32 -0
  54. package/protos/steammessages_gamenetworkingui.proto +42 -0
  55. package/protos/steammessages_gamenotifications.steamclient.proto +156 -0
  56. package/protos/steammessages_gameservers.steamclient.proto +152 -0
  57. package/protos/steammessages_hiddevices.proto +156 -0
  58. package/protos/steammessages_inventory.steamclient.proto +224 -0
  59. package/protos/steammessages_linkfilter.steamclient.proto +49 -0
  60. package/protos/steammessages_lobbymatchmaking.steamclient.proto +33 -0
  61. package/protos/steammessages_market.steamclient.proto +26 -0
  62. package/protos/steammessages_offline.steamclient.proto +37 -0
  63. package/protos/steammessages_parental.steamclient.proto +186 -0
  64. package/protos/steammessages_parties.steamclient.proto +94 -0
  65. package/protos/steammessages_partnerapps.steamclient.proto +136 -0
  66. package/protos/steammessages_player.steamclient.proto +912 -0
  67. package/protos/steammessages_publishedfile.steamclient.proto +711 -0
  68. package/protos/steammessages_qms.steamclient.proto +125 -0
  69. package/protos/steammessages_remoteclient.proto +99 -0
  70. package/protos/steammessages_remoteclient_discovery.proto +228 -0
  71. package/protos/steammessages_remoteclient_service.steamclient.proto +90 -0
  72. package/protos/steammessages_remoteclient_service_messages.proto +196 -0
  73. package/protos/steammessages_remoteplay.proto +871 -0
  74. package/protos/steammessages_secrets.steamclient.proto +39 -0
  75. package/protos/steammessages_shader.steamclient.proto +96 -0
  76. package/protos/steammessages_site_license.steamclient.proto +128 -0
  77. package/protos/steammessages_sitelicenseclient.proto +38 -0
  78. package/protos/steammessages_siteserverui.proto +130 -0
  79. package/protos/steammessages_star.steamclient.proto +64 -0
  80. package/protos/steammessages_steamtv.steamclient.proto +630 -0
  81. package/protos/steammessages_store.steamclient.proto +262 -0
  82. package/protos/steammessages_timedtrial.steamclient.proto +50 -0
  83. package/protos/steammessages_twofactor.steamclient.proto +154 -0
  84. package/protos/steammessages_unified_base.steamclient.proto +33 -0
  85. package/protos/steammessages_unified_test.steamclient.proto +50 -0
  86. package/protos/steammessages_useraccount.steamclient.proto +210 -0
  87. package/protos/steammessages_vac.steamclient.proto +44 -0
  88. package/protos/steammessages_video.steamclient.proto +84 -0
  89. package/protos/steammessages_virtualcontroller.proto +138 -0
  90. package/protos/steammessages_workshop.steamclient.proto +23 -0
  91. package/protos/steamnetworkingsockets_messages.proto +204 -0
  92. package/protos/steamnetworkingsockets_messages_certs.proto +38 -0
  93. package/protos/steamnetworkingsockets_messages_udp.proto +75 -0
  94. package/protos/uifontfile_format.proto +16 -0
@@ -0,0 +1,336 @@
1
+ import "enums.proto";
2
+
3
+ option optimize_for = SPEED;
4
+ option cc_generic_services = false;
5
+
6
+ enum ECloudPendingRemoteOperation {
7
+ k_ECloudPendingRemoteOperationNone = 0;
8
+ k_ECloudPendingRemoteOperationAppSessionActive = 1;
9
+ k_ECloudPendingRemoteOperationUploadInProgress = 2;
10
+ k_ECloudPendingRemoteOperationUploadPending = 3;
11
+ k_ECloudPendingRemoteOperationAppSessionSuspended = 4;
12
+ }
13
+
14
+ enum ESteamDeckKeyboardLayout {
15
+ k_ESteamDeckKeyboardLayout_QWERTY = 0;
16
+ k_ESteamDeckKeyboardLayout_Bulgarian = 1;
17
+ k_ESteamDeckKeyboardLayout_Chinese_Simplified = 2;
18
+ k_ESteamDeckKeyboardLayout_Chinese_Traditional = 3;
19
+ k_ESteamDeckKeyboardLayout_Czech = 4;
20
+ k_ESteamDeckKeyboardLayout_Danish = 5;
21
+ k_ESteamDeckKeyboardLayout_Finnish = 6;
22
+ k_ESteamDeckKeyboardLayout_French = 7;
23
+ k_ESteamDeckKeyboardLayout_German = 8;
24
+ k_ESteamDeckKeyboardLayout_Greek = 9;
25
+ k_ESteamDeckKeyboardLayout_Hungarian = 10;
26
+ k_ESteamDeckKeyboardLayout_Italian = 11;
27
+ k_ESteamDeckKeyboardLayout_Japanese = 12;
28
+ k_ESteamDeckKeyboardLayout_Korean = 13;
29
+ k_ESteamDeckKeyboardLayout_Norwegian = 14;
30
+ k_ESteamDeckKeyboardLayout_Polish = 15;
31
+ k_ESteamDeckKeyboardLayout_Portuguese = 16;
32
+ k_ESteamDeckKeyboardLayout_Romanian = 17;
33
+ k_ESteamDeckKeyboardLayout_Russian = 18;
34
+ k_ESteamDeckKeyboardLayout_Spanish = 19;
35
+ k_ESteamDeckKeyboardLayout_Swedish = 20;
36
+ k_ESteamDeckKeyboardLayout_Thai = 21;
37
+ k_ESteamDeckKeyboardLayout_Turkish_F = 22;
38
+ k_ESteamDeckKeyboardLayout_Turkish_Q = 23;
39
+ k_ESteamDeckKeyboardLayout_Ukrainian = 24;
40
+ k_ESteamDeckKeyboardLayout_Vietnamese = 25;
41
+ k_ESteamDeckKeyboardLayout_QWERTY_International = 26;
42
+ }
43
+
44
+ message SteamMessagesClientIClientForcedEnumDependencies {
45
+ optional .EBluetoothDeviceType a = 1 [default = k_BluetoothDeviceType_Invalid];
46
+ optional .EStorageBlockContentType b = 2 [default = k_EStorageBlockContentType_Invalid];
47
+ optional .EStorageBlockFileSystemType c = 3 [default = k_EStorageBlockFileSystemType_Invalid];
48
+ optional .ESDCardFormatStage d = 4 [default = k_ESDCardFormatStage_Invalid];
49
+ }
50
+
51
+ message CMsgNetworkDeviceIP4Address {
52
+ optional int32 ip = 1 [default = 0];
53
+ optional int32 netmask = 2;
54
+ }
55
+
56
+ message CMsgNetworkDeviceIP4Config {
57
+ repeated .CMsgNetworkDeviceIP4Address addresses = 1;
58
+ repeated int32 dns_ip = 2;
59
+ optional int32 gateway_ip = 3;
60
+ optional bool is_dhcp_enabled = 4;
61
+ optional bool is_default_route = 5;
62
+ optional bool is_enabled = 6 [default = false];
63
+ }
64
+
65
+ message CMsgNetworkDeviceIP6Address {
66
+ optional string ip = 1;
67
+ }
68
+
69
+ message CMsgNetworkDeviceIP6Config {
70
+ repeated .CMsgNetworkDeviceIP6Address addresses = 1;
71
+ repeated string dns_ip = 2;
72
+ optional string gateway_ip = 3;
73
+ optional bool is_dhcp_enabled = 4;
74
+ optional bool is_default_route = 5;
75
+ optional bool is_enabled = 6 [default = false];
76
+ }
77
+
78
+ message CMsgNetworkDevicesData {
79
+ message Device {
80
+ message Wired {
81
+ optional bool is_cable_present = 1 [default = false];
82
+ optional uint32 speed_mbit = 2;
83
+ optional string friendly_name = 3;
84
+ }
85
+
86
+ message Wireless {
87
+ message AP {
88
+ optional uint32 id = 1 [default = 0];
89
+ optional int32 estrength = 2;
90
+ optional string ssid = 3;
91
+ optional bool is_active = 4;
92
+ optional bool is_autoconnect = 5;
93
+ optional int32 esecurity = 6;
94
+ optional string user_name = 7;
95
+ optional string password = 8;
96
+ optional int32 strength_raw = 9;
97
+ }
98
+
99
+ repeated .CMsgNetworkDevicesData.Device.Wireless.AP aps = 1;
100
+ optional int32 esecurity_supported = 2;
101
+ }
102
+
103
+ optional uint32 id = 1 [default = 0];
104
+ optional int32 etype = 2;
105
+ optional int32 estate = 3;
106
+ optional string mac = 4;
107
+ optional string vendor = 5;
108
+ optional string product = 6;
109
+ optional .CMsgNetworkDeviceIP4Config ip4 = 7;
110
+ optional .CMsgNetworkDeviceIP6Config ip6 = 8;
111
+ optional .CMsgNetworkDevicesData.Device.Wired wired = 9;
112
+ optional .CMsgNetworkDevicesData.Device.Wireless wireless = 10;
113
+ }
114
+
115
+ repeated .CMsgNetworkDevicesData.Device devices = 1;
116
+ optional bool is_wifi_enabled = 2;
117
+ optional bool is_wifi_scanning_enabled = 3;
118
+ }
119
+
120
+ message CMsgNetworkDeviceConnect {
121
+ message KnownAP {
122
+ optional uint32 ap_id = 1;
123
+ }
124
+
125
+ message CustomAP {
126
+ optional string ssid = 1;
127
+ optional int32 esecurity = 2;
128
+ }
129
+
130
+ message Credentials {
131
+ optional string username = 1;
132
+ optional string password = 2;
133
+ }
134
+
135
+ optional uint32 device_id = 1 [default = 0];
136
+ optional .CMsgNetworkDeviceConnect.Credentials credentials = 4;
137
+ optional .CMsgNetworkDeviceIP4Config ip4 = 5;
138
+ optional .CMsgNetworkDeviceIP6Config ip6 = 6;
139
+
140
+ oneof ap_info {
141
+ .CMsgNetworkDeviceConnect.KnownAP ap_known = 2;
142
+ .CMsgNetworkDeviceConnect.CustomAP ap_custom = 3;
143
+ }
144
+ }
145
+
146
+ message CMsgStorageDevicesData {
147
+ message Drive {
148
+ optional uint32 id = 1 [default = 0];
149
+ optional string model = 2;
150
+ optional string vendor = 3;
151
+ optional string serial = 4;
152
+ optional bool is_ejectable = 5;
153
+ optional uint64 size_bytes = 6;
154
+ }
155
+
156
+ message BlockDevice {
157
+ optional uint32 id = 1 [default = 0];
158
+ optional uint32 drive_id = 2 [default = 0];
159
+ optional string path = 3;
160
+ optional string friendly_path = 4;
161
+ optional string label = 5;
162
+ optional uint64 size_bytes = 6;
163
+ optional bool is_formattable = 7;
164
+ optional bool is_read_only = 8;
165
+ optional bool is_root_device = 9;
166
+ optional .EStorageBlockContentType content_type = 10 [default = k_EStorageBlockContentType_Invalid];
167
+ optional .EStorageBlockFileSystemType filesystem_type = 11 [default = k_EStorageBlockFileSystemType_Invalid];
168
+ optional string mount_path = 12;
169
+ }
170
+
171
+ repeated .CMsgStorageDevicesData.Drive drives = 1;
172
+ repeated .CMsgStorageDevicesData.BlockDevice block_devices = 2;
173
+ }
174
+
175
+ message CCloud_PendingRemoteOperation {
176
+ optional .ECloudPendingRemoteOperation operation = 1 [default = k_ECloudPendingRemoteOperationNone];
177
+ optional string machine_name = 2;
178
+ optional uint64 client_id = 3;
179
+ optional uint32 time_last_updated = 4;
180
+ }
181
+
182
+ message CMsgCloudPendingRemoteOperations {
183
+ repeated .CCloud_PendingRemoteOperation operations = 1;
184
+ }
185
+
186
+ message CMsgBluetoothDevicesData {
187
+ message Adapter {
188
+ optional uint32 id = 1 [default = 0];
189
+ optional string mac = 2;
190
+ optional string name = 3;
191
+ optional bool is_enabled = 4;
192
+ optional bool is_discovering = 5;
193
+ }
194
+
195
+ message Device {
196
+ optional uint32 id = 1 [default = 0];
197
+ optional uint32 adapter_id = 2 [default = 0];
198
+ optional .EBluetoothDeviceType etype = 3 [default = k_BluetoothDeviceType_Invalid];
199
+ optional string mac = 4;
200
+ optional string name = 5;
201
+ optional bool is_connected = 6;
202
+ optional bool is_paired = 7;
203
+ optional int32 strength_raw = 8;
204
+ }
205
+
206
+ repeated .CMsgBluetoothDevicesData.Adapter adapters = 1;
207
+ repeated .CMsgBluetoothDevicesData.Device devices = 2;
208
+ }
209
+
210
+ message CMsgBluetoothSettings {
211
+ optional bool is_enabled = 1;
212
+ }
213
+
214
+ message CMsgSystemPerfDiagnosticEntry {
215
+ optional string name = 1;
216
+ optional string value = 2;
217
+ }
218
+
219
+ message CMsgSystemPerfNetworkInterface {
220
+ optional string name = 1;
221
+ optional double timestamp = 2;
222
+ optional int64 tx_bytes_total = 3;
223
+ optional int64 rx_bytes_total = 4;
224
+ optional int32 tx_bytes_per_sec = 5;
225
+ optional int32 rx_bytes_per_sec = 6;
226
+ }
227
+
228
+ message CMsgSystemPerfDiagnosticInfo {
229
+ repeated .CMsgSystemPerfDiagnosticEntry entries = 1;
230
+ repeated .CMsgSystemPerfNetworkInterface interfaces = 2;
231
+ }
232
+
233
+ message CMsgSystemPerfSettings {
234
+ optional int32 cpu_governor_manual_min_mhz = 20;
235
+ optional int32 cpu_governor_manual_max_mhz = 21;
236
+ optional int32 fsr_sharpness_min = 22;
237
+ optional int32 fsr_sharpness_max = 23;
238
+ optional float diagnostic_update_rate = 1;
239
+ optional .ESystemServiceState system_trace_service_state = 2 [default = k_ESystemServiceState_Unavailable];
240
+ optional .ESystemServiceState graphics_profiling_service_state = 3 [default = k_ESystemServiceState_Unavailable];
241
+ optional .ESystemServiceState perf_overlay_service_state = 4 [default = k_ESystemServiceState_Unavailable];
242
+ optional .EGraphicsPerfOverlayLevel perf_overlay_level = 5 [default = k_EGraphicsPerfOverlayLevel_Hidden];
243
+ repeated .EGPUPerformanceLevel gpu_performance_levels_available = 6;
244
+ optional .EGPUPerformanceLevel gpu_performance_level = 7 [default = k_EGPUPerformanceLevel_Invalid];
245
+ optional int32 gpu_performance_manual_mhz = 8;
246
+ optional int32 gpu_performance_manual_min_mhz = 9;
247
+ optional int32 gpu_performance_manual_max_mhz = 10;
248
+ optional bool perf_overlay_is_standalone = 11;
249
+ optional int32 fps_limit = 12;
250
+ optional bool is_variable_resolution_enabled = 13;
251
+ optional bool is_dynamic_refresh_rate_enabled = 14;
252
+ optional int32 tdp_limit = 15;
253
+ optional .ECPUGovernor cpu_governor = 16 [default = k_ECPUGovernor_Invalid];
254
+ optional int32 cpu_governor_manual_mhz = 17;
255
+ optional int32 scaling_filter = 18;
256
+ optional int32 fsr_sharpness = 19;
257
+ optional bool is_fps_limit_enabled = 24;
258
+ optional bool is_tdp_limit_enabled = 25;
259
+ optional bool is_show_perf_overlay_over_steam_enabled = 26;
260
+ optional bool is_low_latency_mode_enabled = 27;
261
+ optional bool is_fps_limit_dynamic = 28;
262
+ optional bool is_dynamic_vrs_available = 29;
263
+ optional bool is_manual_display_refresh_rate_available = 30;
264
+ optional int32 display_refresh_manual_hz = 31;
265
+ optional int32 display_refresh_manual_hz_min = 32;
266
+ optional int32 display_refresh_manual_hz_max = 33;
267
+ repeated int32 fps_limit_options = 34;
268
+ }
269
+
270
+ message CMsgSystemManagerSettings {
271
+ optional float idle_backlight_dim_battery_seconds = 1;
272
+ optional float idle_backlight_dim_ac_seconds = 2;
273
+ optional float idle_suspend_battery_seconds = 3;
274
+ optional float idle_suspend_ac_seconds = 4;
275
+ optional bool idle_suspend_supressed = 5;
276
+ optional bool display_adaptive_brightness_enabled = 6;
277
+ optional float als_lux_latest = 7;
278
+ optional float als_lux_median = 8;
279
+ optional float display_brightness_linear = 9;
280
+ optional float display_brightness_adaptivemin = 10;
281
+ optional float display_brightness_adaptivemax = 11;
282
+ optional bool display_nightmode_enabled = 12;
283
+ optional float display_nightmode_tintstrength = 13;
284
+ optional float display_nightmode_maxhue = 14;
285
+ optional float display_nightmode_maxsat = 15;
286
+ optional float display_nightmode_uiexp = 16;
287
+ optional float display_nightmode_blend = 17;
288
+ optional bool display_nightmode_reset = 18;
289
+ optional bool display_diagnostics_enabled = 19;
290
+ optional bool is_wifi_powersave_enabled = 20;
291
+ }
292
+
293
+ message CMsgSelectOSBranchParams {
294
+ optional .EOSBranch branch = 1 [default = k_EOSBranch_Unknown];
295
+ }
296
+
297
+ message CMsgSystemUpdateProgress {
298
+ optional float stage_progress = 1;
299
+ optional int64 stage_size_bytes = 2;
300
+ optional fixed32 rtime_estimated_completion = 3;
301
+ }
302
+
303
+ message CMsgSystemUpdateCheckResult {
304
+ optional .EUpdaterType type = 1 [default = k_EUpdaterType_Invalid];
305
+ optional uint32 eresult = 2 [default = 2];
306
+ optional fixed32 rtime_checked = 3;
307
+ optional bool available = 4;
308
+ optional string version = 5;
309
+ }
310
+
311
+ message CMsgSystemUpdateApplyParams {
312
+ repeated .EUpdaterType apply_types = 1;
313
+ }
314
+
315
+ message CMsgSystemUpdateApplyResult {
316
+ optional .EUpdaterType type = 1 [default = k_EUpdaterType_Invalid];
317
+ optional uint32 eresult = 2 [default = 2];
318
+ optional bool requires_client_restart = 3 [default = false];
319
+ optional bool requires_system_restart = 4 [default = false];
320
+ }
321
+
322
+ message CMsgSystemUpdateState {
323
+ optional .EUpdaterState state = 1 [default = k_EUpdaterState_Invalid];
324
+ optional .CMsgSystemUpdateProgress progress = 2;
325
+ repeated .CMsgSystemUpdateCheckResult update_check_results = 3;
326
+ repeated .CMsgSystemUpdateApplyResult update_apply_results = 4;
327
+ }
328
+
329
+ message CMsgCellList {
330
+ message Cell {
331
+ optional uint32 cell_id = 1;
332
+ optional string loc_name = 2;
333
+ }
334
+
335
+ repeated .CMsgCellList.Cell cells = 1;
336
+ }
@@ -0,0 +1,26 @@
1
+ import "steammessages_base.proto";
2
+
3
+ option optimize_for = SPEED;
4
+ option cc_generic_services = false;
5
+
6
+ message CMsgClientLANP2PRequestChunks {
7
+ message ChunkKey {
8
+ optional uint32 depot_id = 1;
9
+ optional bytes sha = 2;
10
+ }
11
+
12
+ repeated .CMsgClientLANP2PRequestChunks.ChunkKey chunk_keys = 1;
13
+ }
14
+
15
+ message CMsgClientLANP2PRequestChunksResponse {
16
+ message ChunkData {
17
+ optional uint32 result = 1;
18
+ optional uint32 depot_id = 2;
19
+ optional bytes sha = 3;
20
+ optional bytes chunk_data = 4;
21
+ optional bool encrypted = 5;
22
+ optional bool compressed = 6;
23
+ }
24
+
25
+ repeated .CMsgClientLANP2PRequestChunksResponse.ChunkData chunk_responses = 1;
26
+ }
@@ -0,0 +1,176 @@
1
+ import "steammessages_base.proto";
2
+ import "steammessages_unified_base.steamclient.proto";
3
+ import "clientmetrics.proto";
4
+
5
+ option cc_generic_services = true;
6
+
7
+ enum ESteamPipeWorkType {
8
+ k_ESteamPipeClientWorkType_Invalid = 0;
9
+ k_ESteamPipeClientWorkType_StageFromChunkStores = 1;
10
+ }
11
+
12
+ enum ESteamPipeOperationType {
13
+ k_ESteamPipeOperationType_Invalid = 0;
14
+ k_ESteamPipeOperationType_DecryptCPU = 1;
15
+ k_ESteamPipeOperationType_DiskRead = 2;
16
+ k_ESteamPipeOperationType_DiskWrite = 3;
17
+ }
18
+
19
+ message CClientMetrics_AppInterfaceCreation {
20
+ optional string raw_version = 1;
21
+ optional string requested_interface_type = 2;
22
+ }
23
+
24
+ message CClientMetrics_AppInterfaceMethodCounts {
25
+ optional string interface_name = 1;
26
+ optional string method_name = 2;
27
+ optional uint32 call_count = 3;
28
+ }
29
+
30
+ message CClientMetrics_AppInterfaceStats_Notification {
31
+ optional uint64 game_id = 1;
32
+ repeated .CClientMetrics_AppInterfaceCreation interfaces_created = 2;
33
+ repeated .CClientMetrics_AppInterfaceMethodCounts methods_called = 3;
34
+ optional uint32 session_length_seconds = 4;
35
+ }
36
+
37
+ message CClientMetrics_IPv6Connectivity_Result {
38
+ optional uint32 protocol_tested = 1;
39
+ optional uint32 connectivity_state = 2;
40
+ }
41
+
42
+ message CClientMetrics_IPv6Connectivity_Notification {
43
+ optional uint32 cell_id = 1;
44
+ repeated .CClientMetrics_IPv6Connectivity_Result results = 2;
45
+ optional bool private_ip_is_rfc6598 = 3;
46
+ }
47
+
48
+ message CClientMetrics_SteamPipeWorkStats_Operation {
49
+ optional .ESteamPipeOperationType type = 1 [default = k_ESteamPipeOperationType_Invalid];
50
+ optional uint32 num_ops = 2;
51
+ optional uint64 num_bytes = 3;
52
+ optional uint64 busy_time_ms = 4;
53
+ optional uint64 idle_time_ms = 5;
54
+ optional uint64 sum_run_time_ms = 6;
55
+ optional uint64 sum_wait_time_ms = 7;
56
+ }
57
+
58
+ message CClientMetrics_SteamPipeWorkStats_Notification {
59
+ optional uint32 appid = 1;
60
+ optional uint32 depotid = 2;
61
+ optional .ESteamPipeWorkType work_type = 3 [default = k_ESteamPipeClientWorkType_Invalid];
62
+ repeated .CClientMetrics_SteamPipeWorkStats_Operation operations = 4;
63
+ optional uint32 hardware_type = 5;
64
+ }
65
+
66
+ message CClientMetrics_ReportReactUsage_Notification {
67
+ message RouteData {
68
+ optional string route = 1;
69
+ optional uint32 count = 2;
70
+ }
71
+
72
+ message ComponentData {
73
+ optional string component = 1;
74
+ optional uint32 count = 2;
75
+ }
76
+
77
+ message ActionData {
78
+ optional string action = 1;
79
+ optional uint32 count = 2;
80
+ }
81
+
82
+ optional string product = 1;
83
+ optional string version = 2;
84
+ repeated .CClientMetrics_ReportReactUsage_Notification.RouteData routes = 3;
85
+ repeated .CClientMetrics_ReportReactUsage_Notification.ComponentData components = 4;
86
+ repeated .CClientMetrics_ReportReactUsage_Notification.ActionData actions = 5;
87
+ }
88
+
89
+ message CClientMetrics_ReportClientError_Notification {
90
+ message Error {
91
+ optional string identifier = 1;
92
+ optional string message = 2;
93
+ optional uint32 count = 3;
94
+ }
95
+
96
+ optional string product = 1;
97
+ optional string version = 2;
98
+ repeated .CClientMetrics_ReportClientError_Notification.Error errors = 3;
99
+ }
100
+
101
+ message CClientMetrics_ClientBootstrap_Notification {
102
+ optional .CClientMetrics_ClientBootstrap_Summary summary = 1;
103
+ }
104
+
105
+ message CClientMetrics_DownloadRates_Notification {
106
+ message StatsInfo {
107
+ optional uint32 source_type = 1;
108
+ optional uint32 source_id = 2;
109
+ optional uint64 bytes = 3;
110
+ optional string host_name = 4;
111
+ optional uint64 microseconds = 5;
112
+ optional bool used_ipv6 = 6;
113
+ optional bool proxied = 7;
114
+ }
115
+
116
+ optional uint32 cell_id = 1;
117
+ repeated .CClientMetrics_DownloadRates_Notification.StatsInfo stats = 2;
118
+ optional uint32 throttling_kbps = 3;
119
+ }
120
+
121
+ message CClientMetrics_ContentValidation_Notification {
122
+ optional int32 validation_result = 1;
123
+ optional uint32 app_id = 2;
124
+ optional bool staged_files = 3;
125
+ optional bool user_initiated = 4;
126
+ optional bool early_out = 5;
127
+ optional uint32 chunks_scanned = 6;
128
+ optional uint32 chunks_corrupt = 7;
129
+ optional uint64 bytes_scanned = 8;
130
+ optional uint64 chunk_bytes_corrupt = 9;
131
+ optional uint64 total_file_size_corrupt = 10;
132
+ }
133
+
134
+ message CClientMetrics_CloudAppSyncStats_Notification {
135
+ optional uint32 app_id = 1;
136
+ optional uint32 platform_type = 2;
137
+ optional bool preload = 3;
138
+ optional bool blocking_app_launch = 4;
139
+ optional uint32 files_uploaded = 5;
140
+ optional uint32 files_downloaded = 6;
141
+ optional uint32 files_deleted = 7;
142
+ optional uint64 bytes_uploaded = 8;
143
+ optional uint64 bytes_downloaded = 9;
144
+ optional uint64 microsec_total = 10;
145
+ optional uint64 microsec_init_caches = 11;
146
+ optional uint64 microsec_validate_state = 12;
147
+ optional uint64 microsec_ac_launch = 13;
148
+ optional uint64 microsec_ac_prep_user_files = 14;
149
+ optional uint64 microsec_ac_exit = 15;
150
+ optional uint64 microsec_build_sync_list = 16;
151
+ optional uint64 microsec_delete_files = 17;
152
+ optional uint64 microsec_download_files = 18;
153
+ optional uint64 microsec_upload_files = 19;
154
+ optional uint32 hardware_type = 20;
155
+ optional uint32 files_managed = 21;
156
+ }
157
+
158
+ message CClientMetrics_ContentDownloadResponse_Counts_Notification {
159
+ optional uint32 cell_id = 1;
160
+ optional .CClientMetrics_ContentDownloadResponse_Hosts data = 2;
161
+ }
162
+
163
+ service ClientMetrics {
164
+ option (service_description) = "A service for client-reported metrics";
165
+
166
+ rpc ClientAppInterfaceStatsReport (.CClientMetrics_AppInterfaceStats_Notification) returns (.NoResponse);
167
+ rpc ClientIPv6ConnectivityReport (.CClientMetrics_IPv6Connectivity_Notification) returns (.NoResponse);
168
+ rpc SteamPipeWorkStatsReport (.CClientMetrics_SteamPipeWorkStats_Notification) returns (.NoResponse);
169
+ rpc ReportReactUsage (.CClientMetrics_ReportReactUsage_Notification) returns (.NoResponse);
170
+ rpc ReportClientError (.CClientMetrics_ReportClientError_Notification) returns (.NoResponse);
171
+ rpc ClientBootstrapReport (.CClientMetrics_ClientBootstrap_Notification) returns (.NoResponse);
172
+ rpc ClientDownloadRatesReport (.CClientMetrics_DownloadRates_Notification) returns (.NoResponse);
173
+ rpc ClientContentValidationReport (.CClientMetrics_ContentValidation_Notification) returns (.NoResponse);
174
+ rpc ClientCloudAppSyncStats (.CClientMetrics_CloudAppSyncStats_Notification) returns (.NoResponse);
175
+ rpc ClientDownloadResponseCodeCounts (.CClientMetrics_ContentDownloadResponse_Counts_Notification) returns (.NoResponse);
176
+ }
@@ -0,0 +1,129 @@
1
+ option optimize_for = SPEED;
2
+ option cc_generic_services = true;
3
+
4
+ enum EClientNotificationType {
5
+ k_EClientNotificationType_Invalid = 0;
6
+ k_EClientNotificationType_DownloadCompleted = 1;
7
+ k_EClientNotificationType_FriendInvite = 2;
8
+ k_EClientNotificationType_FriendInGame = 3;
9
+ k_EClientNotificationType_FriendOnline = 4;
10
+ k_EClientNotificationType_Achievement = 5;
11
+ k_EClientNotificationType_LowBattery = 6;
12
+ k_EClientNotificationType_SystemUpdate = 7;
13
+ k_EClientNotificationType_FriendMessage = 8;
14
+ k_EClientNotificationType_GroupChatMessage = 9;
15
+ k_EClientNotificationType_FriendInviteRollup = 10;
16
+ k_EClientNotificationType_FamilySharingDeviceAuthorizationChanged = 11;
17
+ k_EClientNotificationType_FamilySharingStopPlaying = 12;
18
+ k_EClientNotificationType_FamilySharingLibraryAvailable = 13;
19
+ k_EClientNotificationType_Screenshot = 14;
20
+ k_EClientNotificationType_CloudSyncFailure = 15;
21
+ k_EClientNotificationType_CloudSyncConflict = 16;
22
+ k_EClientNotificationType_IncomingVoiceChat = 17;
23
+ k_EClientNotificationType_ClaimSteamDeckRewards = 18;
24
+ }
25
+
26
+ enum ESystemUpdateNotificationType {
27
+ k_ESystemUpdateNotificationType_Invalid = 0;
28
+ k_ESystemUpdateNotificationType_Available = 1;
29
+ k_ESystemUpdateNotificationType_NeedsRestart = 2;
30
+ }
31
+
32
+ message CClientNotificationCloudSyncFailure {
33
+ optional uint32 appid = 1;
34
+ }
35
+
36
+ message CClientNotificationCloudSyncConflict {
37
+ optional uint32 appid = 1;
38
+ }
39
+
40
+ message CClientNotificationScreenshot {
41
+ optional string screenshot_handle = 1;
42
+ optional string description = 2;
43
+ optional string local_url = 3;
44
+ }
45
+
46
+ message CClientNotificationDownloadCompleted {
47
+ optional uint32 appid = 1;
48
+ }
49
+
50
+ message CClientNotificationFriendInvite {
51
+ optional fixed64 steamid = 1;
52
+ }
53
+
54
+ message CClientNotificationFriendInviteRollup {
55
+ optional uint32 new_invite_count = 1;
56
+ }
57
+
58
+ message CClientNotificationFriendInGame {
59
+ optional fixed64 steamid = 1;
60
+ optional string game_name = 2;
61
+ }
62
+
63
+ message CClientNotificationFriendOnline {
64
+ optional fixed64 steamid = 1;
65
+ }
66
+
67
+ message CClientNotificationAchievement {
68
+ optional string achievement_id = 1;
69
+ optional uint32 appid = 2;
70
+ optional string name = 3;
71
+ optional string description = 4;
72
+ optional string image_url = 5;
73
+ optional bool achieved = 6;
74
+ optional uint32 rtime_unlocked = 7;
75
+ optional float min_progress = 8;
76
+ optional float current_progress = 9;
77
+ optional float max_progress = 10;
78
+ optional float global_achieved_pct = 11;
79
+ }
80
+
81
+ message CClientNotificationLowBattery {
82
+ optional float pct_remaining = 1;
83
+ }
84
+
85
+ message CClientNotificationSystemUpdate {
86
+ optional .ESystemUpdateNotificationType type = 1 [default = k_ESystemUpdateNotificationType_Invalid];
87
+ }
88
+
89
+ message CClientNotificationFriendMessage {
90
+ optional string tag = 1;
91
+ optional string steamid = 2;
92
+ optional string title = 3;
93
+ optional string body = 4;
94
+ optional string icon = 5;
95
+ optional uint32 notificationid = 6;
96
+ }
97
+
98
+ message CClientNotificationGroupChatMessage {
99
+ optional string tag = 1;
100
+ optional string steamid_sender = 2;
101
+ optional string chat_group_id = 3;
102
+ optional string chat_id = 4;
103
+ optional string title = 5;
104
+ optional string body = 6;
105
+ optional string rawbody = 7;
106
+ optional string icon = 8;
107
+ optional uint32 notificationid = 9;
108
+ }
109
+
110
+ message CClientNotificationFamilySharingDeviceAuthorizationChanged {
111
+ optional uint32 accountid_owner = 1;
112
+ optional bool authorized = 2;
113
+ }
114
+
115
+ message CClientNotificationFamilySharingStopPlaying {
116
+ optional uint32 accountid_owner = 1;
117
+ optional uint32 seconds_remaining = 2;
118
+ }
119
+
120
+ message CClientNotificationFamilySharingLibraryAvailable {
121
+ optional uint32 accountid_owner = 1;
122
+ }
123
+
124
+ message CClientNotificationIncomingVoiceChat {
125
+ optional fixed64 steamid = 1;
126
+ }
127
+
128
+ message CClientNotificationClaimSteamDeckRewards {
129
+ }