steamutils 1.4.31 → 1.4.32

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/.idea/git_toolbox_blame.xml +6 -0
  3. package/.idea/git_toolbox_prj.xml +15 -0
  4. package/.prettierrc.json +3 -3
  5. package/SteamClient.js +2665 -2658
  6. package/axios.js +84 -84
  7. package/bufferHelpers.js +115 -115
  8. package/cheerio.js +103 -103
  9. package/const.js +451 -451
  10. package/create_remote_file.js +66 -66
  11. package/package.json +1 -1
  12. package/protos/csgo/base_gcmessages.proto +553 -553
  13. package/protos/csgo/base_gcmessages_csgo.proto +547 -547
  14. package/protos/csgo/c_peer2peer_netmessages.proto +55 -55
  15. package/protos/csgo/clientmessages.proto +48 -48
  16. package/protos/csgo/connectionless_netmessages.proto +17 -17
  17. package/protos/csgo/cs_gameevents.proto +35 -35
  18. package/protos/csgo/cs_usercmd.proto +34 -34
  19. package/protos/csgo/cstrike15_gcmessages.proto +1431 -1431
  20. package/protos/csgo/cstrike15_usermessages.proto +592 -592
  21. package/protos/csgo/demo.proto +165 -165
  22. package/protos/csgo/econ_gcmessages.proto +219 -219
  23. package/protos/csgo/engine_gcmessages.proto +14 -14
  24. package/protos/csgo/enums_clientserver.proto +1529 -1529
  25. package/protos/csgo/fatdemo.proto +125 -125
  26. package/protos/csgo/gameevents.proto +120 -120
  27. package/protos/csgo/gcsdk_gcmessages.proto +323 -323
  28. package/protos/csgo/gcsystemmsgs.proto +243 -243
  29. package/protos/csgo/netmessages.proto +618 -618
  30. package/protos/csgo/network_connection.proto +126 -126
  31. package/protos/csgo/networkbasetypes.proto +246 -246
  32. package/protos/csgo/networksystem_protomessages.proto +17 -17
  33. package/protos/csgo/steamdatagram_messages_auth.proto +65 -65
  34. package/protos/csgo/steamdatagram_messages_sdr.proto +534 -534
  35. package/protos/csgo/steammessages.proto +620 -620
  36. package/protos/csgo/steammessages_base.proto +301 -301
  37. package/protos/csgo/steammessages_cloud.steamworkssdk.proto +68 -68
  38. package/protos/csgo/steammessages_gamenetworkingui.proto +61 -61
  39. package/protos/csgo/steammessages_helprequest.steamworkssdk.proto +22 -22
  40. package/protos/csgo/steammessages_oauth.steamworkssdk.proto +18 -18
  41. package/protos/csgo/steammessages_player.steamworkssdk.proto +254 -254
  42. package/protos/csgo/steammessages_publishedfile.steamworkssdk.proto +233 -233
  43. package/protos/csgo/steammessages_unified_base.steamworkssdk.proto +30 -30
  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/csgo/valveextensions.proto +17 -17
  52. package/protos/google/protobuf/descriptor.proto +281 -281
  53. package/protos/steam/clientmetrics.proto +45 -45
  54. package/protos/steam/content_manifest.proto +62 -62
  55. package/protos/steam/contenthubs.proto +41 -41
  56. package/protos/steam/encrypted_app_ticket.proto +10 -10
  57. package/protos/steam/enums.proto +501 -501
  58. package/protos/steam/enums_clientserver.proto +1508 -1508
  59. package/protos/steam/enums_productinfo.proto +14 -14
  60. package/protos/steam/htmlmessages.proto +1039 -1039
  61. package/protos/steam/offline_ticket.proto +8 -8
  62. package/protos/steam/steamdatagram_messages_auth.proto +65 -65
  63. package/protos/steam/steamdatagram_messages_sdr.proto +533 -533
  64. package/protos/steam/steammessages_accounthardware.steamclient.proto +167 -167
  65. package/protos/steam/steammessages_appoverview.proto +204 -204
  66. package/protos/steam/steammessages_auth.steamclient.proto +375 -375
  67. package/protos/steam/steammessages_base.proto +335 -335
  68. package/protos/steam/steammessages_broadcast.steamclient.proto +618 -618
  69. package/protos/steam/steammessages_chat.steamclient.proto +1070 -1070
  70. package/protos/steam/steammessages_client_objects.proto +649 -649
  71. package/protos/steam/steammessages_clientlanp2p.proto +43 -43
  72. package/protos/steam/steammessages_clientmetrics.steamclient.proto +192 -192
  73. package/protos/steam/steammessages_clientnotificationtypes.proto +250 -250
  74. package/protos/steam/steammessages_clientserver.proto +392 -392
  75. package/protos/steam/steammessages_clientserver_2.proto +771 -771
  76. package/protos/steam/steammessages_clientserver_appinfo.proto +131 -131
  77. package/protos/steam/steammessages_clientserver_friends.proto +260 -260
  78. package/protos/steam/steammessages_clientserver_gameservers.proto +159 -159
  79. package/protos/steam/steammessages_clientserver_lbs.proto +70 -70
  80. package/protos/steam/steammessages_clientserver_login.proto +167 -167
  81. package/protos/steam/steammessages_clientserver_mms.proto +233 -233
  82. package/protos/steam/steammessages_clientserver_ucm.proto +207 -207
  83. package/protos/steam/steammessages_clientserver_uds.proto +125 -125
  84. package/protos/steam/steammessages_clientserver_ufs.proto +45 -45
  85. package/protos/steam/steammessages_clientserver_userstats.proto +80 -80
  86. package/protos/steam/steammessages_clientsettings.proto +208 -208
  87. package/protos/steam/steammessages_cloud.steamclient.proto +422 -422
  88. package/protos/steam/steammessages_contentsystem.steamclient.proto +123 -123
  89. package/protos/steam/steammessages_credentials.steamclient.proto +96 -96
  90. package/protos/steam/steammessages_datapublisher.steamclient.proto +102 -102
  91. package/protos/steam/steammessages_depotbuilder.steamclient.proto +99 -99
  92. package/protos/steam/steammessages_deviceauth.steamclient.proto +169 -169
  93. package/protos/steam/steammessages_econ.steamclient.proto +137 -137
  94. package/protos/steam/steammessages_familygroups.steamclient.proto +441 -441
  95. package/protos/steam/steammessages_friendmessages.steamclient.proto +141 -141
  96. package/protos/steam/steammessages_gamenetworking.steamclient.proto +25 -25
  97. package/protos/steam/steammessages_gamenetworkingui.proto +61 -61
  98. package/protos/steam/steammessages_gamenotifications.steamclient.proto +131 -131
  99. package/protos/steam/steammessages_gameservers.steamclient.proto +136 -136
  100. package/protos/steam/steammessages_hiddevices.proto +157 -157
  101. package/protos/steam/steammessages_inventory.steamclient.proto +172 -172
  102. package/protos/steam/steammessages_linkfilter.steamclient.proto +39 -39
  103. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +29 -29
  104. package/protos/steam/steammessages_market.steamclient.proto +22 -22
  105. package/protos/steam/steammessages_marketingmessages.steamclient.proto +273 -273
  106. package/protos/steam/steammessages_offline.steamclient.proto +33 -33
  107. package/protos/steam/steammessages_parental.steamclient.proto +262 -262
  108. package/protos/steam/steammessages_parties.steamclient.proto +75 -75
  109. package/protos/steam/steammessages_partnerapps.steamclient.proto +106 -106
  110. package/protos/steam/steammessages_player.steamclient.proto +915 -915
  111. package/protos/steam/steammessages_publishedfile.steamclient.proto +737 -737
  112. package/protos/steam/steammessages_qms.steamclient.proto +111 -111
  113. package/protos/steam/steammessages_remoteclient.proto +100 -100
  114. package/protos/steam/steammessages_remoteclient_discovery.proto +244 -244
  115. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +31 -31
  116. package/protos/steam/steammessages_remoteclient_service_messages.proto +217 -217
  117. package/protos/steam/steammessages_remoteplay.proto +975 -975
  118. package/protos/steam/steammessages_secrets.steamclient.proto +35 -35
  119. package/protos/steam/steammessages_shader.steamclient.proto +89 -89
  120. package/protos/steam/steammessages_site_license.steamclient.proto +103 -103
  121. package/protos/steam/steammessages_sitelicenseclient.proto +38 -38
  122. package/protos/steam/steammessages_siteserverui.proto +130 -130
  123. package/protos/steam/steammessages_steamtv.steamclient.proto +533 -533
  124. package/protos/steam/steammessages_store.steamclient.proto +404 -404
  125. package/protos/steam/steammessages_storebrowse.steamclient.proto +457 -457
  126. package/protos/steam/steammessages_timedtrial.steamclient.proto +40 -40
  127. package/protos/steam/steammessages_twofactor.steamclient.proto +157 -157
  128. package/protos/steam/steammessages_unified_base.steamclient.proto +45 -45
  129. package/protos/steam/steammessages_unified_test.steamclient.proto +51 -51
  130. package/protos/steam/steammessages_useraccount.steamclient.proto +211 -211
  131. package/protos/steam/steammessages_vac.steamclient.proto +37 -37
  132. package/protos/steam/steammessages_video.steamclient.proto +68 -68
  133. package/protos/steam/steammessages_virtualcontroller.proto +138 -138
  134. package/protos/steam/steammessages_workshop.steamclient.proto +19 -19
  135. package/protos/steam/steamnetworkingsockets_messages.proto +205 -205
  136. package/protos/steam/steamnetworkingsockets_messages_certs.proto +39 -39
  137. package/protos/steam/steamnetworkingsockets_messages_udp.proto +75 -75
  138. package/protos/steam/webuimessages_achievements.proto +29 -29
  139. package/protos/steam/webuimessages_base.proto +24 -24
  140. package/protos/steam/webuimessages_gamenotes.proto +21 -21
  141. package/protos/steam/webuimessages_gamescope.proto +57 -57
  142. package/protos/steam/webuimessages_steamengine.proto +41 -41
  143. package/protos/steam/webuimessages_steamos.proto +114 -114
  144. package/protos/steam/webuimessages_storagedevicemanager.proto +110 -110
  145. package/protos/steam/webuimessages_systemmanager.proto +17 -17
  146. package/protos/steam/webuimessages_transport.proto +22 -22
  147. package/protos/steam/webuimessages_transportvalidation.proto +111 -111
  148. package/protos/webui/common.proto +4024 -4024
  149. package/protos/webui/common_base.proto +27 -27
  150. package/protos/webui/service_accountcart.proto +153 -153
  151. package/protos/webui/service_accountlinking.proto +27 -27
  152. package/protos/webui/service_accountprivacy.proto +42 -42
  153. package/protos/webui/service_accountprivateapps.proto +34 -34
  154. package/protos/webui/service_auction.proto +97 -97
  155. package/protos/webui/service_authentication.proto +222 -222
  156. package/protos/webui/service_authenticationsupport.proto +74 -74
  157. package/protos/webui/service_broadcast.proto +562 -562
  158. package/protos/webui/service_chat.proto +11 -11
  159. package/protos/webui/service_chatroom.proto +810 -810
  160. package/protos/webui/service_chatusability.proto +107 -107
  161. package/protos/webui/service_checkout.proto +84 -84
  162. package/protos/webui/service_clan.proto +41 -41
  163. package/protos/webui/service_clanchatrooms.proto +25 -25
  164. package/protos/webui/service_clanfaqs.proto +202 -202
  165. package/protos/webui/service_clientcomm.proto +151 -151
  166. package/protos/webui/service_clientmetrics.proto +22 -22
  167. package/protos/webui/service_cloud.proto +222 -222
  168. package/protos/webui/service_cloudconfigstore.proto +51 -51
  169. package/protos/webui/service_cloudgaming.proto +30 -30
  170. package/protos/webui/service_community.proto +365 -365
  171. package/protos/webui/service_dailydeal.proto +89 -89
  172. package/protos/webui/service_econ.proto +134 -134
  173. package/protos/webui/service_embedded.proto +24 -24
  174. package/protos/webui/service_experimentservice.proto +6 -6
  175. package/protos/webui/service_familygroups.proto +355 -355
  176. package/protos/webui/service_fovasvideo.proto +15 -15
  177. package/protos/webui/service_friendmessages.proto +133 -133
  178. package/protos/webui/service_friendslist.proto +70 -70
  179. package/protos/webui/service_gamenotes.proto +15 -15
  180. package/protos/webui/service_gamerecording.proto +265 -265
  181. package/protos/webui/service_gamerecordingclip.proto +85 -85
  182. package/protos/webui/service_gamerecordingdebug.proto +52 -52
  183. package/protos/webui/service_helprequestlogs.proto +16 -16
  184. package/protos/webui/service_loyaltyrewards.proto +252 -252
  185. package/protos/webui/service_marketingmessages.proto +215 -215
  186. package/protos/webui/service_mobileapp.proto +18 -18
  187. package/protos/webui/service_mobileauth.proto +24 -24
  188. package/protos/webui/service_mobiledevice.proto +26 -26
  189. package/protos/webui/service_mobileperaccount.proto +31 -31
  190. package/protos/webui/service_news.proto +110 -110
  191. package/protos/webui/service_parental.proto +258 -258
  192. package/protos/webui/service_partnermembershipinvite.proto +34 -34
  193. package/protos/webui/service_partnerstorebrowse.proto +28 -28
  194. package/protos/webui/service_phone.proto +51 -51
  195. package/protos/webui/service_physicalgoods.proto +15 -15
  196. package/protos/webui/service_player.proto +918 -918
  197. package/protos/webui/service_promotioneventinvites.proto +109 -109
  198. package/protos/webui/service_promotionplanning.proto +186 -186
  199. package/protos/webui/service_promotionstats.proto +23 -23
  200. package/protos/webui/service_publishedfile.proto +714 -714
  201. package/protos/webui/service_publishing.proto +200 -200
  202. package/protos/webui/service_quest.proto +127 -127
  203. package/protos/webui/service_salefeature.proto +373 -373
  204. package/protos/webui/service_saleitemrewards.proto +54 -54
  205. package/protos/webui/service_shoppingcart.proto +152 -152
  206. package/protos/webui/service_steamawards.proto +76 -76
  207. package/protos/webui/service_steamcharts.proto +75 -75
  208. package/protos/webui/service_steamengine.proto +36 -36
  209. package/protos/webui/service_steamlearn.proto +876 -876
  210. package/protos/webui/service_steamnotification.proto +73 -73
  211. package/protos/webui/service_steamtv.proto +495 -495
  212. package/protos/webui/service_steamvrvoicechat.proto +67 -67
  213. package/protos/webui/service_steamvrwebrtc.proto +48 -48
  214. package/protos/webui/service_storagedevicemanager.proto +104 -104
  215. package/protos/webui/service_store.proto +359 -359
  216. package/protos/webui/service_storeappsimilarity.proto +76 -76
  217. package/protos/webui/service_storebrowse.proto +103 -103
  218. package/protos/webui/service_storemarketing.proto +44 -44
  219. package/protos/webui/service_storequery.proto +103 -103
  220. package/protos/webui/service_storesales.proto +87 -87
  221. package/protos/webui/service_storetopsellers.proto +44 -44
  222. package/protos/webui/service_systemmanager.proto +11 -11
  223. package/protos/webui/service_test_transporterror.proto +6 -6
  224. package/protos/webui/service_transportauth.proto +17 -17
  225. package/protos/webui/service_transportvalidation.proto +69 -69
  226. package/protos/webui/service_twofactor.proto +170 -170
  227. package/protos/webui/service_useraccount.proto +142 -142
  228. package/protos/webui/service_usergameactivity.proto +34 -34
  229. package/protos/webui/service_usergamenotes.proto +70 -70
  230. package/protos/webui/service_usernews.proto +68 -68
  231. package/protos/webui/service_userreviews.proto +97 -97
  232. package/protos/webui/service_video.proto +50 -50
  233. package/protos/webui/service_videoclip.proto +62 -62
  234. package/protos/webui/service_voicechat.proto +139 -139
  235. package/protos/webui/service_webrtc.proto +52 -52
  236. package/remote.js +6784 -6784
  237. package/utils.js +249 -238
  238. package/.idea/deployment.xml +0 -14
