steamutils 1.3.64 → 1.3.66

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. package/SteamClient.js +12 -10
  2. package/index.js +96 -0
  3. package/package.json +2 -2
  4. package/protos/csgo/base_gcmessages.proto +553 -0
  5. package/protos/csgo/connectionless_netmessages.proto +0 -2
  6. package/protos/csgo/cs_gameevents.proto +1 -0
  7. package/protos/csgo/cstrike15_gcmessages.proto +41 -12
  8. package/protos/csgo/cstrike15_usermessages.proto +0 -4
  9. package/protos/csgo/demo.proto +5 -0
  10. package/protos/csgo/econ_gcmessages.proto +0 -9
  11. package/protos/csgo/gcsdk_gcmessages.proto +2 -2
  12. package/protos/csgo/gcsystemmsgs.proto +1 -0
  13. package/protos/csgo/netmessages.proto +22 -8
  14. package/protos/csgo/networkbasetypes.proto +2 -0
  15. package/protos/csgo/steammessages.proto +23 -0
  16. package/protos/csgo/usercmd.proto +2 -1
  17. package/protos/csgo/usermessages.proto +31 -0
  18. package/protos/steam/enums.proto +58 -1
  19. package/protos/steam/enums_clientserver.proto +3 -34
  20. package/protos/steam/enums_productinfo.proto +1 -0
  21. package/protos/steam/htmlmessages.proto +12 -0
  22. package/protos/steam/steamdatagram_messages_sdr.proto +1 -1
  23. package/protos/steam/steammessages_accounthardware.steamclient.proto +18 -52
  24. package/protos/steam/steammessages_appoverview.proto +18 -1
  25. package/protos/steam/steammessages_auth.steamclient.proto +128 -188
  26. package/protos/steam/steammessages_base.proto +3 -0
  27. package/protos/steam/steammessages_broadcast.steamclient.proto +126 -267
  28. package/protos/steam/steammessages_chat.steamclient.proto +79 -290
  29. package/protos/steam/steammessages_client_objects.proto +4 -0
  30. package/protos/steam/steammessages_clientlanp2p.proto +1 -0
  31. package/protos/steam/steammessages_clientmetrics.steamclient.proto +0 -2
  32. package/protos/steam/steammessages_clientnotificationtypes.proto +19 -0
  33. package/protos/steam/steammessages_clientserver_2.proto +11 -0
  34. package/protos/steam/steammessages_clientserver_login.proto +1 -1
  35. package/protos/steam/steammessages_clientserver_mms.proto +228 -235
  36. package/protos/steam/steammessages_clientserver_ucm.proto +2 -0
  37. package/protos/steam/steammessages_clientserver_uds.proto +1 -0
  38. package/protos/steam/steammessages_clientserver_ufs.proto +0 -127
  39. package/protos/steam/steammessages_clientsettings.proto +46 -6
  40. package/protos/steam/steammessages_cloud.steamclient.proto +158 -249
  41. package/protos/steam/steammessages_contentsystem.steamclient.proto +16 -8
  42. package/protos/steam/steammessages_credentials.steamclient.proto +7 -26
  43. package/protos/steam/steammessages_datapublisher.steamclient.proto +30 -44
  44. package/protos/steam/steammessages_depotbuilder.steamclient.proto +6 -25
  45. package/protos/steam/steammessages_deviceauth.steamclient.proto +11 -45
  46. package/protos/steam/steammessages_econ.steamclient.proto +12 -25
  47. package/protos/steam/steammessages_familygroups.steamclient.proto +441 -0
  48. package/protos/steam/steammessages_friendmessages.steamclient.proto +19 -46
  49. package/protos/steam/steammessages_gamenetworking.steamclient.proto +2 -9
  50. package/protos/steam/steammessages_gamenotifications.steamclient.proto +57 -82
  51. package/protos/steam/steammessages_gameservers.steamclient.proto +13 -29
  52. package/protos/steam/steammessages_inventory.steamclient.proto +21 -73
  53. package/protos/steam/steammessages_linkfilter.steamclient.proto +14 -24
  54. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +1 -5
  55. package/protos/steam/steammessages_market.steamclient.proto +9 -13
  56. package/protos/steam/steammessages_marketingmessages.steamclient.proto +59 -60
  57. package/protos/steam/steammessages_offline.steamclient.proto +2 -9
  58. package/protos/steam/steammessages_parental.steamclient.proto +100 -66
  59. package/protos/steam/steammessages_parties.steamclient.proto +6 -25
  60. package/protos/steam/steammessages_partnerapps.steamclient.proto +11 -43
  61. package/protos/steam/steammessages_player.steamclient.proto +133 -278
  62. package/protos/steam/steammessages_publishedfile.steamclient.proto +213 -289
  63. package/protos/steam/steammessages_qms.steamclient.proto +4 -18
  64. package/protos/steam/steammessages_remoteclient.proto +2 -1
  65. package/protos/steam/steammessages_remoteclient_discovery.proto +9 -0
  66. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +18 -73
  67. package/protos/steam/steammessages_remoteplay.proto +1 -2
  68. package/protos/steam/steammessages_secrets.steamclient.proto +1 -5
  69. package/protos/steam/steammessages_shader.steamclient.proto +6 -25
  70. package/protos/steam/steammessages_site_license.steamclient.proto +8 -33
  71. package/protos/steam/steammessages_steamtv.steamclient.proto +169 -266
  72. package/protos/steam/steammessages_store.steamclient.proto +110 -77
  73. package/protos/steam/steammessages_storebrowse.steamclient.proto +170 -115
  74. package/protos/steam/steammessages_timedtrial.steamclient.proto +3 -13
  75. package/protos/steam/steammessages_twofactor.steamclient.proto +92 -121
  76. package/protos/steam/steammessages_unified_base.steamclient.proto +12 -0
  77. package/protos/steam/steammessages_unified_test.steamclient.proto +10 -20
  78. package/protos/steam/steammessages_useraccount.steamclient.proto +26 -64
  79. package/protos/steam/steammessages_vac.steamclient.proto +2 -9
  80. package/protos/steam/steammessages_video.steamclient.proto +25 -128
  81. package/protos/steam/steammessages_workshop.steamclient.proto +1 -5
  82. package/protos/steam/webuimessages_achievements.proto +29 -0
  83. package/protos/steam/webuimessages_gamescope.proto +57 -0
  84. package/protos/steam/webuimessages_steamengine.proto +9 -0
  85. package/protos/steam/webuimessages_steamos.proto +114 -0
  86. package/protos/steam/webuimessages_transport.proto +4 -0
  87. package/protos/steam/webuimessages_transportvalidation.proto +14 -0
  88. package/test_steamclient.js +4 -3
  89. package/protos/csgo/steammessages_steamlearn.steamworkssdk.proto +0 -357
  90. package/protos/steam/renderer/rendermessages.proto +0 -893
  91. package/protos/steam/steammessages_star.steamclient.proto +0 -64
  92. package/protos/webui/common.proto +0 -5508
  93. package/protos/webui/common_base.proto +0 -27
  94. package/protos/webui/service_accountlinking.proto +0 -27
  95. package/protos/webui/service_accountprivacy.proto +0 -42
  96. package/protos/webui/service_auction.proto +0 -97
  97. package/protos/webui/service_authentication.proto +0 -222
  98. package/protos/webui/service_authenticationsupport.proto +0 -74
  99. package/protos/webui/service_broadcast.proto +0 -562
  100. package/protos/webui/service_chat.proto +0 -11
  101. package/protos/webui/service_chatroom.proto +0 -810
  102. package/protos/webui/service_chatusability.proto +0 -107
  103. package/protos/webui/service_clan.proto +0 -41
  104. package/protos/webui/service_clanchatrooms.proto +0 -25
  105. package/protos/webui/service_clanfaqs.proto +0 -202
  106. package/protos/webui/service_clientcomm.proto +0 -150
  107. package/protos/webui/service_clientmetrics.proto +0 -63
  108. package/protos/webui/service_cloud.proto +0 -222
  109. package/protos/webui/service_cloudconfigstore.proto +0 -51
  110. package/protos/webui/service_cloudgaming.proto +0 -30
  111. package/protos/webui/service_community.proto +0 -365
  112. package/protos/webui/service_econ.proto +0 -134
  113. package/protos/webui/service_embedded.proto +0 -24
  114. package/protos/webui/service_experimentservice.proto +0 -6
  115. package/protos/webui/service_fovasvideo.proto +0 -15
  116. package/protos/webui/service_friendmessages.proto +0 -133
  117. package/protos/webui/service_friendslist.proto +0 -70
  118. package/protos/webui/service_gamenotes.proto +0 -15
  119. package/protos/webui/service_helprequestlogs.proto +0 -26
  120. package/protos/webui/service_loyaltyrewards.proto +0 -252
  121. package/protos/webui/service_marketingmessages.proto +0 -184
  122. package/protos/webui/service_mobileapp.proto +0 -18
  123. package/protos/webui/service_mobileauth.proto +0 -24
  124. package/protos/webui/service_mobiledevice.proto +0 -26
  125. package/protos/webui/service_mobileperaccount.proto +0 -31
  126. package/protos/webui/service_news.proto +0 -101
  127. package/protos/webui/service_parental.proto +0 -178
  128. package/protos/webui/service_partnermembershipinvite.proto +0 -29
  129. package/protos/webui/service_partnerstorebrowse.proto +0 -6
  130. package/protos/webui/service_phone.proto +0 -51
  131. package/protos/webui/service_physicalgoods.proto +0 -15
  132. package/protos/webui/service_player.proto +0 -885
  133. package/protos/webui/service_promotioneventinvites.proto +0 -50
  134. package/protos/webui/service_promotionplanning.proto +0 -72
  135. package/protos/webui/service_publishedfile.proto +0 -687
  136. package/protos/webui/service_publishing.proto +0 -119
  137. package/protos/webui/service_quest.proto +0 -127
  138. package/protos/webui/service_salefeature.proto +0 -315
  139. package/protos/webui/service_saleitemrewards.proto +0 -54
  140. package/protos/webui/service_shoppingcart.proto +0 -108
  141. package/protos/webui/service_steamawards.proto +0 -19
  142. package/protos/webui/service_steamcharts.proto +0 -75
  143. package/protos/webui/service_steamengine.proto +0 -36
  144. package/protos/webui/service_steamlearn.proto +0 -727
  145. package/protos/webui/service_steamnotification.proto +0 -84
  146. package/protos/webui/service_steamtv.proto +0 -495
  147. package/protos/webui/service_steamvrvoicechat.proto +0 -67
  148. package/protos/webui/service_steamvrwebrtc.proto +0 -48
  149. package/protos/webui/service_storagedevicemanager.proto +0 -104
  150. package/protos/webui/service_store.proto +0 -289
  151. package/protos/webui/service_storeappsimilarity.proto +0 -76
  152. package/protos/webui/service_storebrowse.proto +0 -73
  153. package/protos/webui/service_storequery.proto +0 -97
  154. package/protos/webui/service_storesales.proto +0 -15
  155. package/protos/webui/service_storetopsellers.proto +0 -44
  156. package/protos/webui/service_systemmanager.proto +0 -11
  157. package/protos/webui/service_test_transporterror.proto +0 -6
  158. package/protos/webui/service_transportauth.proto +0 -12
  159. package/protos/webui/service_transportvalidation.proto +0 -69
  160. package/protos/webui/service_twofactor.proto +0 -181
  161. package/protos/webui/service_useraccount.proto +0 -138
  162. package/protos/webui/service_usergameactivity.proto +0 -34
  163. package/protos/webui/service_usergamenotes.proto +0 -53
  164. package/protos/webui/service_usernews.proto +0 -68
  165. package/protos/webui/service_userreviews.proto +0 -96
  166. package/protos/webui/service_video.proto +0 -128
  167. package/protos/webui/service_voicechat.proto +0 -139
  168. package/protos/webui/service_webrtc.proto +0 -52
