steamutils 1.3.20 → 1.3.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (217) hide show
  1. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  2. package/.idea/steamutils.iml +1 -1
  3. package/.idea/vcs.xml +1 -1
  4. package/free_packages.json +10048 -10048
  5. package/index.js +14 -3
  6. package/package.json +1 -1
  7. package/protos/csgo/base_gcmessages_csgo.proto +547 -547
  8. package/protos/csgo/c_peer2peer_netmessages.proto +55 -55
  9. package/protos/csgo/clientmessages.proto +48 -48
  10. package/protos/csgo/connectionless_netmessages.proto +19 -19
  11. package/protos/csgo/cs_gameevents.proto +34 -34
  12. package/protos/csgo/cs_usercmd.proto +34 -34
  13. package/protos/csgo/cstrike15_gcmessages.proto +1402 -1402
  14. package/protos/csgo/cstrike15_usermessages.proto +596 -596
  15. package/protos/csgo/demo.proto +160 -160
  16. package/protos/csgo/econ_gcmessages.proto +228 -228
  17. package/protos/csgo/engine_gcmessages.proto +14 -14
  18. package/protos/csgo/enums_clientserver.proto +1529 -1529
  19. package/protos/csgo/fatdemo.proto +125 -125
  20. package/protos/csgo/gameevents.proto +120 -120
  21. package/protos/csgo/gcsdk_gcmessages.proto +323 -323
  22. package/protos/csgo/gcsystemmsgs.proto +242 -242
  23. package/protos/csgo/netmessages.proto +604 -604
  24. package/protos/csgo/network_connection.proto +126 -126
  25. package/protos/csgo/networkbasetypes.proto +244 -244
  26. package/protos/csgo/networksystem_protomessages.proto +17 -17
  27. package/protos/csgo/steamdatagram_messages_auth.proto +65 -65
  28. package/protos/csgo/steamdatagram_messages_sdr.proto +534 -534
  29. package/protos/csgo/steammessages.proto +597 -597
  30. package/protos/csgo/steammessages_base.proto +301 -301
  31. package/protos/csgo/steammessages_cloud.steamworkssdk.proto +68 -68
  32. package/protos/csgo/steammessages_gamenetworkingui.proto +61 -61
  33. package/protos/csgo/steammessages_helprequest.steamworkssdk.proto +22 -22
  34. package/protos/csgo/steammessages_oauth.steamworkssdk.proto +18 -18
  35. package/protos/csgo/steammessages_player.steamworkssdk.proto +254 -254
  36. package/protos/csgo/steammessages_publishedfile.steamworkssdk.proto +233 -233
  37. package/protos/csgo/steammessages_steamlearn.steamworkssdk.proto +357 -357
  38. package/protos/csgo/steammessages_unified_base.steamworkssdk.proto +30 -30
  39. package/protos/csgo/steamnetworkingsockets_messages.proto +205 -205
  40. package/protos/csgo/steamnetworkingsockets_messages_certs.proto +39 -39
  41. package/protos/csgo/steamnetworkingsockets_messages_udp.proto +75 -75
  42. package/protos/csgo/te.proto +259 -259
  43. package/protos/csgo/uifontfile_format.proto +13 -13
  44. package/protos/csgo/usercmd.proto +38 -38
  45. package/protos/csgo/usermessages.proto +721 -721
  46. package/protos/csgo/valveextensions.proto +17 -17
  47. package/protos/google/protobuf/descriptor.proto +281 -281
  48. package/protos/steam/clientmetrics.proto +45 -45
  49. package/protos/steam/content_manifest.proto +62 -62
  50. package/protos/steam/contenthubs.proto +41 -41
  51. package/protos/steam/encrypted_app_ticket.proto +10 -10
  52. package/protos/steam/enums.proto +444 -444
  53. package/protos/steam/enums_clientserver.proto +1539 -1539
  54. package/protos/steam/enums_productinfo.proto +13 -13
  55. package/protos/steam/htmlmessages.proto +1027 -1027
  56. package/protos/steam/offline_ticket.proto +8 -8
  57. package/protos/steam/renderer/rendermessages.proto +893 -893
  58. package/protos/steam/steamdatagram_messages_auth.proto +65 -65
  59. package/protos/steam/steamdatagram_messages_sdr.proto +533 -533
  60. package/protos/steam/steammessages_accounthardware.steamclient.proto +201 -201
  61. package/protos/steam/steammessages_appoverview.proto +187 -187
  62. package/protos/steam/steammessages_auth.steamclient.proto +435 -435
  63. package/protos/steam/steammessages_base.proto +332 -332
  64. package/protos/steam/steammessages_broadcast.steamclient.proto +759 -759
  65. package/protos/steam/steammessages_chat.steamclient.proto +1281 -1281
  66. package/protos/steam/steammessages_client_objects.proto +645 -645
  67. package/protos/steam/steammessages_clientlanp2p.proto +42 -42
  68. package/protos/steam/steammessages_clientmetrics.steamclient.proto +194 -194
  69. package/protos/steam/steammessages_clientnotificationtypes.proto +231 -231
  70. package/protos/steam/steammessages_clientserver.proto +392 -392
  71. package/protos/steam/steammessages_clientserver_2.proto +760 -760
  72. package/protos/steam/steammessages_clientserver_appinfo.proto +131 -131
  73. package/protos/steam/steammessages_clientserver_friends.proto +260 -260
  74. package/protos/steam/steammessages_clientserver_gameservers.proto +159 -159
  75. package/protos/steam/steammessages_clientserver_lbs.proto +70 -70
  76. package/protos/steam/steammessages_clientserver_login.proto +167 -167
  77. package/protos/steam/steammessages_clientserver_ucm.proto +205 -205
  78. package/protos/steam/steammessages_clientserver_uds.proto +124 -124
  79. package/protos/steam/steammessages_clientserver_ufs.proto +172 -172
  80. package/protos/steam/steammessages_clientserver_userstats.proto +80 -80
  81. package/protos/steam/steammessages_clientsettings.proto +168 -168
  82. package/protos/steam/steammessages_cloud.steamclient.proto +513 -513
  83. package/protos/steam/steammessages_contentsystem.steamclient.proto +115 -115
  84. package/protos/steam/steammessages_credentials.steamclient.proto +115 -115
  85. package/protos/steam/steammessages_datapublisher.steamclient.proto +116 -116
  86. package/protos/steam/steammessages_depotbuilder.steamclient.proto +118 -118
  87. package/protos/steam/steammessages_deviceauth.steamclient.proto +203 -203
  88. package/protos/steam/steammessages_econ.steamclient.proto +150 -150
  89. package/protos/steam/steammessages_friendmessages.steamclient.proto +168 -168
  90. package/protos/steam/steammessages_gamenetworking.steamclient.proto +32 -32
  91. package/protos/steam/steammessages_gamenetworkingui.proto +61 -61
  92. package/protos/steam/steammessages_gamenotifications.steamclient.proto +156 -156
  93. package/protos/steam/steammessages_gameservers.steamclient.proto +152 -152
  94. package/protos/steam/steammessages_hiddevices.proto +157 -157
  95. package/protos/steam/steammessages_inventory.steamclient.proto +224 -224
  96. package/protos/steam/steammessages_linkfilter.steamclient.proto +49 -49
  97. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +33 -33
  98. package/protos/steam/steammessages_market.steamclient.proto +26 -26
  99. package/protos/steam/steammessages_marketingmessages.steamclient.proto +274 -274
  100. package/protos/steam/steammessages_offline.steamclient.proto +40 -40
  101. package/protos/steam/steammessages_parental.steamclient.proto +228 -228
  102. package/protos/steam/steammessages_parties.steamclient.proto +94 -94
  103. package/protos/steam/steammessages_partnerapps.steamclient.proto +138 -138
  104. package/protos/steam/steammessages_player.steamclient.proto +1060 -1060
  105. package/protos/steam/steammessages_publishedfile.steamclient.proto +813 -813
  106. package/protos/steam/steammessages_qms.steamclient.proto +125 -125
  107. package/protos/steam/steammessages_remoteclient.proto +99 -99
  108. package/protos/steam/steammessages_remoteclient_discovery.proto +235 -235
  109. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +86 -86
  110. package/protos/steam/steammessages_remoteclient_service_messages.proto +217 -217
  111. package/protos/steam/steammessages_remoteplay.proto +976 -976
  112. package/protos/steam/steammessages_secrets.steamclient.proto +39 -39
  113. package/protos/steam/steammessages_shader.steamclient.proto +108 -108
  114. package/protos/steam/steammessages_site_license.steamclient.proto +128 -128
  115. package/protos/steam/steammessages_sitelicenseclient.proto +38 -38
  116. package/protos/steam/steammessages_siteserverui.proto +130 -130
  117. package/protos/steam/steammessages_star.steamclient.proto +64 -64
  118. package/protos/steam/steammessages_steamtv.steamclient.proto +630 -630
  119. package/protos/steam/steammessages_store.steamclient.proto +371 -371
  120. package/protos/steam/steammessages_storebrowse.steamclient.proto +402 -402
  121. package/protos/steam/steammessages_timedtrial.steamclient.proto +50 -50
  122. package/protos/steam/steammessages_twofactor.steamclient.proto +186 -186
  123. package/protos/steam/steammessages_unified_base.steamclient.proto +33 -33
  124. package/protos/steam/steammessages_unified_test.steamclient.proto +61 -61
  125. package/protos/steam/steammessages_useraccount.steamclient.proto +249 -249
  126. package/protos/steam/steammessages_vac.steamclient.proto +44 -44
  127. package/protos/steam/steammessages_video.steamclient.proto +171 -171
  128. package/protos/steam/steammessages_virtualcontroller.proto +138 -138
  129. package/protos/steam/steammessages_workshop.steamclient.proto +23 -23
  130. package/protos/steam/steamnetworkingsockets_messages.proto +205 -205
  131. package/protos/steam/steamnetworkingsockets_messages_certs.proto +39 -39
  132. package/protos/steam/steamnetworkingsockets_messages_udp.proto +75 -75
  133. package/protos/steam/webuimessages_base.proto +24 -24
  134. package/protos/steam/webuimessages_gamenotes.proto +21 -21
  135. package/protos/steam/webuimessages_steamengine.proto +32 -32
  136. package/protos/steam/webuimessages_storagedevicemanager.proto +110 -110
  137. package/protos/steam/webuimessages_systemmanager.proto +17 -17
  138. package/protos/steam/webuimessages_transport.proto +18 -18
  139. package/protos/steam/webuimessages_transportvalidation.proto +97 -97
  140. package/protos/webui/common.proto +5508 -5508
  141. package/protos/webui/common_base.proto +27 -27
  142. package/protos/webui/service_accountlinking.proto +27 -27
  143. package/protos/webui/service_accountprivacy.proto +42 -42
  144. package/protos/webui/service_auction.proto +97 -97
  145. package/protos/webui/service_authentication.proto +222 -222
  146. package/protos/webui/service_authenticationsupport.proto +74 -74
  147. package/protos/webui/service_broadcast.proto +562 -562
  148. package/protos/webui/service_chat.proto +11 -11
  149. package/protos/webui/service_chatroom.proto +810 -810
  150. package/protos/webui/service_chatusability.proto +107 -107
  151. package/protos/webui/service_clan.proto +41 -41
  152. package/protos/webui/service_clanchatrooms.proto +25 -25
  153. package/protos/webui/service_clanfaqs.proto +202 -202
  154. package/protos/webui/service_clientcomm.proto +150 -150
  155. package/protos/webui/service_clientmetrics.proto +63 -63
  156. package/protos/webui/service_cloud.proto +222 -222
  157. package/protos/webui/service_cloudconfigstore.proto +51 -51
  158. package/protos/webui/service_cloudgaming.proto +30 -30
  159. package/protos/webui/service_community.proto +365 -365
  160. package/protos/webui/service_econ.proto +134 -134
  161. package/protos/webui/service_embedded.proto +24 -24
  162. package/protos/webui/service_experimentservice.proto +6 -6
  163. package/protos/webui/service_fovasvideo.proto +15 -15
  164. package/protos/webui/service_friendmessages.proto +133 -133
  165. package/protos/webui/service_friendslist.proto +70 -70
  166. package/protos/webui/service_gamenotes.proto +15 -15
  167. package/protos/webui/service_helprequestlogs.proto +26 -26
  168. package/protos/webui/service_loyaltyrewards.proto +252 -252
  169. package/protos/webui/service_marketingmessages.proto +184 -184
  170. package/protos/webui/service_mobileapp.proto +18 -18
  171. package/protos/webui/service_mobileauth.proto +24 -24
  172. package/protos/webui/service_mobiledevice.proto +26 -26
  173. package/protos/webui/service_mobileperaccount.proto +31 -31
  174. package/protos/webui/service_news.proto +101 -101
  175. package/protos/webui/service_parental.proto +178 -178
  176. package/protos/webui/service_partnermembershipinvite.proto +29 -29
  177. package/protos/webui/service_partnerstorebrowse.proto +6 -6
  178. package/protos/webui/service_phone.proto +51 -51
  179. package/protos/webui/service_physicalgoods.proto +15 -15
  180. package/protos/webui/service_player.proto +885 -885
  181. package/protos/webui/service_promotioneventinvites.proto +50 -50
  182. package/protos/webui/service_promotionplanning.proto +72 -72
  183. package/protos/webui/service_publishedfile.proto +687 -687
  184. package/protos/webui/service_publishing.proto +119 -119
  185. package/protos/webui/service_quest.proto +127 -127
  186. package/protos/webui/service_salefeature.proto +315 -315
  187. package/protos/webui/service_saleitemrewards.proto +54 -54
  188. package/protos/webui/service_shoppingcart.proto +108 -108
  189. package/protos/webui/service_steamawards.proto +19 -19
  190. package/protos/webui/service_steamcharts.proto +75 -75
  191. package/protos/webui/service_steamengine.proto +36 -36
  192. package/protos/webui/service_steamlearn.proto +727 -727
  193. package/protos/webui/service_steamnotification.proto +84 -84
  194. package/protos/webui/service_steamtv.proto +495 -495
  195. package/protos/webui/service_steamvrvoicechat.proto +67 -67
  196. package/protos/webui/service_steamvrwebrtc.proto +48 -48
  197. package/protos/webui/service_storagedevicemanager.proto +104 -104
  198. package/protos/webui/service_store.proto +289 -289
  199. package/protos/webui/service_storeappsimilarity.proto +76 -76
  200. package/protos/webui/service_storebrowse.proto +73 -73
  201. package/protos/webui/service_storequery.proto +97 -97
  202. package/protos/webui/service_storesales.proto +15 -15
  203. package/protos/webui/service_storetopsellers.proto +44 -44
  204. package/protos/webui/service_systemmanager.proto +11 -11
  205. package/protos/webui/service_test_transporterror.proto +6 -6
  206. package/protos/webui/service_transportauth.proto +12 -12
  207. package/protos/webui/service_transportvalidation.proto +69 -69
  208. package/protos/webui/service_twofactor.proto +181 -181
  209. package/protos/webui/service_useraccount.proto +138 -138
  210. package/protos/webui/service_usergameactivity.proto +34 -34
  211. package/protos/webui/service_usergamenotes.proto +53 -53
  212. package/protos/webui/service_usernews.proto +68 -68
  213. package/protos/webui/service_userreviews.proto +96 -96
  214. package/protos/webui/service_video.proto +128 -128
  215. package/protos/webui/service_voicechat.proto +139 -139
  216. package/protos/webui/service_webrtc.proto +52 -52
  217. package/.idea/deployment.xml +0 -21