@@ -1,771 +1,771 @@
1
- import "steammessages_base.proto";
2
-
3
- option optimize_for = SPEED;
4
- option cc_generic_services = false;
5
-
6
- message CMsgClientUpdateUserGameInfo {
7
- optional fixed64 steamid_idgs = 1;
8
- optional fixed64 gameid = 2;
9
- optional uint32 game_ip = 3;
10
- optional uint32 game_port = 4;
11
- optional bytes token = 5;
12
- }
13
-
14
- message CMsgClientRichPresenceUpload {
15
- optional bytes rich_presence_kv = 1;
16
- repeated fixed64 steamid_broadcast = 2;
17
- }
18
-
19
- message CMsgClientRichPresenceRequest {
20
- repeated fixed64 steamid_request = 1;
21
- }
22
-
23
- message CMsgClientRichPresenceInfo {
24
- message RichPresence {
25
- optional fixed64 steamid_user = 1;
26
- optional bytes rich_presence_kv = 2;
27
- }
28
-
29
- repeated .CMsgClientRichPresenceInfo.RichPresence rich_presence = 1;
30
- }
31
-
32
- message CMsgClientCheckFileSignature {
33
- optional uint32 app_id = 1;
34
- }
35
-
36
- message CMsgClientCheckFileSignatureResponse {
37
- optional uint32 app_id = 1;
38
- optional uint32 pid = 2;
39
- optional uint32 eresult = 3;
40
- optional string filename = 4;
41
- optional uint32 esignatureresult = 5;
42
- optional bytes sha_file = 6;
43
- optional bytes signatureheader = 7;
44
- optional uint32 filesize = 8;
45
- optional uint32 getlasterror = 9;
46
- optional uint32 evalvesignaturecheckdetail = 10;
47
- }
48
-
49
- message CMsgClientReadMachineAuth {
50
- optional string filename = 1;
51
- optional uint32 offset = 2;
52
- optional uint32 cubtoread = 3;
53
- }
54
-
55
- message CMsgClientReadMachineAuthResponse {
56
- optional string filename = 1;
57
- optional uint32 eresult = 2;
58
- optional uint32 filesize = 3;
59
- optional bytes sha_file = 4;
60
- optional uint32 getlasterror = 5;
61
- optional uint32 offset = 6;
62
- optional uint32 cubread = 7;
63
- optional bytes bytes_read = 8;
64
- optional string filename_sentry = 9;
65
- }
66
-
67
- message CMsgClientUpdateMachineAuth {
68
- optional string filename = 1;
69
- optional uint32 offset = 2;
70
- optional uint32 cubtowrite = 3;
71
- optional bytes bytes = 4;
72
- optional uint32 otp_type = 5;
73
- optional string otp_identifier = 6;
74
- optional bytes otp_sharedsecret = 7;
75
- optional uint32 otp_timedrift = 8;
76
- }
77
-
78
- message CMsgClientUpdateMachineAuthResponse {
79
- optional string filename = 1;
80
- optional uint32 eresult = 2;
81
- optional uint32 filesize = 3;
82
- optional bytes sha_file = 4;
83
- optional uint32 getlasterror = 5;
84
- optional uint32 offset = 6;
85
- optional uint32 cubwrote = 7;
86
- optional int32 otp_type = 8;
87
- optional uint32 otp_value = 9;
88
- optional string otp_identifier = 10;
89
- }
90
-
91
- message CMsgClientRequestMachineAuth {
92
- optional string filename = 1;
93
- optional uint32 eresult_sentryfile = 2;
94
- optional uint32 filesize = 3;
95
- optional bytes sha_sentryfile = 4;
96
- optional int32 lock_account_action = 6;
97
- optional uint32 otp_type = 7;
98
- optional string otp_identifier = 8;
99
- optional bytes otp_sharedsecret = 9;
100
- optional uint32 otp_value = 10;
101
- optional string machine_name = 11;
102
- optional string machine_name_userchosen = 12;
103
- }
104
-
105
- message CMsgClientRequestMachineAuthResponse {
106
- optional uint32 eresult = 1;
107
- }
108
-
109
- message CMsgClientRegisterKey {
110
- optional string key = 1;
111
- }
112
-
113
- message CMsgClientPurchaseResponse {
114
- optional int32 eresult = 1 [default = 2];
115
- optional int32 purchase_result_details = 2;
116
- optional bytes purchase_receipt_info = 3;
117
- }
118
-
119
- message CMsgClientActivateOEMLicense {
120
- optional string bios_manufacturer = 1;
121
- optional string bios_serialnumber = 2;
122
- optional bytes license_file = 3;
123
- optional string mainboard_manufacturer = 4;
124
- optional string mainboard_product = 5;
125
- optional string mainboard_serialnumber = 6;
126
- }
127
-
128
- message CMsgClientRegisterOEMMachine {
129
- optional bytes oem_register_file = 1;
130
- }
131
-
132
- message CMsgClientRegisterOEMMachineResponse {
133
- optional uint32 eresult = 1;
134
- }
135
-
136
- message CMsgClientPurchaseWithMachineID {
137
- optional uint32 package_id = 1;
138
- optional bytes machine_info = 2;
139
- }
140
-
141
- message CMsgTrading_InitiateTradeRequest {
142
- optional uint32 trade_request_id = 1;
143
- optional uint64 other_steamid = 2;
144
- optional string other_name = 3;
145
- }
146
-
147
- message CMsgTrading_InitiateTradeResponse {
148
- optional uint32 response = 1;
149
- optional uint32 trade_request_id = 2;
150
- optional uint64 other_steamid = 3;
151
- optional uint32 steamguard_required_days = 4;
152
- optional uint32 new_device_cooldown_days = 5;
153
- optional uint32 default_password_reset_probation_days = 6;
154
- optional uint32 password_reset_probation_days = 7;
155
- optional uint32 default_email_change_probation_days = 8;
156
- optional uint32 email_change_probation_days = 9;
157
- }
158
-
159
- message CMsgTrading_CancelTradeRequest {
160
- optional uint64 other_steamid = 1;
161
- }
162
-
163
- message CMsgTrading_StartSession {
164
- optional uint64 other_steamid = 1;
165
- }
166
-
167
- message CMsgClientGetCDNAuthToken {
168
- optional uint32 depot_id = 1;
169
- optional string host_name = 2;
170
- optional uint32 app_id = 3;
171
- }
172
-
173
- message CMsgClientGetDepotDecryptionKey {
174
- optional uint32 depot_id = 1;
175
- optional uint32 app_id = 2;
176
- }
177
-
178
- message CMsgClientGetDepotDecryptionKeyResponse {
179
- optional int32 eresult = 1 [default = 2];
180
- optional uint32 depot_id = 2;
181
- optional bytes depot_encryption_key = 3;
182
- }
183
-
184
- message CMsgClientCheckAppBetaPassword {
185
- optional uint32 app_id = 1;
186
- optional string betapassword = 2;
187
- optional int32 language = 3;
188
- }
189
-
190
- message CMsgClientCheckAppBetaPasswordResponse {
191
- message BetaPassword {
192
- optional string betaname = 1;
193
- optional string betapassword = 2;
194
- optional string betadescription = 3;
195
- }
196
-
197
- optional int32 eresult = 1 [default = 2];
198
- repeated .CMsgClientCheckAppBetaPasswordResponse.BetaPassword betapasswords = 4;
199
- }
200
-
201
- message CMsgClientGetCDNAuthTokenResponse {
202
- optional uint32 eresult = 1 [default = 2];
203
- optional string token = 2;
204
- optional uint32 expiration_time = 3;
205
- }
206
-
207
- message CMsgDownloadRateStatistics {
208
- message StatsInfo {
209
- optional uint32 source_type = 1;
210
- optional uint32 source_id = 2;
211
- optional uint32 seconds = 3;
212
- optional uint64 bytes = 4;
213
- optional string host_name = 5;
214
- optional uint64 microseconds = 6;
215
- optional bool used_ipv6 = 7;
216
- optional bool proxied = 8;
217
- }
218
-
219
- optional uint32 cell_id = 1;
220
- repeated .CMsgDownloadRateStatistics.StatsInfo stats = 2;
221
- optional uint32 throttling_kbps = 3;
222
- optional uint32 steam_realm = 4;
223
- }
224
-
225
- message CMsgClientRequestAccountData {
226
- optional string account_or_email = 1;
227
- optional uint32 action = 2;
228
- }
229
-
230
- message CMsgClientRequestAccountDataResponse {
231
- optional uint32 action = 1;
232
- optional uint32 eresult = 2;
233
- optional string account_name = 3;
234
- optional uint32 ct_matches = 4;
235
- optional string account_name_suggestion1 = 5;
236
- optional string account_name_suggestion2 = 6;
237
- optional string account_name_suggestion3 = 7;
238
- }
239
-
240
- message CMsgClientUGSGetGlobalStats {
241
- optional uint64 gameid = 1;
242
- optional uint32 history_days_requested = 2;
243
- optional fixed32 time_last_requested = 3;
244
- optional uint32 first_day_cached = 4;
245
- optional uint32 days_cached = 5;
246
- }
247
-
248
- message CMsgClientUGSGetGlobalStatsResponse {
249
- message Day {
250
- message Stat {
251
- optional int32 stat_id = 1;
252
- optional int64 data = 2;
253
- }
254
-
255
- optional uint32 day_id = 1;
256
- repeated .CMsgClientUGSGetGlobalStatsResponse.Day.Stat stats = 2;
257
- }
258
-
259
- optional int32 eresult = 1 [default = 2];
260
- optional fixed32 timestamp = 2;
261
- optional int32 day_current = 3;
262
- repeated .CMsgClientUGSGetGlobalStatsResponse.Day days = 4;
263
- }
264
-
265
- message CMsgClientRedeemGuestPass {
266
- optional fixed64 guest_pass_id = 1;
267
- }
268
-
269
- message CMsgClientRedeemGuestPassResponse {
270
- optional uint32 eresult = 1 [default = 2];
271
- optional uint32 package_id = 2;
272
- optional uint32 must_own_appid = 3;
273
- }
274
-
275
- message CMsgClientGetClanActivityCounts {
276
- repeated uint64 steamid_clans = 1;
277
- }
278
-
279
- message CMsgClientGetClanActivityCountsResponse {
280
- optional uint32 eresult = 1 [default = 2];
281
- }
282
-
283
- message CMsgClientOGSReportString {
284
- optional bool accumulated = 1;
285
- optional uint64 sessionid = 2;
286
- optional int32 severity = 3;
287
- optional string formatter = 4;
288
- optional bytes varargs = 5;
289
- }
290
-
291
- message CMsgClientOGSReportBug {
292
- optional uint64 sessionid = 1;
293
- optional string bugtext = 2;
294
- optional bytes screenshot = 3;
295
- }
296
-
297
- message CMsgClientSentLogs {
298
- }
299
-
300
- message CMsgGCClient {
301
- optional uint32 appid = 1;
302
- optional uint32 msgtype = 2;
303
- optional bytes payload = 3;
304
- optional fixed64 steamid = 4;
305
- optional string gcname = 5;
306
- optional uint32 ip = 6;
307
- }
308
-
309
- message CMsgClientRequestFreeLicense {
310
- repeated uint32 appids = 2;
311
- }
312
-
313
- message CMsgClientRequestFreeLicenseResponse {
314
- optional uint32 eresult = 1 [default = 2];
315
- repeated uint32 granted_packageids = 2;
316
- repeated uint32 granted_appids = 3;
317
- }
318
-
319
- message CMsgDRMDownloadRequestWithCrashData {
320
- optional uint32 download_flags = 1;
321
- optional uint32 download_types_known = 2;
322
- optional bytes guid_drm = 3;
323
- optional bytes guid_split = 4;
324
- optional bytes guid_merge = 5;
325
- optional string module_name = 6;
326
- optional string module_path = 7;
327
- optional bytes crash_data = 8;
328
- }
329
-
330
- message CMsgDRMDownloadResponse {
331
- optional uint32 eresult = 1 [default = 2];
332
- optional uint32 app_id = 2;
333
- optional uint32 blob_download_type = 3;
334
- optional bytes merge_guid = 4;
335
- optional uint32 download_file_dfs_ip = 5;
336
- optional uint32 download_file_dfs_port = 6;
337
- optional string download_file_url = 7;
338
- optional string module_path = 8;
339
- }
340
-
341
- message CMsgDRMFinalResult {
342
- optional uint32 eResult = 1 [default = 2];
343
- optional uint32 app_id = 2;
344
- optional uint32 blob_download_type = 3;
345
- optional uint32 error_detail = 4;
346
- optional bytes merge_guid = 5;
347
- optional uint32 download_file_dfs_ip = 6;
348
- optional uint32 download_file_dfs_port = 7;
349
- optional string download_file_url = 8;
350
- }
351
-
352
- message CMsgClientDPCheckSpecialSurvey {
353
- optional uint32 survey_id = 1;
354
- }
355
-
356
- message CMsgClientDPCheckSpecialSurveyResponse {
357
- optional uint32 eResult = 1 [default = 2];
358
- optional uint32 state = 2;
359
- optional string name = 3;
360
- optional string custom_url = 4;
361
- optional bool include_software = 5;
362
- optional bytes token = 6;
363
- }
364
-
365
- message CMsgClientDPSendSpecialSurveyResponse {
366
- optional uint32 survey_id = 1;
367
- optional bytes data = 2;
368
- }
369
-
370
- message CMsgClientDPSendSpecialSurveyResponseReply {
371
- optional uint32 eResult = 1 [default = 2];
372
- optional bytes token = 2;
373
- }
374
-
375
- message CMsgClientRequestForgottenPasswordEmail {
376
- optional string account_name = 1;
377
- optional string password_tried = 2;
378
- }
379
-
380
- message CMsgClientRequestForgottenPasswordEmailResponse {
381
- optional uint32 eResult = 1;
382
- optional bool use_secret_question = 2;
383
- }
384
-
385
- message CMsgClientItemAnnouncements {
386
- message UnseenItem {
387
- optional uint32 appid = 1;
388
- optional uint64 context_id = 2;
389
- optional uint64 asset_id = 3;
390
- optional uint64 amount = 4;
391
- optional fixed32 rtime32_gained = 5;
392
- optional uint32 source_appid = 6;
393
- }
394
-
395
- optional uint32 count_new_items = 1;
396
- repeated .CMsgClientItemAnnouncements.UnseenItem unseen_items = 2;
397
- }
398
-
399
- message CMsgClientRequestItemAnnouncements {
400
- }
401
-
402
- message CMsgClientUserNotifications {
403
- message Notification {
404
- optional uint32 user_notification_type = 1;
405
- optional uint32 count = 2;
406
- }
407
-
408
- repeated .CMsgClientUserNotifications.Notification notifications = 1;
409
- }
410
-
411
- message CMsgClientCommentNotifications {
412
- optional uint32 count_new_comments = 1;
413
- optional uint32 count_new_comments_owner = 2;
414
- optional uint32 count_new_comments_subscriptions = 3;
415
- }
416
-
417
- message CMsgClientRequestCommentNotifications {
418
- }
419
-
420
- message CMsgClientOfflineMessageNotification {
421
- optional uint32 offline_messages = 1;
422
- repeated uint32 friends_with_offline_messages = 2;
423
- }
424
-
425
- message CMsgClientRequestOfflineMessageCount {
426
- }
427
-
428
- message CMsgClientChatGetFriendMessageHistory {
429
- optional fixed64 steamid = 1;
430
- }
431
-
432
- message CMsgClientChatGetFriendMessageHistoryResponse {
433
- message FriendMessage {
434
- optional uint32 accountid = 1;
435
- optional uint32 timestamp = 2;
436
- optional string message = 3;
437
- optional bool unread = 4;
438
- }
439
-
440
- optional fixed64 steamid = 1;
441
- optional uint32 success = 2;
442
- repeated .CMsgClientChatGetFriendMessageHistoryResponse.FriendMessage messages = 3;
443
- }
444
-
445
- message CMsgClientChatGetFriendMessageHistoryForOfflineMessages {
446
- }
447
-
448
- message CMsgClientFSGetFriendsSteamLevels {
449
- repeated uint32 accountids = 1;
450
- }
451
-
452
- message CMsgClientFSGetFriendsSteamLevelsResponse {
453
- message Friend {
454
- optional uint32 accountid = 1;
455
- optional uint32 level = 2;
456
- }
457
-
458
- repeated .CMsgClientFSGetFriendsSteamLevelsResponse.Friend friends = 1;
459
- }
460
-
461
- message CMsgClientEmailAddrInfo {
462
- optional string email_address = 1;
463
- optional bool email_is_validated = 2;
464
- optional bool email_validation_changed = 3;
465
- optional bool credential_change_requires_code = 4;
466
- optional bool password_or_secretqa_change_requires_code = 5;
467
- }
468
-
469
- message CMsgCREItemVoteSummary {
470
- message PublishedFileId {
471
- optional fixed64 published_file_id = 1;
472
- }
473
-
474
- repeated .CMsgCREItemVoteSummary.PublishedFileId published_file_ids = 1;
475
- }
476
-
477
- message CMsgCREItemVoteSummaryResponse {
478
- message ItemVoteSummary {
479
- optional fixed64 published_file_id = 1;
480
- optional int32 votes_for = 2;
481
- optional int32 votes_against = 3;
482
- optional int32 reports = 4;
483
- optional float score = 5;
484
- }
485
-
486
- optional int32 eresult = 1 [default = 2];
487
- repeated .CMsgCREItemVoteSummaryResponse.ItemVoteSummary item_vote_summaries = 2;
488
- }
489
-
490
- message CMsgCREUpdateUserPublishedItemVote {
491
- optional fixed64 published_file_id = 1;
492
- optional bool vote_up = 2;
493
- }
494
-
495
- message CMsgCREUpdateUserPublishedItemVoteResponse {
496
- optional int32 eresult = 1 [default = 2];
497
- }
498
-
499
- message CMsgCREGetUserPublishedItemVoteDetails {
500
- message PublishedFileId {
501
- optional fixed64 published_file_id = 1;
502
- }
503
-
504
- repeated .CMsgCREGetUserPublishedItemVoteDetails.PublishedFileId published_file_ids = 1;
505
- }
506
-
507
- message CMsgCREGetUserPublishedItemVoteDetailsResponse {
508
- message UserItemVoteDetail {
509
- optional fixed64 published_file_id = 1;
510
- optional int32 vote = 2 [default = 0];
511
- }
512
-
513
- optional int32 eresult = 1 [default = 2];
514
- repeated .CMsgCREGetUserPublishedItemVoteDetailsResponse.UserItemVoteDetail user_item_vote_details = 2;
515
- }
516
-
517
- message CMsgFSGetFollowerCount {
518
- optional fixed64 steam_id = 1;
519
- }
520
-
521
- message CMsgFSGetFollowerCountResponse {
522
- optional int32 eresult = 1 [default = 2];
523
- optional int32 count = 2 [default = 0];
524
- }
525
-
526
- message CMsgFSGetIsFollowing {
527
- optional fixed64 steam_id = 1;
528
- }
529
-
530
- message CMsgFSGetIsFollowingResponse {
531
- optional int32 eresult = 1 [default = 2];
532
- optional bool is_following = 2 [default = false];
533
- }
534
-
535
- message CMsgFSEnumerateFollowingList {
536
- optional uint32 start_index = 1;
537
- }
538
-
539
- message CMsgFSEnumerateFollowingListResponse {
540
- optional int32 eresult = 1 [default = 2];
541
- optional int32 total_results = 2;
542
- repeated fixed64 steam_ids = 3;
543
- }
544
-
545
- message CMsgDPGetNumberOfCurrentPlayers {
546
- optional uint32 appid = 1;
547
- }
548
-
549
- message CMsgDPGetNumberOfCurrentPlayersResponse {
550
- optional int32 eresult = 1 [default = 2];
551
- optional int32 player_count = 2;
552
- }
553
-
554
- message CMsgClientFriendUserStatusPublished {
555
- optional fixed64 friend_steamid = 1;
556
- optional uint32 appid = 2;
557
- optional string status_text = 3;
558
- }
559
-
560
- message CMsgClientServiceMethodLegacy {
561
- optional string method_name = 1;
562
- optional bytes serialized_method = 2;
563
- optional bool is_notification = 3;
564
- }
565
-
566
- message CMsgClientServiceMethodLegacyResponse {
567
- optional string method_name = 1;
568
- optional bytes serialized_method_response = 2;
569
- }
570
-
571
- message CMsgClientUIMode {
572
- optional uint32 uimode = 1;
573
- optional uint32 chat_mode = 2;
574
- }
575
-
576
- message CMsgClientVanityURLChangedNotification {
577
- optional string vanity_url = 1;
578
- }
579
-
580
- message CMsgClientAuthorizeLocalDeviceRequest {
581
- optional string device_description = 1;
582
- optional uint32 owner_account_id = 2;
583
- optional uint64 local_device_token = 3;
584
- }
585
-
586
- message CMsgClientAuthorizeLocalDevice {
587
- optional int32 eresult = 1 [default = 2];
588
- optional uint32 owner_account_id = 2;
589
- optional uint64 authed_device_token = 3;
590
- }
591
-
592
- message CMsgClientAuthorizeLocalDeviceNotification {
593
- optional int32 eresult = 1 [default = 2];
594
- optional uint32 owner_account_id = 2;
595
- optional uint64 local_device_token = 3;
596
- }
597
-
598
- message CMsgClientDeauthorizeDeviceRequest {
599
- optional uint32 deauthorization_account_id = 1;
600
- optional uint64 deauthorization_device_token = 2;
601
- }
602
-
603
- message CMsgClientDeauthorizeDevice {
604
- optional int32 eresult = 1 [default = 2];
605
- optional uint32 deauthorization_account_id = 2;
606
- }
607
-
608
- message CMsgClientUseLocalDeviceAuthorizations {
609
- message DeviceToken {
610
- optional uint32 owner_account_id = 1;
611
- optional uint64 token_id = 2;
612
- }
613
-
614
- repeated uint32 authorization_account_id = 1;
615
- repeated .CMsgClientUseLocalDeviceAuthorizations.DeviceToken device_tokens = 2;
616
- }
617
-
618
- message CMsgClientGetAuthorizedDevices {
619
- }
620
-
621
- message CMsgClientGetAuthorizedDevicesResponse {
622
- message AuthorizedDevice {
623
- optional uint64 auth_device_token = 1;
624
- optional string device_name = 2;
625
- optional uint32 last_access_time = 3;
626
- optional uint32 borrower_id = 4;
627
- optional bool is_pending = 5;
628
- optional uint32 app_played = 6;
629
- }
630
-
631
- optional int32 eresult = 1 [default = 2];
632
- repeated .CMsgClientGetAuthorizedDevicesResponse.AuthorizedDevice authorized_device = 2;
633
- }
634
-
635
- message CMsgClientSharedLibraryLockStatus {
636
- message LockedLibrary {
637
- optional uint32 owner_id = 1;
638
- optional uint32 locked_by = 2;
639
- }
640
-
641
- repeated .CMsgClientSharedLibraryLockStatus.LockedLibrary locked_library = 1;
642
- optional uint32 own_library_locked_by = 2;
643
- }
644
-
645
- message CMsgClientSharedLibraryStopPlaying {
646
- message StopApp {
647
- optional uint32 app_id = 1;
648
- optional uint32 owner_id = 2;
649
- }
650
-
651
- optional int32 seconds_left = 1;
652
- repeated .CMsgClientSharedLibraryStopPlaying.StopApp stop_apps = 2;
653
- }
654
-
655
- message CMsgClientServiceCall {
656
- optional bytes sysid_routing = 1;
657
- optional uint32 call_handle = 2;
658
- optional uint32 module_crc = 3;
659
- optional bytes module_hash = 4;
660
- optional uint32 function_id = 5;
661
- optional uint32 cub_output_max = 6;
662
- optional uint32 flags = 7;
663
- optional bytes callparameter = 8;
664
- optional bool ping_only = 9;
665
- optional uint32 max_outstanding_calls = 10;
666
- optional uint32 app_id = 11;
667
- }
668
-
669
- message CMsgClientServiceModule {
670
- optional uint32 module_crc = 1;
671
- optional bytes module_hash = 2;
672
- optional bytes module_content = 3;
673
- }
674
-
675
- message CMsgClientServiceCallResponse {
676
- optional bytes sysid_routing = 1;
677
- optional uint32 call_handle = 2;
678
- optional uint32 module_crc = 3;
679
- optional bytes module_hash = 4;
680
- optional uint32 ecallresult = 5;
681
- optional bytes result_content = 6;
682
- optional bytes os_version_info = 7;
683
- optional bytes system_info = 8;
684
- optional fixed64 load_address = 9;
685
- optional bytes exception_record = 10;
686
- optional bytes portable_os_version_info = 11;
687
- optional bytes portable_system_info = 12;
688
- optional bool was_converted = 13;
689
- optional uint32 internal_result = 14;
690
- optional uint32 current_count = 15;
691
- optional uint32 last_call_handle = 16;
692
- optional uint32 last_call_module_crc = 17;
693
- optional bytes last_call_sysid_routing = 18;
694
- optional uint32 last_ecallresult = 19;
695
- optional uint32 last_callissue_delta = 20;
696
- optional uint32 last_callcomplete_delta = 21;
697
- }
698
-
699
- message CMsgAMUnlockH264 {
700
- optional uint32 appid = 1;
701
- optional int32 platform = 2;
702
- optional int32 reason = 3;
703
- }
704
-
705
- message CMsgAMUnlockH264Response {
706
- optional int32 eresult = 1 [default = 2];
707
- optional bytes encryption_key = 2;
708
- }
709
-
710
- message CMsgClientPlayingSessionState {
711
- optional bool playing_blocked = 2;
712
- optional uint32 playing_app = 3;
713
- }
714
-
715
- message CMsgClientKickPlayingSession {
716
- optional bool only_stop_game = 1;
717
- }
718
-
719
- message CMsgClientVoiceCallPreAuthorize {
720
- optional fixed64 caller_steamid = 1;
721
- optional fixed64 receiver_steamid = 2;
722
- optional int32 caller_id = 3;
723
- optional bool hangup = 4;
724
- }
725
-
726
- message CMsgClientVoiceCallPreAuthorizeResponse {
727
- optional fixed64 caller_steamid = 1;
728
- optional fixed64 receiver_steamid = 2;
729
- optional int32 eresult = 3 [default = 2];
730
- optional int32 caller_id = 4;
731
- }
732
-
733
- message CMsgBadgeCraftedNotification {
734
- optional uint32 appid = 1;
735
- optional uint32 badge_level = 2;
736
- }
737
-
738
- message CMsgClientStartPeerContentServer {
739
- optional fixed64 steamid = 1;
740
- optional fixed64 client_remote_id = 2;
741
- optional uint32 app_id = 3;
742
- optional uint32 current_build_id = 4;
743
- }
744
-
745
- message CMsgClientStartPeerContentServerResponse {
746
- optional uint32 result = 1;
747
- optional uint32 server_port = 2;
748
- repeated uint32 installed_depots = 3;
749
- optional uint64 access_token = 4;
750
- }
751
-
752
- message CMsgClientGetPeerContentInfo {
753
- optional fixed64 steamid = 1;
754
- optional fixed64 client_remote_id = 2;
755
- optional bool owned_games_visible = 3;
756
- }
757
-
758
- message CMsgClientGetPeerContentInfoResponse {
759
- optional uint32 result = 1;
760
- repeated uint32 apps = 2;
761
- }
762
-
763
- message CMsgClientPendingGameLaunch {
764
- optional uint32 app_id = 1;
765
- }
766
-
767
- message CMsgClientPendingGameLaunchResponse {
768
- optional int32 eresult = 1 [default = 2];
769
- optional uint32 app_id = 2;
770
- optional string envkey = 3;
771
- }
1
+ import "steammessages_base.proto";
2
+
3
+ option optimize_for = SPEED;
4
+ option cc_generic_services = false;
5
+
6
+ message CMsgClientUpdateUserGameInfo {
7
+ optional fixed64 steamid_idgs = 1;
8
+ optional fixed64 gameid = 2;
9
+ optional uint32 game_ip = 3;
10
+ optional uint32 game_port = 4;
11
+ optional bytes token = 5;
12
+ }
13
+
14
+ message CMsgClientRichPresenceUpload {
15
+ optional bytes rich_presence_kv = 1;
16
+ repeated fixed64 steamid_broadcast = 2;
17
+ }
18
+
19
+ message CMsgClientRichPresenceRequest {
20
+ repeated fixed64 steamid_request = 1;
21
+ }
22
+
23
+ message CMsgClientRichPresenceInfo {
24
+ message RichPresence {
25
+ optional fixed64 steamid_user = 1;
26
+ optional bytes rich_presence_kv = 2;
27
+ }
28
+
29
+ repeated .CMsgClientRichPresenceInfo.RichPresence rich_presence = 1;
30
+ }
31
+
32
+ message CMsgClientCheckFileSignature {
33
+ optional uint32 app_id = 1;
34
+ }
35
+
36
+ message CMsgClientCheckFileSignatureResponse {
37
+ optional uint32 app_id = 1;
38
+ optional uint32 pid = 2;
39
+ optional uint32 eresult = 3;
40
+ optional string filename = 4;
41
+ optional uint32 esignatureresult = 5;
42
+ optional bytes sha_file = 6;
43
+ optional bytes signatureheader = 7;
44
+ optional uint32 filesize = 8;
45
+ optional uint32 getlasterror = 9;
46
+ optional uint32 evalvesignaturecheckdetail = 10;
47
+ }
48
+
49
+ message CMsgClientReadMachineAuth {
50
+ optional string filename = 1;
51
+ optional uint32 offset = 2;
52
+ optional uint32 cubtoread = 3;
53
+ }
54
+
55
+ message CMsgClientReadMachineAuthResponse {
56
+ optional string filename = 1;
57
+ optional uint32 eresult = 2;
58
+ optional uint32 filesize = 3;
59
+ optional bytes sha_file = 4;
60
+ optional uint32 getlasterror = 5;
61
+ optional uint32 offset = 6;
62
+ optional uint32 cubread = 7;
63
+ optional bytes bytes_read = 8;
64
+ optional string filename_sentry = 9;
65
+ }
66
+
67
+ message CMsgClientUpdateMachineAuth {
68
+ optional string filename = 1;
69
+ optional uint32 offset = 2;
70
+ optional uint32 cubtowrite = 3;
71
+ optional bytes bytes = 4;
72
+ optional uint32 otp_type = 5;
73
+ optional string otp_identifier = 6;
74
+ optional bytes otp_sharedsecret = 7;
75
+ optional uint32 otp_timedrift = 8;
76
+ }
77
+
78
+ message CMsgClientUpdateMachineAuthResponse {
79
+ optional string filename = 1;
80
+ optional uint32 eresult = 2;
81
+ optional uint32 filesize = 3;
82
+ optional bytes sha_file = 4;
83
+ optional uint32 getlasterror = 5;
84
+ optional uint32 offset = 6;
85
+ optional uint32 cubwrote = 7;
86
+ optional int32 otp_type = 8;
87
+ optional uint32 otp_value = 9;
88
+ optional string otp_identifier = 10;
89
+ }
90
+
91
+ message CMsgClientRequestMachineAuth {
92
+ optional string filename = 1;
93
+ optional uint32 eresult_sentryfile = 2;
94
+ optional uint32 filesize = 3;
95
+ optional bytes sha_sentryfile = 4;
96
+ optional int32 lock_account_action = 6;
97
+ optional uint32 otp_type = 7;
98
+ optional string otp_identifier = 8;
99
+ optional bytes otp_sharedsecret = 9;
100
+ optional uint32 otp_value = 10;
101
+ optional string machine_name = 11;
102
+ optional string machine_name_userchosen = 12;
103
+ }
104
+
105
+ message CMsgClientRequestMachineAuthResponse {
106
+ optional uint32 eresult = 1;
107
+ }
108
+
109
+ message CMsgClientRegisterKey {
110
+ optional string key = 1;
111
+ }
112
+
113
+ message CMsgClientPurchaseResponse {
114
+ optional int32 eresult = 1 [default = 2];
115
+ optional int32 purchase_result_details = 2;
116
+ optional bytes purchase_receipt_info = 3;
117
+ }
118
+
119
+ message CMsgClientActivateOEMLicense {
120
+ optional string bios_manufacturer = 1;
121
+ optional string bios_serialnumber = 2;
122
+ optional bytes license_file = 3;
123
+ optional string mainboard_manufacturer = 4;
124
+ optional string mainboard_product = 5;
125
+ optional string mainboard_serialnumber = 6;
126
+ }
127
+
128
+ message CMsgClientRegisterOEMMachine {
129
+ optional bytes oem_register_file = 1;
130
+ }
131
+
132
+ message CMsgClientRegisterOEMMachineResponse {
133
+ optional uint32 eresult = 1;
134
+ }
135
+
136
+ message CMsgClientPurchaseWithMachineID {
137
+ optional uint32 package_id = 1;
138
+ optional bytes machine_info = 2;
139
+ }
140
+
141
+ message CMsgTrading_InitiateTradeRequest {
142
+ optional uint32 trade_request_id = 1;
143
+ optional uint64 other_steamid = 2;
144
+ optional string other_name = 3;
145
+ }
146
+
147
+ message CMsgTrading_InitiateTradeResponse {
148
+ optional uint32 response = 1;
149
+ optional uint32 trade_request_id = 2;
150
+ optional uint64 other_steamid = 3;
151
+ optional uint32 steamguard_required_days = 4;
152
+ optional uint32 new_device_cooldown_days = 5;
153
+ optional uint32 default_password_reset_probation_days = 6;
154
+ optional uint32 password_reset_probation_days = 7;
155
+ optional uint32 default_email_change_probation_days = 8;
156
+ optional uint32 email_change_probation_days = 9;
157
+ }
158
+
159
+ message CMsgTrading_CancelTradeRequest {
160
+ optional uint64 other_steamid = 1;
161
+ }
162
+
163
+ message CMsgTrading_StartSession {
164
+ optional uint64 other_steamid = 1;
165
+ }
166
+
167
+ message CMsgClientGetCDNAuthToken {
168
+ optional uint32 depot_id = 1;
169
+ optional string host_name = 2;
170
+ optional uint32 app_id = 3;
171
+ }
172
+
173
+ message CMsgClientGetDepotDecryptionKey {
174
+ optional uint32 depot_id = 1;
175
+ optional uint32 app_id = 2;
176
+ }
177
+
178
+ message CMsgClientGetDepotDecryptionKeyResponse {
179
+ optional int32 eresult = 1 [default = 2];
180
+ optional uint32 depot_id = 2;
181
+ optional bytes depot_encryption_key = 3;
182
+ }
183
+
184
+ message CMsgClientCheckAppBetaPassword {
185
+ optional uint32 app_id = 1;
186
+ optional string betapassword = 2;
187
+ optional int32 language = 3;
188
+ }
189
+
190
+ message CMsgClientCheckAppBetaPasswordResponse {
191
+ message BetaPassword {
192
+ optional string betaname = 1;
193
+ optional string betapassword = 2;
194
+ optional string betadescription = 3;
195
+ }
196
+
197
+ optional int32 eresult = 1 [default = 2];
198
+ repeated .CMsgClientCheckAppBetaPasswordResponse.BetaPassword betapasswords = 4;
199
+ }
200
+
201
+ message CMsgClientGetCDNAuthTokenResponse {
202
+ optional uint32 eresult = 1 [default = 2];
203
+ optional string token = 2;
204
+ optional uint32 expiration_time = 3;
205
+ }
206
+
207
+ message CMsgDownloadRateStatistics {
208
+ message StatsInfo {
209
+ optional uint32 source_type = 1;
210
+ optional uint32 source_id = 2;
211
+ optional uint32 seconds = 3;
212
+ optional uint64 bytes = 4;
213
+ optional string host_name = 5;
214
+ optional uint64 microseconds = 6;
215
+ optional bool used_ipv6 = 7;
216
+ optional bool proxied = 8;
217
+ }
218
+
219
+ optional uint32 cell_id = 1;
220
+ repeated .CMsgDownloadRateStatistics.StatsInfo stats = 2;
221
+ optional uint32 throttling_kbps = 3;
222
+ optional uint32 steam_realm = 4;
223
+ }
224
+
225
+ message CMsgClientRequestAccountData {
226
+ optional string account_or_email = 1;
227
+ optional uint32 action = 2;
228
+ }
229
+
230
+ message CMsgClientRequestAccountDataResponse {
231
+ optional uint32 action = 1;
232
+ optional uint32 eresult = 2;
233
+ optional string account_name = 3;
234
+ optional uint32 ct_matches = 4;
235
+ optional string account_name_suggestion1 = 5;
236
+ optional string account_name_suggestion2 = 6;
237
+ optional string account_name_suggestion3 = 7;
238
+ }
239
+
240
+ message CMsgClientUGSGetGlobalStats {
241
+ optional uint64 gameid = 1;
242
+ optional uint32 history_days_requested = 2;
243
+ optional fixed32 time_last_requested = 3;
244
+ optional uint32 first_day_cached = 4;
245
+ optional uint32 days_cached = 5;
246
+ }
247
+
248
+ message CMsgClientUGSGetGlobalStatsResponse {
249
+ message Day {
250
+ message Stat {
251
+ optional int32 stat_id = 1;
252
+ optional int64 data = 2;
253
+ }
254
+
255
+ optional uint32 day_id = 1;
256
+ repeated .CMsgClientUGSGetGlobalStatsResponse.Day.Stat stats = 2;
257
+ }
258
+
259
+ optional int32 eresult = 1 [default = 2];
260
+ optional fixed32 timestamp = 2;
261
+ optional int32 day_current = 3;
262
+ repeated .CMsgClientUGSGetGlobalStatsResponse.Day days = 4;
263
+ }
264
+
265
+ message CMsgClientRedeemGuestPass {
266
+ optional fixed64 guest_pass_id = 1;
267
+ }
268
+
269
+ message CMsgClientRedeemGuestPassResponse {
270
+ optional uint32 eresult = 1 [default = 2];
271
+ optional uint32 package_id = 2;
272
+ optional uint32 must_own_appid = 3;
273
+ }
274
+
275
+ message CMsgClientGetClanActivityCounts {
276
+ repeated uint64 steamid_clans = 1;
277
+ }
278
+
279
+ message CMsgClientGetClanActivityCountsResponse {
280
+ optional uint32 eresult = 1 [default = 2];
281
+ }
282
+
283
+ message CMsgClientOGSReportString {
284
+ optional bool accumulated = 1;
285
+ optional uint64 sessionid = 2;
286
+ optional int32 severity = 3;
287
+ optional string formatter = 4;
288
+ optional bytes varargs = 5;
289
+ }
290
+
291
+ message CMsgClientOGSReportBug {
292
+ optional uint64 sessionid = 1;
293
+ optional string bugtext = 2;
294
+ optional bytes screenshot = 3;
295
+ }
296
+
297
+ message CMsgClientSentLogs {
298
+ }
299
+
300
+ message CMsgGCClient {
301
+ optional uint32 appid = 1;
302
+ optional uint32 msgtype = 2;
303
+ optional bytes payload = 3;
304
+ optional fixed64 steamid = 4;
305
+ optional string gcname = 5;
306
+ optional uint32 ip = 6;
307
+ }
308
+
309
+ message CMsgClientRequestFreeLicense {
310
+ repeated uint32 appids = 2;
311
+ }
312
+
313
+ message CMsgClientRequestFreeLicenseResponse {
314
+ optional uint32 eresult = 1 [default = 2];
315
+ repeated uint32 granted_packageids = 2;
316
+ repeated uint32 granted_appids = 3;
317
+ }
318
+
319
+ message CMsgDRMDownloadRequestWithCrashData {
320
+ optional uint32 download_flags = 1;
321
+ optional uint32 download_types_known = 2;
322
+ optional bytes guid_drm = 3;
323
+ optional bytes guid_split = 4;
324
+ optional bytes guid_merge = 5;
325
+ optional string module_name = 6;
326
+ optional string module_path = 7;
327
+ optional bytes crash_data = 8;
328
+ }
329
+
330
+ message CMsgDRMDownloadResponse {
331
+ optional uint32 eresult = 1 [default = 2];
332
+ optional uint32 app_id = 2;
333
+ optional uint32 blob_download_type = 3;
334
+ optional bytes merge_guid = 4;
335
+ optional uint32 download_file_dfs_ip = 5;
336
+ optional uint32 download_file_dfs_port = 6;
337
+ optional string download_file_url = 7;
338
+ optional string module_path = 8;
339
+ }
340
+
341
+ message CMsgDRMFinalResult {
342
+ optional uint32 eResult = 1 [default = 2];
343
+ optional uint32 app_id = 2;
344
+ optional uint32 blob_download_type = 3;
345
+ optional uint32 error_detail = 4;
346
+ optional bytes merge_guid = 5;
347
+ optional uint32 download_file_dfs_ip = 6;
348
+ optional uint32 download_file_dfs_port = 7;
349
+ optional string download_file_url = 8;
350
+ }
351
+
352
+ message CMsgClientDPCheckSpecialSurvey {
353
+ optional uint32 survey_id = 1;
354
+ }
355
+
356
+ message CMsgClientDPCheckSpecialSurveyResponse {
357
+ optional uint32 eResult = 1 [default = 2];
358
+ optional uint32 state = 2;
359
+ optional string name = 3;
360
+ optional string custom_url = 4;
361
+ optional bool include_software = 5;
362
+ optional bytes token = 6;
363
+ }
364
+
365
+ message CMsgClientDPSendSpecialSurveyResponse {
366
+ optional uint32 survey_id = 1;
367
+ optional bytes data = 2;
368
+ }
369
+
370
+ message CMsgClientDPSendSpecialSurveyResponseReply {
371
+ optional uint32 eResult = 1 [default = 2];
372
+ optional bytes token = 2;
373
+ }
374
+
375
+ message CMsgClientRequestForgottenPasswordEmail {
376
+ optional string account_name = 1;
377
+ optional string password_tried = 2;
378
+ }
379
+
380
+ message CMsgClientRequestForgottenPasswordEmailResponse {
381
+ optional uint32 eResult = 1;
382
+ optional bool use_secret_question = 2;
383
+ }
384
+
385
+ message CMsgClientItemAnnouncements {
386
+ message UnseenItem {
387
+ optional uint32 appid = 1;
388
+ optional uint64 context_id = 2;
389
+ optional uint64 asset_id = 3;
390
+ optional uint64 amount = 4;
391
+ optional fixed32 rtime32_gained = 5;
392
+ optional uint32 source_appid = 6;
393
+ }
394
+
395
+ optional uint32 count_new_items = 1;
396
+ repeated .CMsgClientItemAnnouncements.UnseenItem unseen_items = 2;
397
+ }
398
+
399
+ message CMsgClientRequestItemAnnouncements {
400
+ }
401
+
402
+ message CMsgClientUserNotifications {
403
+ message Notification {
404
+ optional uint32 user_notification_type = 1;
405
+ optional uint32 count = 2;
406
+ }
407
+
408
+ repeated .CMsgClientUserNotifications.Notification notifications = 1;
409
+ }
410
+
411
+ message CMsgClientCommentNotifications {
412
+ optional uint32 count_new_comments = 1;
413
+ optional uint32 count_new_comments_owner = 2;
414
+ optional uint32 count_new_comments_subscriptions = 3;
415
+ }
416
+
417
+ message CMsgClientRequestCommentNotifications {
418
+ }
419
+
420
+ message CMsgClientOfflineMessageNotification {
421
+ optional uint32 offline_messages = 1;
422
+ repeated uint32 friends_with_offline_messages = 2;
423
+ }
424
+
425
+ message CMsgClientRequestOfflineMessageCount {
426
+ }
427
+
428
+ message CMsgClientChatGetFriendMessageHistory {
429
+ optional fixed64 steamid = 1;
430
+ }
431
+
432
+ message CMsgClientChatGetFriendMessageHistoryResponse {
433
+ message FriendMessage {
434
+ optional uint32 accountid = 1;
435
+ optional uint32 timestamp = 2;
436
+ optional string message = 3;
437
+ optional bool unread = 4;
438
+ }
439
+
440
+ optional fixed64 steamid = 1;
441
+ optional uint32 success = 2;
442
+ repeated .CMsgClientChatGetFriendMessageHistoryResponse.FriendMessage messages = 3;
443
+ }
444
+
445
+ message CMsgClientChatGetFriendMessageHistoryForOfflineMessages {
446
+ }
447
+
448
+ message CMsgClientFSGetFriendsSteamLevels {
449
+ repeated uint32 accountids = 1;
450
+ }
451
+
452
+ message CMsgClientFSGetFriendsSteamLevelsResponse {
453
+ message Friend {
454
+ optional uint32 accountid = 1;
455
+ optional uint32 level = 2;
456
+ }
457
+
458
+ repeated .CMsgClientFSGetFriendsSteamLevelsResponse.Friend friends = 1;
459
+ }
460
+
461
+ message CMsgClientEmailAddrInfo {
462
+ optional string email_address = 1;
463
+ optional bool email_is_validated = 2;
464
+ optional bool email_validation_changed = 3;
465
+ optional bool credential_change_requires_code = 4;
466
+ optional bool password_or_secretqa_change_requires_code = 5;
467
+ }
468
+
469
+ message CMsgCREItemVoteSummary {
470
+ message PublishedFileId {
471
+ optional fixed64 published_file_id = 1;
472
+ }
473
+
474
+ repeated .CMsgCREItemVoteSummary.PublishedFileId published_file_ids = 1;
475
+ }
476
+
477
+ message CMsgCREItemVoteSummaryResponse {
478
+ message ItemVoteSummary {
479
+ optional fixed64 published_file_id = 1;
480
+ optional int32 votes_for = 2;
481
+ optional int32 votes_against = 3;
482
+ optional int32 reports = 4;
483
+ optional float score = 5;
484
+ }
485
+
486
+ optional int32 eresult = 1 [default = 2];
487
+ repeated .CMsgCREItemVoteSummaryResponse.ItemVoteSummary item_vote_summaries = 2;
488
+ }
489
+
490
+ message CMsgCREUpdateUserPublishedItemVote {
491
+ optional fixed64 published_file_id = 1;
492
+ optional bool vote_up = 2;
493
+ }
494
+
495
+ message CMsgCREUpdateUserPublishedItemVoteResponse {
496
+ optional int32 eresult = 1 [default = 2];
497
+ }
498
+
499
+ message CMsgCREGetUserPublishedItemVoteDetails {
500
+ message PublishedFileId {
501
+ optional fixed64 published_file_id = 1;
502
+ }
503
+
504
+ repeated .CMsgCREGetUserPublishedItemVoteDetails.PublishedFileId published_file_ids = 1;
505
+ }
506
+
507
+ message CMsgCREGetUserPublishedItemVoteDetailsResponse {
508
+ message UserItemVoteDetail {
509
+ optional fixed64 published_file_id = 1;
510
+ optional int32 vote = 2 [default = 0];
511
+ }
512
+
513
+ optional int32 eresult = 1 [default = 2];
514
+ repeated .CMsgCREGetUserPublishedItemVoteDetailsResponse.UserItemVoteDetail user_item_vote_details = 2;
515
+ }
516
+
517
+ message CMsgFSGetFollowerCount {
518
+ optional fixed64 steam_id = 1;
519
+ }
520
+
521
+ message CMsgFSGetFollowerCountResponse {
522
+ optional int32 eresult = 1 [default = 2];
523
+ optional int32 count = 2 [default = 0];
524
+ }
525
+
526
+ message CMsgFSGetIsFollowing {
527
+ optional fixed64 steam_id = 1;
528
+ }
529
+
530
+ message CMsgFSGetIsFollowingResponse {
531
+ optional int32 eresult = 1 [default = 2];
532
+ optional bool is_following = 2 [default = false];
533
+ }
534
+
535
+ message CMsgFSEnumerateFollowingList {
536
+ optional uint32 start_index = 1;
537
+ }
538
+
539
+ message CMsgFSEnumerateFollowingListResponse {
540
+ optional int32 eresult = 1 [default = 2];
541
+ optional int32 total_results = 2;
542
+ repeated fixed64 steam_ids = 3;
543
+ }
544
+
545
+ message CMsgDPGetNumberOfCurrentPlayers {
546
+ optional uint32 appid = 1;
547
+ }
548
+
549
+ message CMsgDPGetNumberOfCurrentPlayersResponse {
550
+ optional int32 eresult = 1 [default = 2];
551
+ optional int32 player_count = 2;
552
+ }
553
+
554
+ message CMsgClientFriendUserStatusPublished {
555
+ optional fixed64 friend_steamid = 1;
556
+ optional uint32 appid = 2;
557
+ optional string status_text = 3;
558
+ }
559
+
560
+ message CMsgClientServiceMethodLegacy {
561
+ optional string method_name = 1;
562
+ optional bytes serialized_method = 2;
563
+ optional bool is_notification = 3;
564
+ }
565
+
566
+ message CMsgClientServiceMethodLegacyResponse {
567
+ optional string method_name = 1;
568
+ optional bytes serialized_method_response = 2;
569
+ }
570
+
571
+ message CMsgClientUIMode {
572
+ optional uint32 uimode = 1;
573
+ optional uint32 chat_mode = 2;
574
+ }
575
+
576
+ message CMsgClientVanityURLChangedNotification {
577
+ optional string vanity_url = 1;
578
+ }
579
+
580
+ message CMsgClientAuthorizeLocalDeviceRequest {
581
+ optional string device_description = 1;
582
+ optional uint32 owner_account_id = 2;
583
+ optional uint64 local_device_token = 3;
584
+ }
585
+
586
+ message CMsgClientAuthorizeLocalDevice {
587
+ optional int32 eresult = 1 [default = 2];
588
+ optional uint32 owner_account_id = 2;
589
+ optional uint64 authed_device_token = 3;
590
+ }
591
+
592
+ message CMsgClientAuthorizeLocalDeviceNotification {
593
+ optional int32 eresult = 1 [default = 2];
594
+ optional uint32 owner_account_id = 2;
595
+ optional uint64 local_device_token = 3;
596
+ }
597
+
598
+ message CMsgClientDeauthorizeDeviceRequest {
599
+ optional uint32 deauthorization_account_id = 1;
600
+ optional uint64 deauthorization_device_token = 2;
601
+ }
602
+
603
+ message CMsgClientDeauthorizeDevice {
604
+ optional int32 eresult = 1 [default = 2];
605
+ optional uint32 deauthorization_account_id = 2;
606
+ }
607
+
608
+ message CMsgClientUseLocalDeviceAuthorizations {
609
+ message DeviceToken {
610
+ optional uint32 owner_account_id = 1;
611
+ optional uint64 token_id = 2;
612
+ }
613
+
614
+ repeated uint32 authorization_account_id = 1;
615
+ repeated .CMsgClientUseLocalDeviceAuthorizations.DeviceToken device_tokens = 2;
616
+ }
617
+
618
+ message CMsgClientGetAuthorizedDevices {
619
+ }
620
+
621
+ message CMsgClientGetAuthorizedDevicesResponse {
622
+ message AuthorizedDevice {
623
+ optional uint64 auth_device_token = 1;
624
+ optional string device_name = 2;
625
+ optional uint32 last_access_time = 3;
626
+ optional uint32 borrower_id = 4;
627
+ optional bool is_pending = 5;
628
+ optional uint32 app_played = 6;
629
+ }
630
+
631
+ optional int32 eresult = 1 [default = 2];
632
+ repeated .CMsgClientGetAuthorizedDevicesResponse.AuthorizedDevice authorized_device = 2;
633
+ }
634
+
635
+ message CMsgClientSharedLibraryLockStatus {
636
+ message LockedLibrary {
637
+ optional uint32 owner_id = 1;
638
+ optional uint32 locked_by = 2;
639
+ }
640
+
641
+ repeated .CMsgClientSharedLibraryLockStatus.LockedLibrary locked_library = 1;
642
+ optional uint32 own_library_locked_by = 2;
643
+ }
644
+
645
+ message CMsgClientSharedLibraryStopPlaying {
646
+ message StopApp {
647
+ optional uint32 app_id = 1;
648
+ optional uint32 owner_id = 2;
649
+ }
650
+
651
+ optional int32 seconds_left = 1;
652
+ repeated .CMsgClientSharedLibraryStopPlaying.StopApp stop_apps = 2;
653
+ }
654
+
655
+ message CMsgClientServiceCall {
656
+ optional bytes sysid_routing = 1;
657
+ optional uint32 call_handle = 2;
658
+ optional uint32 module_crc = 3;
659
+ optional bytes module_hash = 4;
660
+ optional uint32 function_id = 5;
661
+ optional uint32 cub_output_max = 6;
662
+ optional uint32 flags = 7;
663
+ optional bytes callparameter = 8;
664
+ optional bool ping_only = 9;
665
+ optional uint32 max_outstanding_calls = 10;
666
+ optional uint32 app_id = 11;
667
+ }
668
+
669
+ message CMsgClientServiceModule {
670
+ optional uint32 module_crc = 1;
671
+ optional bytes module_hash = 2;
672
+ optional bytes module_content = 3;
673
+ }
674
+
675
+ message CMsgClientServiceCallResponse {
676
+ optional bytes sysid_routing = 1;
677
+ optional uint32 call_handle = 2;
678
+ optional uint32 module_crc = 3;
679
+ optional bytes module_hash = 4;
680
+ optional uint32 ecallresult = 5;
681
+ optional bytes result_content = 6;
682
+ optional bytes os_version_info = 7;
683
+ optional bytes system_info = 8;
684
+ optional fixed64 load_address = 9;
685
+ optional bytes exception_record = 10;
686
+ optional bytes portable_os_version_info = 11;
687
+ optional bytes portable_system_info = 12;
688
+ optional bool was_converted = 13;
689
+ optional uint32 internal_result = 14;
690
+ optional uint32 current_count = 15;
691
+ optional uint32 last_call_handle = 16;
692
+ optional uint32 last_call_module_crc = 17;
693
+ optional bytes last_call_sysid_routing = 18;
694
+ optional uint32 last_ecallresult = 19;
695
+ optional uint32 last_callissue_delta = 20;
696
+ optional uint32 last_callcomplete_delta = 21;
697
+ }
698
+
699
+ message CMsgAMUnlockH264 {
700
+ optional uint32 appid = 1;
701
+ optional int32 platform = 2;
702
+ optional int32 reason = 3;
703
+ }
704
+
705
+ message CMsgAMUnlockH264Response {
706
+ optional int32 eresult = 1 [default = 2];
707
+ optional bytes encryption_key = 2;
708
+ }
709
+
710
+ message CMsgClientPlayingSessionState {
711
+ optional bool playing_blocked = 2;
712
+ optional uint32 playing_app = 3;
713
+ }
714
+
715
+ message CMsgClientKickPlayingSession {
716
+ optional bool only_stop_game = 1;
717
+ }
718
+
719
+ message CMsgClientVoiceCallPreAuthorize {
720
+ optional fixed64 caller_steamid = 1;
721
+ optional fixed64 receiver_steamid = 2;
722
+ optional int32 caller_id = 3;
723
+ optional bool hangup = 4;
724
+ }
725
+
726
+ message CMsgClientVoiceCallPreAuthorizeResponse {
727
+ optional fixed64 caller_steamid = 1;
728
+ optional fixed64 receiver_steamid = 2;
729
+ optional int32 eresult = 3 [default = 2];
730
+ optional int32 caller_id = 4;
731
+ }
732
+
733
+ message CMsgBadgeCraftedNotification {
734
+ optional uint32 appid = 1;
735
+ optional uint32 badge_level = 2;
736
+ }
737
+
738
+ message CMsgClientStartPeerContentServer {
739
+ optional fixed64 steamid = 1;
740
+ optional fixed64 client_remote_id = 2;
741
+ optional uint32 app_id = 3;
742
+ optional uint32 current_build_id = 4;
743
+ }
744
+
745
+ message CMsgClientStartPeerContentServerResponse {
746
+ optional uint32 result = 1;
747
+ optional uint32 server_port = 2;
748
+ repeated uint32 installed_depots = 3;
749
+ optional uint64 access_token = 4;
750
+ }
751
+
752
+ message CMsgClientGetPeerContentInfo {
753
+ optional fixed64 steamid = 1;
754
+ optional fixed64 client_remote_id = 2;
755
+ optional bool owned_games_visible = 3;
756
+ }
757
+
758
+ message CMsgClientGetPeerContentInfoResponse {
759
+ optional uint32 result = 1;
760
+ repeated uint32 apps = 2;
761
+ }
762
+
763
+ message CMsgClientPendingGameLaunch {
764
+ optional uint32 app_id = 1;
765
+ }
766
+
767
+ message CMsgClientPendingGameLaunchResponse {
768
+ optional int32 eresult = 1 [default = 2];
769
+ optional uint32 app_id = 2;
770
+ optional string envkey = 3;
771
+ }