@@ -1,687 +0,0 @@
1
- import "common_base.proto";
2
-
3
- message CPublishedFile_AddAppRelationship_Request {
4
- optional uint64 publishedfileid = 1;
5
- optional uint32 appid = 2;
6
- optional uint32 relationship = 3;
7
- }
8
-
9
- message CPublishedFile_AddAppRelationship_Response {
10
- }
11
-
12
- message CPublishedFile_AddChild_Request {
13
- optional uint64 publishedfileid = 1;
14
- optional uint64 child_publishedfileid = 2;
15
- }
16
-
17
- message CPublishedFile_AddChild_Response {
18
- }
19
-
20
- message CPublishedFile_AreFilesInSubscriptionList_Request {
21
- optional uint32 appid = 1;
22
- repeated fixed64 publishedfileids = 2;
23
- optional uint32 listtype = 3;
24
- optional uint32 filetype = 4;
25
- optional uint32 workshopfiletype = 5;
26
- }
27
-
28
- message CPublishedFile_AreFilesInSubscriptionList_Response {
29
- repeated .CPublishedFile_AreFilesInSubscriptionList_Response_InList files = 1;
30
- }
31
-
32
- message CPublishedFile_AreFilesInSubscriptionList_Response_InList {
33
- optional fixed64 publishedfileid = 1;
34
- optional bool inlist = 2;
35
- }
36
-
37
- message CPublishedFile_CanSubscribe_Request {
38
- optional uint64 publishedfileid = 1;
39
- }
40
-
41
- message CPublishedFile_CanSubscribe_Response {
42
- optional bool can_subscribe = 1;
43
- }
44
-
45
- message CPublishedFile_Delete_Request {
46
- optional fixed64 publishedfileid = 1;
47
- optional uint32 appid = 5;
48
- }
49
-
50
- message CPublishedFile_Delete_Response {
51
- }
52
-
53
- message CPublishedFile_FileDeleted_Client_Notification {
54
- optional fixed64 published_file_id = 1;
55
- optional uint32 app_id = 2;
56
- }
57
-
58
- message CPublishedFile_FileSubscribed_Notification {
59
- optional fixed64 published_file_id = 1;
60
- optional uint32 app_id = 2;
61
- optional fixed64 file_hcontent = 3;
62
- optional uint32 file_size = 4;
63
- optional uint32 rtime_subscribed = 5;
64
- optional bool is_depot_content = 6;
65
- optional uint32 rtime_updated = 7;
66
- repeated .CPublishedFile_FileSubscribed_Notification_RevisionData revisions = 8;
67
- }
68
-
69
- message CPublishedFile_FileSubscribed_Notification_RevisionData {
70
- optional int32 revision = 1 [(.description) = "enum"];
71
- optional fixed64 file_hcontent = 2;
72
- optional uint32 rtime_updated = 3;
73
- }
74
-
75
- message CPublishedFile_FileUnsubscribed_Notification {
76
- optional fixed64 published_file_id = 1;
77
- optional uint32 app_id = 2;
78
- }
79
-
80
- message CPublishedFile_GetAppRelationships_Request {
81
- optional uint64 publishedfileid = 1;
82
- }
83
-
84
- message CPublishedFile_GetAppRelationships_Response {
85
- repeated .CPublishedFile_GetAppRelationships_Response_AppRelationship app_relationships = 3;
86
- }
87
-
88
- message CPublishedFile_GetAppRelationships_Response_AppRelationship {
89
- optional uint32 appid = 1;
90
- optional uint32 relationship = 2;
91
- }
92
-
93
- message CPublishedFile_GetAppRelationshipsBatched_Request {
94
- repeated uint64 publishedfileids = 1;
95
- optional uint32 filter_relationship = 2;
96
- }
97
-
98
- message CPublishedFile_GetAppRelationshipsBatched_Response {
99
- repeated .CPublishedFile_GetAppRelationshipsBatched_Response_PublishedFileAppRelationship relationships = 1;
100
- }
101
-
102
- message CPublishedFile_GetAppRelationshipsBatched_Response_AppRelationship {
103
- optional uint32 appid = 1;
104
- optional uint32 relationship = 2;
105
- }
106
-
107
- message CPublishedFile_GetAppRelationshipsBatched_Response_PublishedFileAppRelationship {
108
- optional uint64 publishedfileid = 1;
109
- optional uint32 result = 2;
110
- repeated .CPublishedFile_GetAppRelationshipsBatched_Response_AppRelationship app_relationships = 3;
111
- }
112
-
113
- message CPublishedFile_GetChangeHistory_Request {
114
- optional fixed64 publishedfileid = 1;
115
- optional bool total_only = 2;
116
- optional uint32 startindex = 3;
117
- optional uint32 count = 4;
118
- optional int32 language = 5 [default = 0];
119
- }
120
-
121
- message CPublishedFile_GetChangeHistory_Response {
122
- repeated .CPublishedFile_GetChangeHistory_Response_ChangeLog changes = 1;
123
- optional uint32 total = 2;
124
- }
125
-
126
- message CPublishedFile_GetChangeHistory_Response_ChangeLog {
127
- optional uint32 timestamp = 1;
128
- optional string change_description = 2;
129
- optional int32 language = 3;
130
- }
131
-
132
- message CPublishedFile_GetChangeHistoryEntry_Request {
133
- optional fixed64 publishedfileid = 1;
134
- optional uint32 timestamp = 2;
135
- optional int32 language = 3;
136
- }
137
-
138
- message CPublishedFile_GetChangeHistoryEntry_Response {
139
- optional string change_description = 1;
140
- optional int32 language = 2;
141
- }
142
-
143
- message CPublishedFile_GetContentDescriptors_Request {
144
- optional fixed64 publishedfileid = 1;
145
- }
146
-
147
- message CPublishedFile_GetContentDescriptors_Response {
148
- repeated .CPublishedFile_GetContentDescriptors_Response_ContentDescriptor content_descriptors = 1;
149
- }
150
-
151
- message CPublishedFile_GetContentDescriptors_Response_ContentDescriptor {
152
- optional int32 descriptorid = 1 [(.description) = "enum"];
153
- optional uint32 accountid = 2;
154
- optional uint32 timestamp = 3;
155
- optional bool moderator_set = 4;
156
- }
157
-
158
- message CPublishedFile_GetDetails_Request {
159
- repeated fixed64 publishedfileids = 1;
160
- optional bool includetags = 2;
161
- optional bool includeadditionalpreviews = 3;
162
- optional bool includechildren = 4;
163
- optional bool includekvtags = 5;
164
- optional bool includevotes = 6;
165
- optional bool short_description = 8;
166
- optional bool includeforsaledata = 10;
167
- optional bool includemetadata = 11;
168
- optional int32 language = 12 [default = 0];
169
- optional uint32 return_playtime_stats = 13;
170
- optional uint32 appid = 14;
171
- optional bool strip_description_bbcode = 15;
172
- optional int32 desired_revision = 16 [default = 0, (.description) = "enum"];
173
- optional bool includereactions = 17 [default = false];
174
- }
175
-
176
- message CPublishedFile_GetDetails_Response {
177
- repeated .PublishedFileDetails publishedfiledetails = 1;
178
- }
179
-
180
- message CPublishedFile_GetItemChanges_Request {
181
- optional uint32 appid = 1;
182
- optional uint32 last_time_updated = 2;
183
- optional uint32 num_items_max = 3;
184
- }
185
-
186
- message CPublishedFile_GetItemChanges_Response {
187
- optional uint32 update_time = 1;
188
- repeated .CPublishedFile_GetItemChanges_Response_WorkshopItemInfo workshop_items = 2;
189
- }
190
-
191
- message CPublishedFile_GetItemChanges_Response_WorkshopItemInfo {
192
- optional fixed64 published_file_id = 1;
193
- optional uint32 time_updated = 2;
194
- optional fixed64 manifest_id = 3;
195
- }
196
-
197
- message CPublishedFile_GetItemInfo_Request {
198
- optional uint32 appid = 1;
199
- optional uint32 last_time_updated = 2;
200
- repeated .CPublishedFile_GetItemInfo_Request_WorkshopItem workshop_items = 3;
201
- }
202
-
203
- message CPublishedFile_GetItemInfo_Request_WorkshopItem {
204
- optional fixed64 published_file_id = 1;
205
- optional uint32 time_updated = 2;
206
- optional int32 desired_revision = 3 [default = 0, (.description) = "enum"];
207
- }
208
-
209
- message CPublishedFile_GetItemInfo_Response {
210
- optional uint32 update_time = 1;
211
- repeated .CPublishedFile_GetItemInfo_Response_WorkshopItemInfo workshop_items = 2;
212
- repeated fixed64 private_items = 3;
213
- }
214
-
215
- message CPublishedFile_GetItemInfo_Response_WorkshopItemInfo {
216
- optional fixed64 published_file_id = 1;
217
- optional uint32 time_updated = 2;
218
- optional fixed64 manifest_id = 3;
219
- optional uint32 flags = 4;
220
- }
221
-
222
- message CPublishedFile_GetSubSectionData_Request {
223
- optional uint64 publishedfileid = 1;
224
- optional bool for_table_of_contents = 2;
225
- optional uint64 specific_sectionid = 3;
226
- optional int32 desired_revision = 4 [default = 0, (.description) = "enum"];
227
- }
228
-
229
- message CPublishedFile_GetSubSectionData_Response {
230
- repeated .PublishedFileSubSection sub_sections = 1;
231
- }
232
-
233
- message CPublishedFile_GetUserFiles_Request {
234
- optional fixed64 steamid = 1;
235
- optional uint32 appid = 2;
236
- optional uint32 shortcutid = 3;
237
- optional uint32 page = 4 [default = 1];
238
- optional uint32 numperpage = 5 [default = 1];
239
- optional string type = 6 [default = "myfiles"];
240
- optional string sortmethod = 7 [default = "lastupdated"];
241
- optional uint32 privacy = 9;
242
- repeated string requiredtags = 10;
243
- repeated string excludedtags = 11;
244
- optional uint32 filetype = 14;
245
- optional uint32 creator_appid = 15;
246
- optional string match_cloud_filename = 16;
247
- optional bool totalonly = 17;
248
- optional bool ids_only = 18;
249
- optional bool return_vote_data = 19 [default = true];
250
- optional bool return_tags = 20;
251
- optional bool return_kv_tags = 21 [default = true];
252
- optional bool return_previews = 22;
253
- optional bool return_children = 23;
254
- optional bool return_short_description = 24 [default = true];
255
- optional uint32 startindex_override = 25;
256
- optional bool return_for_sale_data = 26;
257
- optional uint32 cache_max_age_seconds = 27 [default = 0];
258
- optional bool return_metadata = 28 [default = false];
259
- optional int32 language = 29 [default = 0];
260
- repeated .CPublishedFile_GetUserFiles_Request_KVTag required_kv_tags = 30;
261
- optional uint32 return_playtime_stats = 31;
262
- optional bool strip_description_bbcode = 32;
263
- optional int32 desired_revision = 33 [default = 0, (.description) = "enum"];
264
- repeated .CPublishedFile_GetUserFiles_Request_TagGroup taggroups = 34;
265
- optional bool return_reactions = 35 [default = false];
266
- optional bool return_apps = 36;
267
- repeated int32 excluded_content_descriptors = 37 [(.description) = "enum"];
268
- }
269
-
270
- message CPublishedFile_GetUserFiles_Request_KVTag {
271
- optional string key = 1;
272
- optional string value = 2;
273
- }
274
-
275
- message CPublishedFile_GetUserFiles_Request_TagGroup {
276
- repeated string tags = 1;
277
- }
278
-
279
- message CPublishedFile_GetUserFiles_Response {
280
- optional uint32 total = 1;
281
- optional uint32 startindex = 2;
282
- repeated .PublishedFileDetails publishedfiledetails = 3;
283
- repeated .CPublishedFile_GetUserFiles_Response_App apps = 4;
284
- }
285
-
286
- message CPublishedFile_GetUserFiles_Response_App {
287
- optional uint32 appid = 1;
288
- optional string name = 2;
289
- optional uint32 shortcutid = 3;
290
- optional bool private = 4;
291
- }
292
-
293
- message CPublishedFile_GetUserVoteSummary_Request {
294
- repeated fixed64 publishedfileids = 1;
295
- }
296
-
297
- message CPublishedFile_GetUserVoteSummary_Response {
298
- repeated .CPublishedFile_GetUserVoteSummary_Response_VoteSummary summaries = 1;
299
- }
300
-
301
- message CPublishedFile_GetUserVoteSummary_Response_VoteSummary {
302
- optional fixed64 publishedfileid = 1;
303
- optional bool vote_for = 2;
304
- optional bool vote_against = 3;
305
- optional bool reported = 4;
306
- }
307
-
308
- message CPublishedFile_Publish_Request {
309
- optional uint32 appid = 1;
310
- optional uint32 consumer_appid = 2;
311
- optional string cloudfilename = 3;
312
- optional string preview_cloudfilename = 4;
313
- optional string title = 5;
314
- optional string file_description = 6;
315
- optional uint32 file_type = 7;
316
- optional string consumer_shortcut_name = 8;
317
- optional string youtube_username = 9;
318
- optional string youtube_videoid = 10;
319
- optional uint32 visibility = 11;
320
- optional string redirect_uri = 12;
321
- repeated string tags = 13;
322
- optional string collection_type = 14;
323
- optional string game_type = 15;
324
- optional string url = 16;
325
- }
326
-
327
- message CPublishedFile_Publish_Response {
328
- optional uint64 publishedfileid = 1;
329
- optional string redirect_uri = 2;
330
- }
331
-
332
- message CPublishedFile_QueryFiles_Request {
333
- optional uint32 query_type = 1;
334
- optional uint32 page = 2;
335
- optional uint32 numperpage = 3 [default = 1];
336
- optional uint32 creator_appid = 4;
337
- optional uint32 appid = 5;
338
- repeated string requiredtags = 6;
339
- repeated string excludedtags = 7;
340
- optional bool match_all_tags = 8 [default = true];
341
- repeated string required_flags = 9;
342
- repeated string omitted_flags = 10;
343
- optional string search_text = 11;
344
- optional uint32 filetype = 12;
345
- optional fixed64 child_publishedfileid = 13;
346
- optional uint32 days = 14;
347
- optional bool include_recent_votes_only = 15;
348
- optional bool totalonly = 16;
349
- optional bool return_vote_data = 17;
350
- optional bool return_tags = 18;
351
- optional bool return_kv_tags = 19;
352
- optional bool return_previews = 20;
353
- optional bool return_children = 21;
354
- optional bool return_short_description = 22;
355
- optional bool return_for_sale_data = 30;
356
- optional uint32 cache_max_age_seconds = 31 [default = 0];
357
- optional bool return_metadata = 32 [default = false];
358
- optional int32 language = 33 [default = 0];
359
- repeated .CPublishedFile_QueryFiles_Request_KVTag required_kv_tags = 34;
360
- optional bool ids_only = 35;
361
- optional uint32 return_playtime_stats = 36;
362
- optional bool return_details = 37;
363
- optional bool strip_description_bbcode = 38;
364
- optional string cursor = 39;
365
- optional int32 desired_revision = 40 [default = 0, (.description) = "enum"];
366
- repeated .CPublishedFile_QueryFiles_Request_TagGroup taggroups = 42;
367
- optional bool return_reactions = 43 [default = false];
368
- optional .CPublishedFile_QueryFiles_Request_DateRange date_range_created = 44;
369
- optional .CPublishedFile_QueryFiles_Request_DateRange date_range_updated = 45;
370
- repeated int32 excluded_content_descriptors = 46 [(.description) = "enum"];
371
- }
372
-
373
- message CPublishedFile_QueryFiles_Request_DateRange {
374
- optional uint32 timestamp_start = 1;
375
- optional uint32 timestamp_end = 2;
376
- }
377
-
378
- message CPublishedFile_QueryFiles_Request_KVTag {
379
- optional string key = 1;
380
- optional string value = 2;
381
- }
382
-
383
- message CPublishedFile_QueryFiles_Request_TagGroup {
384
- repeated string tags = 1;
385
- }
386
-
387
- message CPublishedFile_QueryFiles_Response {
388
- optional uint32 total = 1;
389
- repeated .PublishedFileDetails publishedfiledetails = 2;
390
- optional string next_cursor = 3;
391
- }
392
-
393
- message CPublishedFile_RefreshVotingQueue_Request {
394
- optional uint32 appid = 1;
395
- optional uint32 matching_file_type = 2;
396
- repeated string tags = 3;
397
- optional bool match_all_tags = 4 [default = true];
398
- repeated string excluded_tags = 5;
399
- optional uint32 desired_queue_size = 6;
400
- optional int32 desired_revision = 8 [default = 0, (.description) = "enum"];
401
- }
402
-
403
- message CPublishedFile_RefreshVotingQueue_Response {
404
- }
405
-
406
- message CPublishedFile_RemoveAppRelationship_Request {
407
- optional uint64 publishedfileid = 1;
408
- optional uint32 appid = 2;
409
- optional uint32 relationship = 3;
410
- }
411
-
412
- message CPublishedFile_RemoveAppRelationship_Response {
413
- }
414
-
415
- message CPublishedFile_RemoveChild_Request {
416
- optional uint64 publishedfileid = 1;
417
- optional uint64 child_publishedfileid = 2;
418
- }
419
-
420
- message CPublishedFile_RemoveChild_Response {
421
- }
422
-
423
- message CPublishedFile_SetPlaytimeForControllerConfigs_Request {
424
- optional uint32 appid = 1;
425
- repeated .CPublishedFile_SetPlaytimeForControllerConfigs_Request_ControllerConfigUsage controller_config_usage = 2;
426
- }
427
-
428
- message CPublishedFile_SetPlaytimeForControllerConfigs_Request_ControllerConfigUsage {
429
- optional uint64 publishedfileid = 1;
430
- optional float seconds_active = 2;
431
- }
432
-
433
- message CPublishedFile_SetPlaytimeForControllerConfigs_Response {
434
- }
435
-
436
- message CPublishedFile_StartPlaytimeTracking_Request {
437
- optional uint32 appid = 1;
438
- repeated uint64 publishedfileids = 2;
439
- }
440
-
441
- message CPublishedFile_StartPlaytimeTracking_Response {
442
- }
443
-
444
- message CPublishedFile_StopPlaytimeTracking_Request {
445
- optional uint32 appid = 1;
446
- repeated uint64 publishedfileids = 2;
447
- }
448
-
449
- message CPublishedFile_StopPlaytimeTracking_Response {
450
- }
451
-
452
- message CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request {
453
- optional uint32 appid = 1;
454
- }
455
-
456
- message CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response {
457
- }
458
-
459
- message CPublishedFile_Subscribe_Request {
460
- optional uint64 publishedfileid = 1;
461
- optional uint32 list_type = 2;
462
- optional int32 appid = 3;
463
- optional bool notify_client = 4;
464
- }
465
-
466
- message CPublishedFile_Subscribe_Response {
467
- }
468
-
469
- message CPublishedFile_Unsubscribe_Request {
470
- optional uint64 publishedfileid = 1;
471
- optional uint32 list_type = 2;
472
- optional int32 appid = 3;
473
- optional bool notify_client = 4;
474
- }
475
-
476
- message CPublishedFile_Unsubscribe_Response {
477
- }
478
-
479
- message CPublishedFile_Update_Request {
480
- optional uint32 appid = 1;
481
- optional fixed64 publishedfileid = 2;
482
- optional string title = 3;
483
- optional string file_description = 4;
484
- optional uint32 visibility = 5;
485
- repeated string tags = 6;
486
- optional string filename = 7;
487
- optional string preview_filename = 8;
488
- optional bool spoiler_tag = 10;
489
- optional uint32 image_width = 15;
490
- optional uint32 image_height = 16;
491
- }
492
-
493
- message CPublishedFile_Update_Response {
494
- }
495
-
496
- message CPublishedFile_UpdateContentDescriptors_Request {
497
- optional fixed64 publishedfileid = 1;
498
- repeated int32 descriptors_to_add = 2 [(.description) = "enum"];
499
- repeated int32 descriptors_to_remove = 3 [(.description) = "enum"];
500
- }
501
-
502
- message CPublishedFile_UpdateContentDescriptors_Response {
503
- optional uint32 timestamp_updated = 1;
504
- }
505
-
506
- message CPublishedFile_Vote_Request {
507
- optional uint64 publishedfileid = 1;
508
- optional bool vote_up = 2;
509
- }
510
-
511
- message CPublishedFile_Vote_Response {
512
- }
513
-
514
- message PublishedFileDetails {
515
- optional uint32 result = 1;
516
- optional uint64 publishedfileid = 2;
517
- optional fixed64 creator = 3;
518
- optional uint32 creator_appid = 4;
519
- optional uint32 consumer_appid = 5;
520
- optional uint32 consumer_shortcutid = 6;
521
- optional string filename = 7;
522
- optional uint64 file_size = 8;
523
- optional uint64 preview_file_size = 9;
524
- optional string file_url = 10;
525
- optional string preview_url = 11;
526
- optional string youtubevideoid = 12;
527
- optional string url = 13;
528
- optional fixed64 hcontent_file = 14;
529
- optional fixed64 hcontent_preview = 15;
530
- optional string title = 16;
531
- optional string file_description = 17;
532
- optional string short_description = 18;
533
- optional uint32 time_created = 19;
534
- optional uint32 time_updated = 20;
535
- optional uint32 visibility = 21;
536
- optional uint32 flags = 22;
537
- optional bool workshop_file = 23;
538
- optional bool workshop_accepted = 24;
539
- optional bool show_subscribe_all = 25;
540
- optional int32 num_comments_developer = 26;
541
- optional int32 num_comments_public = 27;
542
- optional bool banned = 28;
543
- optional string ban_reason = 29;
544
- optional fixed64 banner = 30;
545
- optional bool can_be_deleted = 31;
546
- optional bool incompatible = 32;
547
- optional string app_name = 33;
548
- optional uint32 file_type = 34;
549
- optional bool can_subscribe = 35;
550
- optional uint32 subscriptions = 36;
551
- optional uint32 favorited = 37;
552
- optional uint32 followers = 38;
553
- optional uint32 lifetime_subscriptions = 39;
554
- optional uint32 lifetime_favorited = 40;
555
- optional uint32 lifetime_followers = 41;
556
- optional uint32 views = 42;
557
- optional uint32 image_width = 43;
558
- optional uint32 image_height = 44;
559
- optional string image_url = 45;
560
- optional bool spoiler_tag = 46;
561
- optional uint32 shortcutid = 47;
562
- optional string shortcutname = 48;
563
- optional uint32 num_children = 49;
564
- optional uint32 num_reports = 50;
565
- repeated .PublishedFileDetails_Preview previews = 51;
566
- repeated .PublishedFileDetails_Tag tags = 52;
567
- repeated .PublishedFileDetails_Child children = 53;
568
- repeated .PublishedFileDetails_KVTag kvtags = 54;
569
- optional .PublishedFileDetails_VoteData vote_data = 55;
570
- optional uint32 time_subscribed = 56;
571
- optional .PublishedFileDetails_ForSaleData for_sale_data = 57;
572
- optional string metadata = 58;
573
- optional int32 language = 61 [default = 0];
574
- optional uint64 lifetime_playtime = 62;
575
- optional uint64 lifetime_playtime_sessions = 63;
576
- optional .PublishedFileDetails_PlaytimeStats playtime_stats = 64;
577
- optional bool maybe_inappropriate_sex = 65;
578
- optional bool maybe_inappropriate_violence = 66;
579
- optional uint64 revision_change_number = 67;
580
- optional int32 revision = 68 [(.description) = "enum"];
581
- repeated int32 available_revisions = 69 [(.description) = "enum"];
582
- repeated .PublishedFileDetails_Reaction reactions = 70;
583
- optional int32 ban_text_check_result = 71 [(.description) = "enum"];
584
- repeated int32 content_descriptorids = 72 [(.description) = "enum"];
585
- optional float search_score = 73;
586
- }
587
-
588
- message PublishedFileDetails_Child {
589
- optional uint64 publishedfileid = 1;
590
- optional uint32 sortorder = 2;
591
- optional uint32 file_type = 3;
592
- }
593
-
594
- message PublishedFileDetails_ForSaleData {
595
- optional bool is_for_sale = 1;
596
- optional uint32 price_category = 2;
597
- optional int32 estatus = 3 [(.description) = "enum"];
598
- optional uint32 price_category_floor = 4;
599
- optional bool price_is_pay_what_you_want = 5;
600
- optional uint32 discount_percentage = 6;
601
- }
602
-
603
- message PublishedFileDetails_KVTag {
604
- optional string key = 1;
605
- optional string value = 2;
606
- }
607
-
608
- message PublishedFileDetails_PlaytimeStats {
609
- optional uint64 playtime_seconds = 1;
610
- optional uint64 num_sessions = 2;
611
- }
612
-
613
- message PublishedFileDetails_Preview {
614
- optional uint64 previewid = 1;
615
- optional uint32 sortorder = 2;
616
- optional string url = 3;
617
- optional uint32 size = 4;
618
- optional string filename = 5;
619
- optional string youtubevideoid = 6;
620
- optional uint32 preview_type = 7;
621
- optional string external_reference = 8;
622
- }
623
-
624
- message PublishedFileDetails_Reaction {
625
- optional uint32 reactionid = 1;
626
- optional uint32 count = 2;
627
- }
628
-
629
- message PublishedFileDetails_Tag {
630
- optional string tag = 1;
631
- optional bool adminonly = 2;
632
- optional string display_name = 3;
633
- }
634
-
635
- message PublishedFileDetails_VoteData {
636
- optional float score = 1;
637
- optional uint32 votes_up = 2;
638
- optional uint32 votes_down = 3;
639
- }
640
-
641
- message PublishedFileSubSection {
642
- optional uint64 sectionid = 1;
643
- optional string title = 2;
644
- optional string description_text = 3;
645
- optional uint32 sort_order = 4;
646
- }
647
-
648
- service PublishedFile {
649
- rpc AddAppRelationship (.CPublishedFile_AddAppRelationship_Request) returns (.CPublishedFile_AddAppRelationship_Response);
650
- rpc AddChild (.CPublishedFile_AddChild_Request) returns (.CPublishedFile_AddChild_Response);
651
- rpc AreFilesInSubscriptionList (.CPublishedFile_AreFilesInSubscriptionList_Request) returns (.CPublishedFile_AreFilesInSubscriptionList_Response);
652
- rpc CanSubscribe (.CPublishedFile_CanSubscribe_Request) returns (.CPublishedFile_CanSubscribe_Response);
653
- rpc Delete (.CPublishedFile_Delete_Request) returns (.CPublishedFile_Delete_Response);
654
- rpc GetAppRelationships (.CPublishedFile_GetAppRelationships_Request) returns (.CPublishedFile_GetAppRelationships_Response);
655
- rpc GetAppRelationshipsBatched (.CPublishedFile_GetAppRelationshipsBatched_Request) returns (.CPublishedFile_GetAppRelationshipsBatched_Response);
656
- rpc GetChangeHistory (.CPublishedFile_GetChangeHistory_Request) returns (.CPublishedFile_GetChangeHistory_Response);
657
- rpc GetChangeHistoryEntry (.CPublishedFile_GetChangeHistoryEntry_Request) returns (.CPublishedFile_GetChangeHistoryEntry_Response);
658
- rpc GetContentDescriptors (.CPublishedFile_GetContentDescriptors_Request) returns (.CPublishedFile_GetContentDescriptors_Response);
659
- rpc GetDetails (.CPublishedFile_GetDetails_Request) returns (.CPublishedFile_GetDetails_Response);
660
- rpc GetItemChanges (.CPublishedFile_GetItemChanges_Request) returns (.CPublishedFile_GetItemChanges_Response);
661
- rpc GetItemInfo (.CPublishedFile_GetItemInfo_Request) returns (.CPublishedFile_GetItemInfo_Response);
662
- rpc GetSubSectionData (.CPublishedFile_GetSubSectionData_Request) returns (.CPublishedFile_GetSubSectionData_Response);
663
- rpc GetUserFileCount (.CPublishedFile_GetUserFiles_Request) returns (.CPublishedFile_GetUserFiles_Response);
664
- rpc GetUserFiles (.CPublishedFile_GetUserFiles_Request) returns (.CPublishedFile_GetUserFiles_Response);
665
- rpc GetUserVoteSummary (.CPublishedFile_GetUserVoteSummary_Request) returns (.CPublishedFile_GetUserVoteSummary_Response);
666
- rpc Publish (.CPublishedFile_Publish_Request) returns (.CPublishedFile_Publish_Response);
667
- rpc QueryFiles (.CPublishedFile_QueryFiles_Request) returns (.CPublishedFile_QueryFiles_Response);
668
- rpc RefreshVotingQueue (.CPublishedFile_RefreshVotingQueue_Request) returns (.CPublishedFile_RefreshVotingQueue_Response);
669
- rpc RemoveAppRelationship (.CPublishedFile_RemoveAppRelationship_Request) returns (.CPublishedFile_RemoveAppRelationship_Response);
670
- rpc RemoveChild (.CPublishedFile_RemoveChild_Request) returns (.CPublishedFile_RemoveChild_Response);
671
- rpc SetPlaytimeForControllerConfigs (.CPublishedFile_SetPlaytimeForControllerConfigs_Request) returns (.CPublishedFile_SetPlaytimeForControllerConfigs_Response);
672
- rpc StartPlaytimeTracking (.CPublishedFile_StartPlaytimeTracking_Request) returns (.CPublishedFile_StartPlaytimeTracking_Response);
673
- rpc StopPlaytimeTracking (.CPublishedFile_StopPlaytimeTracking_Request) returns (.CPublishedFile_StopPlaytimeTracking_Response);
674
- rpc StopPlaytimeTrackingForAllAppItems (.CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request) returns (.CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response);
675
- rpc Subscribe (.CPublishedFile_Subscribe_Request) returns (.CPublishedFile_Subscribe_Response);
676
- rpc Unsubscribe (.CPublishedFile_Unsubscribe_Request) returns (.CPublishedFile_Unsubscribe_Response);
677
- rpc Update (.CPublishedFile_Update_Request) returns (.CPublishedFile_Update_Response);
678
- rpc UpdateContentDescriptors (.CPublishedFile_UpdateContentDescriptors_Request) returns (.CPublishedFile_UpdateContentDescriptors_Response);
679
- rpc Vote (.CPublishedFile_Vote_Request) returns (.CPublishedFile_Vote_Response);
680
- }
681
-
682
- service PublishedFileClient {
683
- rpc NotifyFileDeleted (.CPublishedFile_FileDeleted_Client_Notification) returns (.NoResponse);
684
- rpc NotifyFileSubscribed (.CPublishedFile_FileSubscribed_Notification) returns (.NoResponse);
685
- rpc NotifyFileUnsubscribed (.CPublishedFile_FileUnsubscribed_Notification) returns (.NoResponse);
686
- }
687
-