@@ -1,150 +1,150 @@
1
- import "steammessages_base.proto";
2
- import "steammessages_unified_base.steamclient.proto";
3
-
4
- option cc_generic_services = true;
5
-
6
- message CEcon_GetInventoryItemsWithDescriptions_Request {
7
- message FilterOptions {
8
- repeated uint64 assetids = 1;
9
- repeated uint32 currencyids = 2;
10
- optional bool tradable_only = 3;
11
- optional bool marketable_only = 4;
12
- }
13
-
14
- optional fixed64 steamid = 1;
15
- optional uint32 appid = 2;
16
- optional uint64 contextid = 3;
17
- optional bool get_descriptions = 4;
18
- optional bool for_trade_offer_verification = 10;
19
- optional string language = 5;
20
- optional .CEcon_GetInventoryItemsWithDescriptions_Request.FilterOptions filters = 6;
21
- optional uint64 start_assetid = 8;
22
- optional int32 count = 9;
23
- }
24
-
25
- message CEcon_Asset {
26
- optional uint32 appid = 1;
27
- optional uint64 contextid = 2;
28
- optional uint64 assetid = 3;
29
- optional uint64 classid = 4;
30
- optional uint64 instanceid = 5;
31
- optional uint32 currencyid = 6 [(description) = "Set currencyid if it's a currency, assetid for an item"];
32
- optional int64 amount = 7;
33
- optional bool missing = 8;
34
- optional int64 est_usd = 9;
35
- }
36
-
37
- message CEconItem_DescriptionLine {
38
- optional string type = 1;
39
- optional string value = 2;
40
- optional string color = 3;
41
- optional string label = 4;
42
- }
43
-
44
- message CEconItem_Action {
45
- optional string link = 1;
46
- optional string name = 2;
47
- }
48
-
49
- message CEconItem_Description {
50
- optional int32 appid = 1;
51
- optional uint64 classid = 2;
52
- optional uint64 instanceid = 3;
53
- optional bool currency = 4;
54
- optional string background_color = 5;
55
- optional string icon_url = 6;
56
- optional string icon_url_large = 7;
57
- repeated .CEconItem_DescriptionLine descriptions = 8;
58
- optional bool tradable = 9;
59
- repeated .CEconItem_Action actions = 10;
60
- repeated .CEconItem_DescriptionLine owner_descriptions = 11;
61
- repeated .CEconItem_Action owner_actions = 12;
62
- repeated string fraudwarnings = 13;
63
- optional string name = 14;
64
- optional string name_color = 15;
65
- optional string type = 16;
66
- optional string market_name = 17;
67
- optional string market_hash_name = 18;
68
- optional string market_fee = 19;
69
- optional int32 market_fee_app = 28;
70
- optional .CEconItem_Description contained_item = 20;
71
- repeated .CEconItem_Action market_actions = 21;
72
- optional bool commodity = 22;
73
- optional int32 market_tradable_restriction = 23;
74
- optional int32 market_marketable_restriction = 24;
75
- optional bool marketable = 25;
76
- repeated .CEconItem_Tag tags = 26;
77
- optional string item_expiration = 27;
78
- optional string market_buy_country_restriction = 30;
79
- optional string market_sell_country_restriction = 31;
80
- }
81
-
82
- message CEconItem_Tag {
83
- optional uint32 appid = 1 [(description) = "The app that contains the item"];
84
- optional string category = 2 [(description) = "The internal name of the category the tag belongs to"];
85
- optional string internal_name = 3 [(description) = "The internal name of the tag"];
86
- optional string localized_category_name = 4 [(description) = "The localized name of the category"];
87
- optional string localized_tag_name = 5 [(description) = "The localized name of the tag"];
88
- optional string color = 6 [(description) = "The color to use when displaying the tag to the user"];
89
- }
90
-
91
- message CEcon_GetInventoryItemsWithDescriptions_Response {
92
- repeated .CEcon_Asset assets = 1;
93
- repeated .CEconItem_Description descriptions = 2;
94
- repeated .CEcon_Asset missing_assets = 3 [(description) = "This list of assets in the original list we could not find in the users inventory"];
95
- optional bool more_items = 4;
96
- optional uint64 last_assetid = 5;
97
- optional uint32 total_inventory_count = 6;
98
- }
99
-
100
- message CEcon_GetTradeOfferAccessToken_Request {
101
- optional bool generate_new_token = 1;
102
- }
103
-
104
- message CEcon_GetTradeOfferAccessToken_Response {
105
- optional string trade_offer_access_token = 1;
106
- }
107
-
108
- message CEcon_ClientGetItemShopOverlayAuthURL_Request {
109
- optional string return_url = 1;
110
- }
111
-
112
- message CEcon_ClientGetItemShopOverlayAuthURL_Response {
113
- optional string url = 1;
114
- }
115
-
116
- message CEcon_GetAssetClassInfo_Request {
117
- message Class {
118
- optional uint64 classid = 1;
119
- optional uint64 instanceid = 2;
120
- }
121
-
122
- optional string language = 1;
123
- optional uint32 appid = 2;
124
- repeated .CEcon_GetAssetClassInfo_Request.Class classes = 3;
125
- optional bool high_pri = 4;
126
- }
127
-
128
- message CEcon_GetAssetClassInfo_Response {
129
- repeated .CEconItem_Description descriptions = 1;
130
- }
131
-
132
- service Econ {
133
- option (service_description) = "A service that provides communication with the econ servers";
134
-
135
- rpc GetInventoryItemsWithDescriptions (.CEcon_GetInventoryItemsWithDescriptions_Request) returns (.CEcon_GetInventoryItemsWithDescriptions_Response) {
136
- option (method_description) = "Gets a set of items from a users inventory, along with descriptions";
137
- }
138
-
139
- rpc GetTradeOfferAccessToken (.CEcon_GetTradeOfferAccessToken_Request) returns (.CEcon_GetTradeOfferAccessToken_Response) {
140
- option (method_description) = "Get the user's trade offer access token";
141
- }
142
-
143
- rpc ClientGetItemShopOverlayAuthURL (.CEcon_ClientGetItemShopOverlayAuthURL_Request) returns (.CEcon_ClientGetItemShopOverlayAuthURL_Response) {
144
- option (method_description) = "Generates a URL which sets a secure cookie for in-game-browser itemshop purchases";
145
- }
146
-
147
- rpc GetAssetClassInfo (.CEcon_GetAssetClassInfo_Request) returns (.CEcon_GetAssetClassInfo_Response) {
148
- option (method_description) = "Returns description information about the passed in asset classes";
149
- }
150
- }
1
+ import "steammessages_base.proto";
2
+ import "steammessages_unified_base.steamclient.proto";
3
+
4
+ option cc_generic_services = true;
5
+
6
+ message CEcon_GetInventoryItemsWithDescriptions_Request {
7
+ message FilterOptions {
8
+ repeated uint64 assetids = 1;
9
+ repeated uint32 currencyids = 2;
10
+ optional bool tradable_only = 3;
11
+ optional bool marketable_only = 4;
12
+ }
13
+
14
+ optional fixed64 steamid = 1;
15
+ optional uint32 appid = 2;
16
+ optional uint64 contextid = 3;
17
+ optional bool get_descriptions = 4;
18
+ optional bool for_trade_offer_verification = 10;
19
+ optional string language = 5;
20
+ optional .CEcon_GetInventoryItemsWithDescriptions_Request.FilterOptions filters = 6;
21
+ optional uint64 start_assetid = 8;
22
+ optional int32 count = 9;
23
+ }
24
+
25
+ message CEcon_Asset {
26
+ optional uint32 appid = 1;
27
+ optional uint64 contextid = 2;
28
+ optional uint64 assetid = 3;
29
+ optional uint64 classid = 4;
30
+ optional uint64 instanceid = 5;
31
+ optional uint32 currencyid = 6 [(description) = "Set currencyid if it's a currency, assetid for an item"];
32
+ optional int64 amount = 7;
33
+ optional bool missing = 8;
34
+ optional int64 est_usd = 9;
35
+ }
36
+
37
+ message CEconItem_DescriptionLine {
38
+ optional string type = 1;
39
+ optional string value = 2;
40
+ optional string color = 3;
41
+ optional string label = 4;
42
+ }
43
+
44
+ message CEconItem_Action {
45
+ optional string link = 1;
46
+ optional string name = 2;
47
+ }
48
+
49
+ message CEconItem_Description {
50
+ optional int32 appid = 1;
51
+ optional uint64 classid = 2;
52
+ optional uint64 instanceid = 3;
53
+ optional bool currency = 4;
54
+ optional string background_color = 5;
55
+ optional string icon_url = 6;
56
+ optional string icon_url_large = 7;
57
+ repeated .CEconItem_DescriptionLine descriptions = 8;
58
+ optional bool tradable = 9;
59
+ repeated .CEconItem_Action actions = 10;
60
+ repeated .CEconItem_DescriptionLine owner_descriptions = 11;
61
+ repeated .CEconItem_Action owner_actions = 12;
62
+ repeated string fraudwarnings = 13;
63
+ optional string name = 14;
64
+ optional string name_color = 15;
65
+ optional string type = 16;
66
+ optional string market_name = 17;
67
+ optional string market_hash_name = 18;
68
+ optional string market_fee = 19;
69
+ optional int32 market_fee_app = 28;
70
+ optional .CEconItem_Description contained_item = 20;
71
+ repeated .CEconItem_Action market_actions = 21;
72
+ optional bool commodity = 22;
73
+ optional int32 market_tradable_restriction = 23;
74
+ optional int32 market_marketable_restriction = 24;
75
+ optional bool marketable = 25;
76
+ repeated .CEconItem_Tag tags = 26;
77
+ optional string item_expiration = 27;
78
+ optional string market_buy_country_restriction = 30;
79
+ optional string market_sell_country_restriction = 31;
80
+ }
81
+
82
+ message CEconItem_Tag {
83
+ optional uint32 appid = 1 [(description) = "The app that contains the item"];
84
+ optional string category = 2 [(description) = "The internal name of the category the tag belongs to"];
85
+ optional string internal_name = 3 [(description) = "The internal name of the tag"];
86
+ optional string localized_category_name = 4 [(description) = "The localized name of the category"];
87
+ optional string localized_tag_name = 5 [(description) = "The localized name of the tag"];
88
+ optional string color = 6 [(description) = "The color to use when displaying the tag to the user"];
89
+ }
90
+
91
+ message CEcon_GetInventoryItemsWithDescriptions_Response {
92
+ repeated .CEcon_Asset assets = 1;
93
+ repeated .CEconItem_Description descriptions = 2;
94
+ repeated .CEcon_Asset missing_assets = 3 [(description) = "This list of assets in the original list we could not find in the users inventory"];
95
+ optional bool more_items = 4;
96
+ optional uint64 last_assetid = 5;
97
+ optional uint32 total_inventory_count = 6;
98
+ }
99
+
100
+ message CEcon_GetTradeOfferAccessToken_Request {
101
+ optional bool generate_new_token = 1;
102
+ }
103
+
104
+ message CEcon_GetTradeOfferAccessToken_Response {
105
+ optional string trade_offer_access_token = 1;
106
+ }
107
+
108
+ message CEcon_ClientGetItemShopOverlayAuthURL_Request {
109
+ optional string return_url = 1;
110
+ }
111
+
112
+ message CEcon_ClientGetItemShopOverlayAuthURL_Response {
113
+ optional string url = 1;
114
+ }
115
+
116
+ message CEcon_GetAssetClassInfo_Request {
117
+ message Class {
118
+ optional uint64 classid = 1;
119
+ optional uint64 instanceid = 2;
120
+ }
121
+
122
+ optional string language = 1;
123
+ optional uint32 appid = 2;
124
+ repeated .CEcon_GetAssetClassInfo_Request.Class classes = 3;
125
+ optional bool high_pri = 4;
126
+ }
127
+
128
+ message CEcon_GetAssetClassInfo_Response {
129
+ repeated .CEconItem_Description descriptions = 1;
130
+ }
131
+
132
+ service Econ {
133
+ option (service_description) = "A service that provides communication with the econ servers";
134
+
135
+ rpc GetInventoryItemsWithDescriptions (.CEcon_GetInventoryItemsWithDescriptions_Request) returns (.CEcon_GetInventoryItemsWithDescriptions_Response) {
136
+ option (method_description) = "Gets a set of items from a users inventory, along with descriptions";
137
+ }
138
+
139
+ rpc GetTradeOfferAccessToken (.CEcon_GetTradeOfferAccessToken_Request) returns (.CEcon_GetTradeOfferAccessToken_Response) {
140
+ option (method_description) = "Get the user's trade offer access token";
141
+ }
142
+
143
+ rpc ClientGetItemShopOverlayAuthURL (.CEcon_ClientGetItemShopOverlayAuthURL_Request) returns (.CEcon_ClientGetItemShopOverlayAuthURL_Response) {
144
+ option (method_description) = "Generates a URL which sets a secure cookie for in-game-browser itemshop purchases";
145
+ }
146
+
147
+ rpc GetAssetClassInfo (.CEcon_GetAssetClassInfo_Request) returns (.CEcon_GetAssetClassInfo_Response) {
148
+ option (method_description) = "Returns description information about the passed in asset classes";
149
+ }
150
+ }
@@ -1,168 +1,168 @@
1
- import "steammessages_base.proto";
2
- import "steammessages_unified_base.steamclient.proto";
3
-
4
- option cc_generic_services = true;
5
-
6
- enum EMessageReactionType {
7
- k_EMessageReactionType_Invalid = 0;
8
- k_EMessageReactionType_Emoticon = 1;
9
- k_EMessageReactionType_Sticker = 2;
10
- }
11
-
12
- message CFriendMessages_GetRecentMessages_Request {
13
- optional fixed64 steamid1 = 1;
14
- optional fixed64 steamid2 = 2;
15
- optional uint32 count = 3 [(description) = "If non-zero, cap the number of recent messages to return."];
16
- optional bool most_recent_conversation = 4 [(description) = "Grab the block of chat from the most recent conversation (a ~5 minute period)"];
17
- optional fixed32 rtime32_start_time = 5 [(description) = "If non-zero, return only messages with timestamps greater or equal to this. If zero, we only return messages from a recent time cutoff."];
18
- optional bool bbcode_format = 6 [(description) = "Return the results with bbcode formatting."];
19
- optional uint32 start_ordinal = 7 [(description) = "Combined with start time, only messages after this ordinal are returned (dedupes messages in same second)"];
20
- optional uint32 time_last = 8 [(description) = "if present/non-zero, return only messages before this."];
21
- optional uint32 ordinal_last = 9;
22
- }
23
-
24
- message CFriendMessages_GetRecentMessages_Response {
25
- message FriendMessage {
26
- message MessageReaction {
27
- optional .EMessageReactionType reaction_type = 1 [default = k_EMessageReactionType_Invalid];
28
- optional string reaction = 2;
29
- repeated uint32 reactors = 3;
30
- }
31
-
32
- optional uint32 accountid = 1;
33
- optional uint32 timestamp = 2;
34
- optional string message = 3;
35
- optional uint32 ordinal = 4;
36
- repeated .CFriendMessages_GetRecentMessages_Response.FriendMessage.MessageReaction reactions = 5;
37
- }
38
-
39
- repeated .CFriendMessages_GetRecentMessages_Response.FriendMessage messages = 1 [(description) = "Array of messages, returned newest to oldest."];
40
- optional bool more_available = 4;
41
- }
42
-
43
- message CFriendsMessages_GetActiveMessageSessions_Request {
44
- optional uint32 lastmessage_since = 1 [(description) = "return only session information where a chat message has been sent since this time (for polling)"];
45
- optional bool only_sessions_with_messages = 2 [(description) = "If non-zero, return only message sessions that have messages since our message cutoff. If zero, we return all active sessions."];
46
- }
47
-
48
- message CFriendsMessages_GetActiveMessageSessions_Response {
49
- message FriendMessageSession {
50
- optional uint32 accountid_friend = 1;
51
- optional uint32 last_message = 2;
52
- optional uint32 last_view = 3;
53
- optional uint32 unread_message_count = 4;
54
- }
55
-
56
- repeated .CFriendsMessages_GetActiveMessageSessions_Response.FriendMessageSession message_sessions = 1;
57
- optional uint32 timestamp = 2 [(description) = "This should be passed in the next request as lastmessage_since to poll for updates"];
58
- }
59
-
60
- message CFriendMessages_SendMessage_Request {
61
- optional fixed64 steamid = 1;
62
- optional int32 chat_entry_type = 2;
63
- optional string message = 3;
64
- optional bool contains_bbcode = 4;
65
- optional bool echo_to_sender = 5;
66
- optional bool low_priority = 6;
67
- optional string client_message_id = 8;
68
- }
69
-
70
- message CFriendMessages_SendMessage_Response {
71
- optional string modified_message = 1;
72
- optional uint32 server_timestamp = 2;
73
- optional uint32 ordinal = 3;
74
- optional string message_without_bb_code = 4;
75
- }
76
-
77
- message CFriendMessages_AckMessage_Notification {
78
- optional fixed64 steamid_partner = 1;
79
- optional uint32 timestamp = 2;
80
- }
81
-
82
- message CFriendMessages_IsInFriendsUIBeta_Request {
83
- optional fixed64 steamid = 1;
84
- }
85
-
86
- message CFriendMessages_IsInFriendsUIBeta_Response {
87
- optional bool online_in_friendsui = 1;
88
- optional bool has_used_friendsui = 2;
89
- }
90
-
91
- message CFriendMessages_UpdateMessageReaction_Request {
92
- optional fixed64 steamid = 1;
93
- optional uint32 server_timestamp = 2;
94
- optional uint32 ordinal = 3;
95
- optional .EMessageReactionType reaction_type = 4 [default = k_EMessageReactionType_Invalid];
96
- optional string reaction = 5;
97
- optional bool is_add = 6;
98
- }
99
-
100
- message CFriendMessages_UpdateMessageReaction_Response {
101
- repeated uint32 reactors = 1;
102
- }
103
-
104
- message CFriendMessages_IncomingMessage_Notification {
105
- optional fixed64 steamid_friend = 1;
106
- optional int32 chat_entry_type = 2;
107
- optional bool from_limited_account = 3;
108
- optional string message = 4;
109
- optional fixed32 rtime32_server_timestamp = 5;
110
- optional uint32 ordinal = 6;
111
- optional bool local_echo = 7;
112
- optional string message_no_bbcode = 8;
113
- optional bool low_priority = 9;
114
- }
115
-
116
- message CFriendMessages_MessageReaction_Notification {
117
- optional fixed64 steamid_friend = 1;
118
- optional uint32 server_timestamp = 2;
119
- optional uint32 ordinal = 3;
120
- optional fixed64 reactor = 4;
121
- optional .EMessageReactionType reaction_type = 5 [default = k_EMessageReactionType_Invalid];
122
- optional string reaction = 6;
123
- optional bool is_add = 7;
124
- }
125
-
126
- service FriendMessages {
127
- option (service_description) = "A service for relaying and logging friend messages (user-to-user chats and offline messaging)";
128
-
129
- rpc GetRecentMessages (.CFriendMessages_GetRecentMessages_Request) returns (.CFriendMessages_GetRecentMessages_Response) {
130
- option (method_description) = "Get a log of recent chat messages between two users";
131
- }
132
-
133
- rpc GetActiveMessageSessions (.CFriendsMessages_GetActiveMessageSessions_Request) returns (.CFriendsMessages_GetActiveMessageSessions_Response) {
134
- option (method_description) = "Get information about recent offline messages and chats";
135
- }
136
-
137
- rpc SendMessage (.CFriendMessages_SendMessage_Request) returns (.CFriendMessages_SendMessage_Response) {
138
- option (method_description) = "Send a chat message to a friend";
139
- }
140
-
141
- rpc AckMessage (.CFriendMessages_AckMessage_Notification) returns (.NoResponse) {
142
- option (method_description) = "Acknowledge that we have seen the most recent message from a friend";
143
- }
144
-
145
- rpc IsInFriendsUIBeta (.CFriendMessages_IsInFriendsUIBeta_Request) returns (.CFriendMessages_IsInFriendsUIBeta_Response) {
146
- option (method_description) = "See if a friend is in the friendsui beta.";
147
- }
148
-
149
- rpc UpdateMessageReaction (.CFriendMessages_UpdateMessageReaction_Request) returns (.CFriendMessages_UpdateMessageReaction_Response) {
150
- option (method_description) = "Adds/removes a reaction to/from a friend message";
151
- }
152
- }
153
-
154
- service FriendMessagesClient {
155
- option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
156
-
157
- rpc IncomingMessage (.CFriendMessages_IncomingMessage_Notification) returns (.NoResponse) {
158
- option (method_description) = "New chat message from a friend.";
159
- }
160
-
161
- rpc NotifyAckMessageEcho (.CFriendMessages_AckMessage_Notification) returns (.NoResponse) {
162
- option (method_description) = "A session acked an unread message, echo to other sessions.";
163
- }
164
-
165
- rpc MessageReaction (.CFriendMessages_MessageReaction_Notification) returns (.NoResponse) {
166
- option (method_description) = "New message reaction from a friend.";
167
- }
168
- }
1
+ import "steammessages_base.proto";
2
+ import "steammessages_unified_base.steamclient.proto";
3
+
4
+ option cc_generic_services = true;
5
+
6
+ enum EMessageReactionType {
7
+ k_EMessageReactionType_Invalid = 0;
8
+ k_EMessageReactionType_Emoticon = 1;
9
+ k_EMessageReactionType_Sticker = 2;
10
+ }
11
+
12
+ message CFriendMessages_GetRecentMessages_Request {
13
+ optional fixed64 steamid1 = 1;
14
+ optional fixed64 steamid2 = 2;
15
+ optional uint32 count = 3 [(description) = "If non-zero, cap the number of recent messages to return."];
16
+ optional bool most_recent_conversation = 4 [(description) = "Grab the block of chat from the most recent conversation (a ~5 minute period)"];
17
+ optional fixed32 rtime32_start_time = 5 [(description) = "If non-zero, return only messages with timestamps greater or equal to this. If zero, we only return messages from a recent time cutoff."];
18
+ optional bool bbcode_format = 6 [(description) = "Return the results with bbcode formatting."];
19
+ optional uint32 start_ordinal = 7 [(description) = "Combined with start time, only messages after this ordinal are returned (dedupes messages in same second)"];
20
+ optional uint32 time_last = 8 [(description) = "if present/non-zero, return only messages before this."];
21
+ optional uint32 ordinal_last = 9;
22
+ }
23
+
24
+ message CFriendMessages_GetRecentMessages_Response {
25
+ message FriendMessage {
26
+ message MessageReaction {
27
+ optional .EMessageReactionType reaction_type = 1 [default = k_EMessageReactionType_Invalid];
28
+ optional string reaction = 2;
29
+ repeated uint32 reactors = 3;
30
+ }
31
+
32
+ optional uint32 accountid = 1;
33
+ optional uint32 timestamp = 2;
34
+ optional string message = 3;
35
+ optional uint32 ordinal = 4;
36
+ repeated .CFriendMessages_GetRecentMessages_Response.FriendMessage.MessageReaction reactions = 5;
37
+ }
38
+
39
+ repeated .CFriendMessages_GetRecentMessages_Response.FriendMessage messages = 1 [(description) = "Array of messages, returned newest to oldest."];
40
+ optional bool more_available = 4;
41
+ }
42
+
43
+ message CFriendsMessages_GetActiveMessageSessions_Request {
44
+ optional uint32 lastmessage_since = 1 [(description) = "return only session information where a chat message has been sent since this time (for polling)"];
45
+ optional bool only_sessions_with_messages = 2 [(description) = "If non-zero, return only message sessions that have messages since our message cutoff. If zero, we return all active sessions."];
46
+ }
47
+
48
+ message CFriendsMessages_GetActiveMessageSessions_Response {
49
+ message FriendMessageSession {
50
+ optional uint32 accountid_friend = 1;
51
+ optional uint32 last_message = 2;
52
+ optional uint32 last_view = 3;
53
+ optional uint32 unread_message_count = 4;
54
+ }
55
+
56
+ repeated .CFriendsMessages_GetActiveMessageSessions_Response.FriendMessageSession message_sessions = 1;
57
+ optional uint32 timestamp = 2 [(description) = "This should be passed in the next request as lastmessage_since to poll for updates"];
58
+ }
59
+
60
+ message CFriendMessages_SendMessage_Request {
61
+ optional fixed64 steamid = 1;
62
+ optional int32 chat_entry_type = 2;
63
+ optional string message = 3;
64
+ optional bool contains_bbcode = 4;
65
+ optional bool echo_to_sender = 5;
66
+ optional bool low_priority = 6;
67
+ optional string client_message_id = 8;
68
+ }
69
+
70
+ message CFriendMessages_SendMessage_Response {
71
+ optional string modified_message = 1;
72
+ optional uint32 server_timestamp = 2;
73
+ optional uint32 ordinal = 3;
74
+ optional string message_without_bb_code = 4;
75
+ }
76
+
77
+ message CFriendMessages_AckMessage_Notification {
78
+ optional fixed64 steamid_partner = 1;
79
+ optional uint32 timestamp = 2;
80
+ }
81
+
82
+ message CFriendMessages_IsInFriendsUIBeta_Request {
83
+ optional fixed64 steamid = 1;
84
+ }
85
+
86
+ message CFriendMessages_IsInFriendsUIBeta_Response {
87
+ optional bool online_in_friendsui = 1;
88
+ optional bool has_used_friendsui = 2;
89
+ }
90
+
91
+ message CFriendMessages_UpdateMessageReaction_Request {
92
+ optional fixed64 steamid = 1;
93
+ optional uint32 server_timestamp = 2;
94
+ optional uint32 ordinal = 3;
95
+ optional .EMessageReactionType reaction_type = 4 [default = k_EMessageReactionType_Invalid];
96
+ optional string reaction = 5;
97
+ optional bool is_add = 6;
98
+ }
99
+
100
+ message CFriendMessages_UpdateMessageReaction_Response {
101
+ repeated uint32 reactors = 1;
102
+ }
103
+
104
+ message CFriendMessages_IncomingMessage_Notification {
105
+ optional fixed64 steamid_friend = 1;
106
+ optional int32 chat_entry_type = 2;
107
+ optional bool from_limited_account = 3;
108
+ optional string message = 4;
109
+ optional fixed32 rtime32_server_timestamp = 5;
110
+ optional uint32 ordinal = 6;
111
+ optional bool local_echo = 7;
112
+ optional string message_no_bbcode = 8;
113
+ optional bool low_priority = 9;
114
+ }
115
+
116
+ message CFriendMessages_MessageReaction_Notification {
117
+ optional fixed64 steamid_friend = 1;
118
+ optional uint32 server_timestamp = 2;
119
+ optional uint32 ordinal = 3;
120
+ optional fixed64 reactor = 4;
121
+ optional .EMessageReactionType reaction_type = 5 [default = k_EMessageReactionType_Invalid];
122
+ optional string reaction = 6;
123
+ optional bool is_add = 7;
124
+ }
125
+
126
+ service FriendMessages {
127
+ option (service_description) = "A service for relaying and logging friend messages (user-to-user chats and offline messaging)";
128
+
129
+ rpc GetRecentMessages (.CFriendMessages_GetRecentMessages_Request) returns (.CFriendMessages_GetRecentMessages_Response) {
130
+ option (method_description) = "Get a log of recent chat messages between two users";
131
+ }
132
+
133
+ rpc GetActiveMessageSessions (.CFriendsMessages_GetActiveMessageSessions_Request) returns (.CFriendsMessages_GetActiveMessageSessions_Response) {
134
+ option (method_description) = "Get information about recent offline messages and chats";
135
+ }
136
+
137
+ rpc SendMessage (.CFriendMessages_SendMessage_Request) returns (.CFriendMessages_SendMessage_Response) {
138
+ option (method_description) = "Send a chat message to a friend";
139
+ }
140
+
141
+ rpc AckMessage (.CFriendMessages_AckMessage_Notification) returns (.NoResponse) {
142
+ option (method_description) = "Acknowledge that we have seen the most recent message from a friend";
143
+ }
144
+
145
+ rpc IsInFriendsUIBeta (.CFriendMessages_IsInFriendsUIBeta_Request) returns (.CFriendMessages_IsInFriendsUIBeta_Response) {
146
+ option (method_description) = "See if a friend is in the friendsui beta.";
147
+ }
148
+
149
+ rpc UpdateMessageReaction (.CFriendMessages_UpdateMessageReaction_Request) returns (.CFriendMessages_UpdateMessageReaction_Response) {
150
+ option (method_description) = "Adds/removes a reaction to/from a friend message";
151
+ }
152
+ }
153
+
154
+ service FriendMessagesClient {
155
+ option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
156
+
157
+ rpc IncomingMessage (.CFriendMessages_IncomingMessage_Notification) returns (.NoResponse) {
158
+ option (method_description) = "New chat message from a friend.";
159
+ }
160
+
161
+ rpc NotifyAckMessageEcho (.CFriendMessages_AckMessage_Notification) returns (.NoResponse) {
162
+ option (method_description) = "A session acked an unread message, echo to other sessions.";
163
+ }
164
+
165
+ rpc MessageReaction (.CFriendMessages_MessageReaction_Notification) returns (.NoResponse) {
166
+ option (method_description) = "New message reaction from a friend.";
167
+ }
168
+ }