steamutils 1.4.2 → 1.4.3

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