steamutils 1.5.4 → 1.5.6

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