steamutils 1.3.64 → 1.3.66

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. package/SteamClient.js +12 -10
  2. package/index.js +96 -0
  3. package/package.json +2 -2
  4. package/protos/csgo/base_gcmessages.proto +553 -0
  5. package/protos/csgo/connectionless_netmessages.proto +0 -2
  6. package/protos/csgo/cs_gameevents.proto +1 -0
  7. package/protos/csgo/cstrike15_gcmessages.proto +41 -12
  8. package/protos/csgo/cstrike15_usermessages.proto +0 -4
  9. package/protos/csgo/demo.proto +5 -0
  10. package/protos/csgo/econ_gcmessages.proto +0 -9
  11. package/protos/csgo/gcsdk_gcmessages.proto +2 -2
  12. package/protos/csgo/gcsystemmsgs.proto +1 -0
  13. package/protos/csgo/netmessages.proto +22 -8
  14. package/protos/csgo/networkbasetypes.proto +2 -0
  15. package/protos/csgo/steammessages.proto +23 -0
  16. package/protos/csgo/usercmd.proto +2 -1
  17. package/protos/csgo/usermessages.proto +31 -0
  18. package/protos/steam/enums.proto +58 -1
  19. package/protos/steam/enums_clientserver.proto +3 -34
  20. package/protos/steam/enums_productinfo.proto +1 -0
  21. package/protos/steam/htmlmessages.proto +12 -0
  22. package/protos/steam/steamdatagram_messages_sdr.proto +1 -1
  23. package/protos/steam/steammessages_accounthardware.steamclient.proto +18 -52
  24. package/protos/steam/steammessages_appoverview.proto +18 -1
  25. package/protos/steam/steammessages_auth.steamclient.proto +128 -188
  26. package/protos/steam/steammessages_base.proto +3 -0
  27. package/protos/steam/steammessages_broadcast.steamclient.proto +126 -267
  28. package/protos/steam/steammessages_chat.steamclient.proto +79 -290
  29. package/protos/steam/steammessages_client_objects.proto +4 -0
  30. package/protos/steam/steammessages_clientlanp2p.proto +1 -0
  31. package/protos/steam/steammessages_clientmetrics.steamclient.proto +0 -2
  32. package/protos/steam/steammessages_clientnotificationtypes.proto +19 -0
  33. package/protos/steam/steammessages_clientserver_2.proto +11 -0
  34. package/protos/steam/steammessages_clientserver_login.proto +1 -1
  35. package/protos/steam/steammessages_clientserver_mms.proto +228 -235
  36. package/protos/steam/steammessages_clientserver_ucm.proto +2 -0
  37. package/protos/steam/steammessages_clientserver_uds.proto +1 -0
  38. package/protos/steam/steammessages_clientserver_ufs.proto +0 -127
  39. package/protos/steam/steammessages_clientsettings.proto +46 -6
  40. package/protos/steam/steammessages_cloud.steamclient.proto +158 -249
  41. package/protos/steam/steammessages_contentsystem.steamclient.proto +16 -8
  42. package/protos/steam/steammessages_credentials.steamclient.proto +7 -26
  43. package/protos/steam/steammessages_datapublisher.steamclient.proto +30 -44
  44. package/protos/steam/steammessages_depotbuilder.steamclient.proto +6 -25
  45. package/protos/steam/steammessages_deviceauth.steamclient.proto +11 -45
  46. package/protos/steam/steammessages_econ.steamclient.proto +12 -25
  47. package/protos/steam/steammessages_familygroups.steamclient.proto +441 -0
  48. package/protos/steam/steammessages_friendmessages.steamclient.proto +19 -46
  49. package/protos/steam/steammessages_gamenetworking.steamclient.proto +2 -9
  50. package/protos/steam/steammessages_gamenotifications.steamclient.proto +57 -82
  51. package/protos/steam/steammessages_gameservers.steamclient.proto +13 -29
  52. package/protos/steam/steammessages_inventory.steamclient.proto +21 -73
  53. package/protos/steam/steammessages_linkfilter.steamclient.proto +14 -24
  54. package/protos/steam/steammessages_lobbymatchmaking.steamclient.proto +1 -5
  55. package/protos/steam/steammessages_market.steamclient.proto +9 -13
  56. package/protos/steam/steammessages_marketingmessages.steamclient.proto +59 -60
  57. package/protos/steam/steammessages_offline.steamclient.proto +2 -9
  58. package/protos/steam/steammessages_parental.steamclient.proto +100 -66
  59. package/protos/steam/steammessages_parties.steamclient.proto +6 -25
  60. package/protos/steam/steammessages_partnerapps.steamclient.proto +11 -43
  61. package/protos/steam/steammessages_player.steamclient.proto +133 -278
  62. package/protos/steam/steammessages_publishedfile.steamclient.proto +213 -289
  63. package/protos/steam/steammessages_qms.steamclient.proto +4 -18
  64. package/protos/steam/steammessages_remoteclient.proto +2 -1
  65. package/protos/steam/steammessages_remoteclient_discovery.proto +9 -0
  66. package/protos/steam/steammessages_remoteclient_service.steamclient.proto +18 -73
  67. package/protos/steam/steammessages_remoteplay.proto +1 -2
  68. package/protos/steam/steammessages_secrets.steamclient.proto +1 -5
  69. package/protos/steam/steammessages_shader.steamclient.proto +6 -25
  70. package/protos/steam/steammessages_site_license.steamclient.proto +8 -33
  71. package/protos/steam/steammessages_steamtv.steamclient.proto +169 -266
  72. package/protos/steam/steammessages_store.steamclient.proto +110 -77
  73. package/protos/steam/steammessages_storebrowse.steamclient.proto +170 -115
  74. package/protos/steam/steammessages_timedtrial.steamclient.proto +3 -13
  75. package/protos/steam/steammessages_twofactor.steamclient.proto +92 -121
  76. package/protos/steam/steammessages_unified_base.steamclient.proto +12 -0
  77. package/protos/steam/steammessages_unified_test.steamclient.proto +10 -20
  78. package/protos/steam/steammessages_useraccount.steamclient.proto +26 -64
  79. package/protos/steam/steammessages_vac.steamclient.proto +2 -9
  80. package/protos/steam/steammessages_video.steamclient.proto +25 -128
  81. package/protos/steam/steammessages_workshop.steamclient.proto +1 -5
  82. package/protos/steam/webuimessages_achievements.proto +29 -0
  83. package/protos/steam/webuimessages_gamescope.proto +57 -0
  84. package/protos/steam/webuimessages_steamengine.proto +9 -0
  85. package/protos/steam/webuimessages_steamos.proto +114 -0
  86. package/protos/steam/webuimessages_transport.proto +4 -0
  87. package/protos/steam/webuimessages_transportvalidation.proto +14 -0
  88. package/test_steamclient.js +4 -3
  89. package/protos/csgo/steammessages_steamlearn.steamworkssdk.proto +0 -357
  90. package/protos/steam/renderer/rendermessages.proto +0 -893
  91. package/protos/steam/steammessages_star.steamclient.proto +0 -64
  92. package/protos/webui/common.proto +0 -5508
  93. package/protos/webui/common_base.proto +0 -27
  94. package/protos/webui/service_accountlinking.proto +0 -27
  95. package/protos/webui/service_accountprivacy.proto +0 -42
  96. package/protos/webui/service_auction.proto +0 -97
  97. package/protos/webui/service_authentication.proto +0 -222
  98. package/protos/webui/service_authenticationsupport.proto +0 -74
  99. package/protos/webui/service_broadcast.proto +0 -562
  100. package/protos/webui/service_chat.proto +0 -11
  101. package/protos/webui/service_chatroom.proto +0 -810
  102. package/protos/webui/service_chatusability.proto +0 -107
  103. package/protos/webui/service_clan.proto +0 -41
  104. package/protos/webui/service_clanchatrooms.proto +0 -25
  105. package/protos/webui/service_clanfaqs.proto +0 -202
  106. package/protos/webui/service_clientcomm.proto +0 -150
  107. package/protos/webui/service_clientmetrics.proto +0 -63
  108. package/protos/webui/service_cloud.proto +0 -222
  109. package/protos/webui/service_cloudconfigstore.proto +0 -51
  110. package/protos/webui/service_cloudgaming.proto +0 -30
  111. package/protos/webui/service_community.proto +0 -365
  112. package/protos/webui/service_econ.proto +0 -134
  113. package/protos/webui/service_embedded.proto +0 -24
  114. package/protos/webui/service_experimentservice.proto +0 -6
  115. package/protos/webui/service_fovasvideo.proto +0 -15
  116. package/protos/webui/service_friendmessages.proto +0 -133
  117. package/protos/webui/service_friendslist.proto +0 -70
  118. package/protos/webui/service_gamenotes.proto +0 -15
  119. package/protos/webui/service_helprequestlogs.proto +0 -26
  120. package/protos/webui/service_loyaltyrewards.proto +0 -252
  121. package/protos/webui/service_marketingmessages.proto +0 -184
  122. package/protos/webui/service_mobileapp.proto +0 -18
  123. package/protos/webui/service_mobileauth.proto +0 -24
  124. package/protos/webui/service_mobiledevice.proto +0 -26
  125. package/protos/webui/service_mobileperaccount.proto +0 -31
  126. package/protos/webui/service_news.proto +0 -101
  127. package/protos/webui/service_parental.proto +0 -178
  128. package/protos/webui/service_partnermembershipinvite.proto +0 -29
  129. package/protos/webui/service_partnerstorebrowse.proto +0 -6
  130. package/protos/webui/service_phone.proto +0 -51
  131. package/protos/webui/service_physicalgoods.proto +0 -15
  132. package/protos/webui/service_player.proto +0 -885
  133. package/protos/webui/service_promotioneventinvites.proto +0 -50
  134. package/protos/webui/service_promotionplanning.proto +0 -72
  135. package/protos/webui/service_publishedfile.proto +0 -687
  136. package/protos/webui/service_publishing.proto +0 -119
  137. package/protos/webui/service_quest.proto +0 -127
  138. package/protos/webui/service_salefeature.proto +0 -315
  139. package/protos/webui/service_saleitemrewards.proto +0 -54
  140. package/protos/webui/service_shoppingcart.proto +0 -108
  141. package/protos/webui/service_steamawards.proto +0 -19
  142. package/protos/webui/service_steamcharts.proto +0 -75
  143. package/protos/webui/service_steamengine.proto +0 -36
  144. package/protos/webui/service_steamlearn.proto +0 -727
  145. package/protos/webui/service_steamnotification.proto +0 -84
  146. package/protos/webui/service_steamtv.proto +0 -495
  147. package/protos/webui/service_steamvrvoicechat.proto +0 -67
  148. package/protos/webui/service_steamvrwebrtc.proto +0 -48
  149. package/protos/webui/service_storagedevicemanager.proto +0 -104
  150. package/protos/webui/service_store.proto +0 -289
  151. package/protos/webui/service_storeappsimilarity.proto +0 -76
  152. package/protos/webui/service_storebrowse.proto +0 -73
  153. package/protos/webui/service_storequery.proto +0 -97
  154. package/protos/webui/service_storesales.proto +0 -15
  155. package/protos/webui/service_storetopsellers.proto +0 -44
  156. package/protos/webui/service_systemmanager.proto +0 -11
  157. package/protos/webui/service_test_transporterror.proto +0 -6
  158. package/protos/webui/service_transportauth.proto +0 -12
  159. package/protos/webui/service_transportvalidation.proto +0 -69
  160. package/protos/webui/service_twofactor.proto +0 -181
  161. package/protos/webui/service_useraccount.proto +0 -138
  162. package/protos/webui/service_usergameactivity.proto +0 -34
  163. package/protos/webui/service_usergamenotes.proto +0 -53
  164. package/protos/webui/service_usernews.proto +0 -68
  165. package/protos/webui/service_userreviews.proto +0 -96
  166. package/protos/webui/service_video.proto +0 -128
  167. package/protos/webui/service_voicechat.proto +0 -139
  168. package/protos/webui/service_webrtc.proto +0 -52
@@ -4,94 +4,94 @@ import "steammessages_unified_base.steamclient.proto";
4
4
  option cc_generic_services = true;
5
5
 
6
6
  message CGameNotifications_Variable {
7
- optional string key = 1 [(description) = "The name of the variable in the localized text -- anywhere that %variablename% is found within the text it will be substituded with the given value"];
8
- optional string value = 2 [(description) = "The value of the variable to substitute in the localized text in place of the given variable. Can itself be a localization token."];
7
+ optional string key = 1;
8
+ optional string value = 2;
9
9
  }
10
10
 
11
11
  message CGameNotifications_LocalizedText {
12
- optional string token = 1 [(description) = "A localization token that maps to the desired string."];
13
- repeated .CGameNotifications_Variable variables = 2 [(description) = "A list of variables values to substitute in any variables found in the localized string."];
14
- optional string rendered_text = 3 [(description) = "Text rendered in the requested language, complete with variable substitutions, if a language was specified."];
12
+ optional string token = 1;
13
+ repeated .CGameNotifications_Variable variables = 2;
14
+ optional string rendered_text = 3;
15
15
  }
16
16
 
17
17
  message CGameNotifications_UserStatus {
18
- optional fixed64 steamid = 1 [(description) = "The specific user's steamid."];
19
- optional string state = 2 [(description) = "The user's state. ready -- the user is ready to play. waiting -- The game is waiting on an action from the user. completed, the game is over."];
20
- optional .CGameNotifications_LocalizedText title = 3 [(description) = "Title of the session to display to this user in their list of active sessions."];
21
- optional .CGameNotifications_LocalizedText message = 4 [(description) = "Subtitle of the session to display to this user user within their list of active sessions."];
18
+ optional fixed64 steamid = 1;
19
+ optional string state = 2;
20
+ optional .CGameNotifications_LocalizedText title = 3;
21
+ optional .CGameNotifications_LocalizedText message = 4;
22
22
  }
23
23
 
24
24
  message CGameNotifications_CreateSession_Request {
25
- optional uint32 appid = 1 [(description) = "The appid to create the session for."];
26
- optional uint64 context = 2 [(description) = "Game-specified context value the game can used to associate the session with some object on their backend."];
27
- optional .CGameNotifications_LocalizedText title = 3 [(description) = "The title of the session to be displayed within each user's list of sessions."];
28
- repeated .CGameNotifications_UserStatus users = 4 [(description) = "The initial state of all users in the session."];
29
- optional fixed64 steamid = 5 [(description) = "(Optional) steamid to make the request on behalf of -- if specified, the user must be in the session and all users being added to the session must be friends with the user."];
25
+ optional uint32 appid = 1;
26
+ optional uint64 context = 2;
27
+ optional .CGameNotifications_LocalizedText title = 3;
28
+ repeated .CGameNotifications_UserStatus users = 4;
29
+ optional fixed64 steamid = 5;
30
30
  }
31
31
 
32
32
  message CGameNotifications_CreateSession_Response {
33
- optional uint64 sessionid = 1 [(description) = "The sessionid of the created session."];
33
+ optional uint64 sessionid = 1;
34
34
  }
35
35
 
36
36
  message CGameNotifications_DeleteSession_Request {
37
- optional uint64 sessionid = 1 [(description) = "The sessionid to delete."];
38
- optional uint32 appid = 2 [(description) = "The appid of the session to delete."];
39
- optional fixed64 steamid = 3 [(description) = "(Optional) steamid to make the request on behalf of -- if specified, the user must be in the session."];
37
+ optional uint64 sessionid = 1;
38
+ optional uint32 appid = 2;
39
+ optional fixed64 steamid = 3;
40
40
  }
41
41
 
42
42
  message CGameNotifications_DeleteSession_Response {
43
43
  }
44
44
 
45
45
  message CGameNotifications_UpdateSession_Request {
46
- optional uint64 sessionid = 1 [(description) = "The sessionid to update."];
47
- optional uint32 appid = 2 [(description) = "The appid of the session to update."];
48
- optional .CGameNotifications_LocalizedText title = 3 [(description) = "(Optional) The new title of the session. If not specified, the title will not be changed."];
49
- repeated .CGameNotifications_UserStatus users = 4 [(description) = "(Optional) A list of users whose state will be updated to reflect the given state. If the users are not already in the session, they will be added to it."];
50
- optional fixed64 steamid = 6 [(description) = "(Optional) steamid to make the request on behalf of -- if specified, the user must be in the session and all users being added to the session must be friends with the user."];
46
+ optional uint64 sessionid = 1;
47
+ optional uint32 appid = 2;
48
+ optional .CGameNotifications_LocalizedText title = 3;
49
+ repeated .CGameNotifications_UserStatus users = 4;
50
+ optional fixed64 steamid = 6;
51
51
  }
52
52
 
53
53
  message CGameNotifications_UpdateSession_Response {
54
54
  }
55
55
 
56
56
  message CGameNotifications_EnumerateSessions_Request {
57
- optional uint32 appid = 1 [(description) = "The sessionid to request details for. Optional. If not specified, all the user's sessions will be returned."];
58
- optional bool include_all_user_messages = 3 [(description) = "(Optional) Boolean determining whether the message for all users should be included. Defaults to false."];
59
- optional bool include_auth_user_message = 4 [(description) = "(Optional) Boolean determining whether the message for the authenticated user should be included. Defaults to false."];
60
- optional string language = 5 [(description) = "(Optional) Language to localize the text in."];
57
+ optional uint32 appid = 1;
58
+ optional bool include_all_user_messages = 3;
59
+ optional bool include_auth_user_message = 4;
60
+ optional string language = 5;
61
61
  }
62
62
 
63
63
  message CGameNotifications_Session {
64
- optional uint64 sessionid = 1 [(description) = "The sessionid for this session."];
65
- optional uint64 appid = 2 [(description) = "The appid for the session."];
66
- optional uint64 context = 3 [(description) = "Game-specified context value the game can used to associate the session with some object on their backend."];
67
- optional .CGameNotifications_LocalizedText title = 4 [(description) = "The current title for the session."];
68
- optional uint32 time_created = 5 [(description) = "The time the session was created."];
69
- optional uint32 time_updated = 6 [(description) = "The last time the session was updated."];
70
- repeated .CGameNotifications_UserStatus user_status = 7 [(description) = "The status of all the users in the session."];
64
+ optional uint64 sessionid = 1;
65
+ optional uint64 appid = 2;
66
+ optional uint64 context = 3;
67
+ optional .CGameNotifications_LocalizedText title = 4;
68
+ optional uint32 time_created = 5;
69
+ optional uint32 time_updated = 6;
70
+ repeated .CGameNotifications_UserStatus user_status = 7;
71
71
  }
72
72
 
73
73
  message CGameNotifications_EnumerateSessions_Response {
74
- repeated .CGameNotifications_Session sessions = 1 [(description) = "A list of the user's sessions."];
74
+ repeated .CGameNotifications_Session sessions = 1;
75
75
  }
76
76
 
77
77
  message CGameNotifications_GetSessionDetails_Request {
78
78
  message RequestedSession {
79
- optional uint64 sessionid = 1 [(description) = "The sessionid to get details for."];
80
- optional bool include_auth_user_message = 3 [(description) = "(Optional) Boolean determining whether the message for the authenticated user should be included. Defaults to false."];
79
+ optional uint64 sessionid = 1;
80
+ optional bool include_auth_user_message = 3;
81
81
  }
82
82
 
83
83
  repeated .CGameNotifications_GetSessionDetails_Request.RequestedSession sessions = 1;
84
- optional uint32 appid = 2 [(description) = "The appid for the sessions."];
85
- optional string language = 3 [(description) = "Language to localize the text in."];
84
+ optional uint32 appid = 2;
85
+ optional string language = 3;
86
86
  }
87
87
 
88
88
  message CGameNotifications_GetSessionDetails_Response {
89
- repeated .CGameNotifications_Session sessions = 1 [(description) = "The details of the session."];
89
+ repeated .CGameNotifications_Session sessions = 1;
90
90
  }
91
91
 
92
92
  message GameNotificationSettings {
93
- optional uint32 appid = 1 [(description) = "The appid to create the session for."];
94
- optional bool allow_notifications = 2 [(description) = "Whether the user allows notification for this app."];
93
+ optional uint32 appid = 1;
94
+ optional bool allow_notifications = 2;
95
95
  }
96
96
 
97
97
  message CGameNotifications_UpdateNotificationSettings_Request {
@@ -102,55 +102,30 @@ message CGameNotifications_UpdateNotificationSettings_Response {
102
102
  }
103
103
 
104
104
  message CGameNotifications_OnNotificationsRequested_Notification {
105
- optional fixed64 steamid = 1 [(description) = "steamid of the user who notifications were requested for."];
106
- optional uint32 appid = 2 [(description) = "The appid that requested notifications."];
105
+ optional fixed64 steamid = 1;
106
+ optional uint32 appid = 2;
107
107
  }
108
108
 
109
109
  message CGameNotifications_OnUserStatusChanged_Notification {
110
- optional fixed64 steamid = 1 [(description) = "steamid of the user whose status changed."];
111
- optional uint64 sessionid = 2 [(description) = "The sessionid of the session where the user's status was changed."];
112
- optional uint32 appid = 3 [(description) = "The appid of the session where the user's status changed."];
113
- optional .CGameNotifications_UserStatus status = 4 [(description) = "(Optional) New status of the user."];
114
- optional bool removed = 5 [(description) = "(Optional) User has been removed from the session."];
110
+ optional fixed64 steamid = 1;
111
+ optional uint64 sessionid = 2;
112
+ optional uint32 appid = 3;
113
+ optional .CGameNotifications_UserStatus status = 4;
114
+ optional bool removed = 5;
115
115
  }
116
116
 
117
117
  service GameNotifications {
118
- option (service_description) = "A service for functions related to the asyncronous game notification server.";
119
-
120
- rpc UserCreateSession (.CGameNotifications_CreateSession_Request) returns (.CGameNotifications_CreateSession_Response) {
121
- option (method_description) = "Creates an async game session";
122
- }
123
-
124
- rpc UserDeleteSession (.CGameNotifications_DeleteSession_Request) returns (.CGameNotifications_DeleteSession_Response) {
125
- option (method_description) = "Deletes an async game session";
126
- }
127
-
128
- rpc UserUpdateSession (.CGameNotifications_UpdateSession_Request) returns (.CGameNotifications_UpdateSession_Response) {
129
- option (method_description) = "Updates an async game session";
130
- }
131
-
132
- rpc EnumerateSessions (.CGameNotifications_EnumerateSessions_Request) returns (.CGameNotifications_EnumerateSessions_Response) {
133
- option (method_description) = "Enumerates a user's sessions";
134
- }
135
-
136
- rpc GetSessionDetails (.CGameNotifications_GetSessionDetails_Request) returns (.CGameNotifications_GetSessionDetails_Response) {
137
- option (method_description) = "Get the details for a specific session";
138
- }
139
-
140
- rpc UpdateNotificationSettings (.CGameNotifications_UpdateNotificationSettings_Request) returns (.CGameNotifications_UpdateNotificationSettings_Response) {
141
- option (method_description) = "Updates whether a user allows game notifications for a specific app";
142
- }
118
+ rpc UserCreateSession (.CGameNotifications_CreateSession_Request) returns (.CGameNotifications_CreateSession_Response);
119
+ rpc UserDeleteSession (.CGameNotifications_DeleteSession_Request) returns (.CGameNotifications_DeleteSession_Response);
120
+ rpc UserUpdateSession (.CGameNotifications_UpdateSession_Request) returns (.CGameNotifications_UpdateSession_Response);
121
+ rpc EnumerateSessions (.CGameNotifications_EnumerateSessions_Request) returns (.CGameNotifications_EnumerateSessions_Response);
122
+ rpc GetSessionDetails (.CGameNotifications_GetSessionDetails_Request) returns (.CGameNotifications_GetSessionDetails_Response);
123
+ rpc UpdateNotificationSettings (.CGameNotifications_UpdateNotificationSettings_Request) returns (.CGameNotifications_UpdateNotificationSettings_Response);
143
124
  }
144
125
 
145
126
  service GameNotificationsClient {
146
- option (service_description) = "Client notifications";
147
127
  option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
148
128
 
149
- rpc OnNotificationsRequested (.CGameNotifications_OnNotificationsRequested_Notification) returns (.NoResponse) {
150
- option (method_description) = "Requests that the user opt into notifications";
151
- }
152
-
153
- rpc OnUserStatusChanged (.CGameNotifications_OnUserStatusChanged_Notification) returns (.NoResponse) {
154
- option (method_description) = "Notification that the user's status has changed";
155
- }
129
+ rpc OnNotificationsRequested (.CGameNotifications_OnNotificationsRequested_Notification) returns (.NoResponse);
130
+ rpc OnUserStatusChanged (.CGameNotifications_OnUserStatusChanged_Notification) returns (.NoResponse);
156
131
  }
@@ -4,13 +4,13 @@ import "steammessages_unified_base.steamclient.proto";
4
4
  option cc_generic_services = true;
5
5
 
6
6
  message CGameServers_GetServerList_Request {
7
- optional string filter = 1 [(description) = "Query filter string."];
8
- optional uint32 limit = 2 [default = 100, (description) = "The maximum number of servers to return in the response"];
7
+ optional string filter = 1;
8
+ optional uint32 limit = 2 [default = 100];
9
9
  }
10
10
 
11
11
  message CGameServers_GetServerList_Response {
12
12
  message Server {
13
- optional string addr = 1 [(description) = "The server's IP and query port"];
13
+ optional string addr = 1;
14
14
  optional uint32 gameport = 2;
15
15
  optional uint32 specport = 3;
16
16
  optional fixed64 steamid = 4;
@@ -30,7 +30,7 @@ message CGameServers_GetServerList_Response {
30
30
  optional string gametype = 18;
31
31
  }
32
32
 
33
- repeated .CGameServers_GetServerList_Response.Server servers = 1 [(description) = "List of servers matching the filter"];
33
+ repeated .CGameServers_GetServerList_Response.Server servers = 1;
34
34
  }
35
35
 
36
36
  message CGameServers_GetServerSteamIDsByIP_Request {
@@ -58,10 +58,10 @@ message CGameServers_QueryByFakeIP_Request {
58
58
  Query_Rules = 3;
59
59
  }
60
60
 
61
- optional uint32 fake_ip = 1 [(description) = "FakeIP of server to query."];
62
- optional uint32 fake_port = 2 [(description) = "Fake port of server to query."];
63
- optional uint32 app_id = 3 [(description) = "AppID to use. Each AppID has its own FakeIP address."];
64
- optional .CGameServers_QueryByFakeIP_Request.EQueryType query_type = 4 [default = Query_Invalid, (description) = "What type of query?"];
61
+ optional uint32 fake_ip = 1;
62
+ optional uint32 fake_port = 2;
63
+ optional uint32 app_id = 3;
64
+ optional .CGameServers_QueryByFakeIP_Request.EQueryType query_type = 4 [default = Query_Invalid];
65
65
  }
66
66
 
67
67
  message CMsgGameServerPingQueryData {
@@ -123,30 +123,14 @@ message GameServerClient_QueryServerData_Response {
123
123
  }
124
124
 
125
125
  service GameServers {
126
- option (service_description) = "A service for searching and managing game servers.";
127
-
128
- rpc GetServerList (.CGameServers_GetServerList_Request) returns (.CGameServers_GetServerList_Response) {
129
- option (method_description) = "Gets a list of servers given a filter string";
130
- }
131
-
132
- rpc GetServerSteamIDsByIP (.CGameServers_GetServerSteamIDsByIP_Request) returns (.CGameServers_IPsWithSteamIDs_Response) {
133
- option (method_description) = "Gets a list of server SteamIDs given a list of IPs";
134
- }
135
-
136
- rpc GetServerIPsBySteamID (.CGameServers_GetServerIPsBySteamID_Request) returns (.CGameServers_IPsWithSteamIDs_Response) {
137
- option (method_description) = "Gets a list of server IP addresses given a list of SteamIDs";
138
- }
139
-
140
- rpc QueryByFakeIP (.CGameServers_QueryByFakeIP_Request) returns (.CGameServers_GameServerQuery_Response) {
141
- option (method_description) = "Perform a query on a specific server by FakeIP";
142
- }
126
+ rpc GetServerList (.CGameServers_GetServerList_Request) returns (.CGameServers_GetServerList_Response);
127
+ rpc GetServerSteamIDsByIP (.CGameServers_GetServerSteamIDsByIP_Request) returns (.CGameServers_IPsWithSteamIDs_Response);
128
+ rpc GetServerIPsBySteamID (.CGameServers_GetServerIPsBySteamID_Request) returns (.CGameServers_IPsWithSteamIDs_Response);
129
+ rpc QueryByFakeIP (.CGameServers_QueryByFakeIP_Request) returns (.CGameServers_GameServerQuery_Response);
143
130
  }
144
131
 
145
132
  service GameServerClient {
146
- option (service_description) = "Service methods exposed by GameServer Steam clients";
147
133
  option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
148
134
 
149
- rpc QueryServerData (.GameServerClient_QueryServerData_Request) returns (.GameServerClient_QueryServerData_Response) {
150
- option (method_description) = "Steam is asking a gameserver for its data";
151
- }
135
+ rpc QueryServerData (.GameServerClient_QueryServerData_Request) returns (.GameServerClient_QueryServerData_Response);
152
136
  }
@@ -14,7 +14,7 @@ message CInventory_Response {
14
14
  optional string item_json = 3;
15
15
  optional string itemdef_json = 4;
16
16
  optional bytes ticket = 5;
17
- optional bool replayed = 6 [(description) = "If true, the requestid given was processed earlier."];
17
+ optional bool replayed = 6;
18
18
  }
19
19
 
20
20
  message CInventory_ExchangeItem_Request {
@@ -39,10 +39,10 @@ message CInventory_AddItem_Request {
39
39
  repeated uint64 itemdefid = 2;
40
40
  repeated string itempropsjson = 3;
41
41
  optional uint64 steamid = 4;
42
- optional bool notify = 5 [(description) = "Should notify the user that the item was added to their Steam Inventory."];
42
+ optional bool notify = 5;
43
43
  optional uint64 requestid = 6;
44
- optional bool trade_restriction = 7 [(description) = "If true, apply the default trade and market restriction times to this item."];
45
- optional bool is_purchase = 8 [default = false, (description) = "If set, treat requestid as a txnid and create this item as a result of user microtransaction purchase."];
44
+ optional bool trade_restriction = 7;
45
+ optional bool is_purchase = 8 [default = false];
46
46
  }
47
47
 
48
48
  message CInventory_ModifyItems_Request {
@@ -147,78 +147,26 @@ message CInventoryClient_NewItems_Notification {
147
147
  }
148
148
 
149
149
  service Inventory {
150
- option (service_description) = "A service that provides access to inventory";
151
-
152
- rpc GetInventory (.CInventory_GetInventory_Request) returns (.CInventory_Response) {
153
- option (method_description) = "Retrieves a users inventory as a big JSON blob";
154
- }
155
-
156
- rpc ExchangeItem (.CInventory_ExchangeItem_Request) returns (.CInventory_Response) {
157
- option (method_description) = "Craft an item in a user's inventory";
158
- }
159
-
160
- rpc GetEligiblePromoItemDefIDs (.CInventory_GetEligiblePromoItemDefIDs_Request) returns (.CInventory_GetEligiblePromoItemDefIDs_Response) {
161
- option (method_description) = "Returns a list of promo item defs the user is eligible for";
162
- }
163
-
164
- rpc AddPromoItem (.CInventory_AddItem_Request) returns (.CInventory_Response) {
165
- option (method_description) = "Adds a promo item to a user's inventory";
166
- }
167
-
168
- rpc SafeModifyItems (.CInventory_ModifyItems_Request) returns (.CInventory_Response) {
169
- option (method_description) = "Modify an item in a user's inventory (safe properties only)";
170
- }
171
-
172
- rpc ConsumePlaytime (.CInventory_ConsumePlaytime_Request) returns (.CInventory_Response) {
173
- option (method_description) = "Consumes playtime and possibly returns a granted item";
174
- }
175
-
176
- rpc ConsumeItem (.CInventory_ConsumeItem_Request) returns (.CInventory_Response) {
177
- option (method_description) = "Consume an item";
178
- }
179
-
180
- rpc DevGenerateItem (.CInventory_AddItem_Request) returns (.CInventory_Response) {
181
- option (method_description) = "Grant an item when in developer mode";
182
- }
183
-
184
- rpc DevSetNextDrop (.CInventory_DevSetNextDrop_Request) returns (.CInventory_Response) {
185
- option (method_description) = "Consume an item";
186
- }
187
-
188
- rpc SplitItemStack (.CInventory_SplitItemStack_Request) returns (.CInventory_Response) {
189
- option (method_description) = "Split an item stack into two stacks";
190
- }
191
-
192
- rpc CombineItemStacks (.CInventory_CombineItemStacks_Request) returns (.CInventory_Response) {
193
- option (method_description) = "Combine two stacks of items";
194
- }
195
-
196
- rpc GetItemDefMeta (.CInventory_GetItemDefMeta_Request) returns (.CInventory_GetItemDefMeta_Response) {
197
- option (method_description) = "Get metadata about the current item definition for this game.";
198
- }
199
-
200
- rpc GetUserPurchaseInfo (.CInventory_GetUserPurchaseInfo_Request) returns (.CInventory_GetUserPurchaseInfo_Response) {
201
- option (method_description) = "Returns information about the user such as their currency";
202
- }
203
-
204
- rpc PurchaseInit (.CInventory_PurchaseInit_Request) returns (.CInventory_PurchaseInit_Response) {
205
- option (method_description) = "Initializes a purchase for the user";
206
- }
207
-
208
- rpc PurchaseFinalize (.CInventory_PurchaseFinalize_Request) returns (.CInventory_Response) {
209
- option (method_description) = "Finalizes a purchase for the user";
210
- }
211
-
212
- rpc InspectItem (.CInventory_InspectItem_Request) returns (.CInventory_Response) {
213
- option (method_description) = "Get item detail given a valid inspection token";
214
- }
150
+ rpc GetInventory (.CInventory_GetInventory_Request) returns (.CInventory_Response);
151
+ rpc ExchangeItem (.CInventory_ExchangeItem_Request) returns (.CInventory_Response);
152
+ rpc GetEligiblePromoItemDefIDs (.CInventory_GetEligiblePromoItemDefIDs_Request) returns (.CInventory_GetEligiblePromoItemDefIDs_Response);
153
+ rpc AddPromoItem (.CInventory_AddItem_Request) returns (.CInventory_Response);
154
+ rpc SafeModifyItems (.CInventory_ModifyItems_Request) returns (.CInventory_Response);
155
+ rpc ConsumePlaytime (.CInventory_ConsumePlaytime_Request) returns (.CInventory_Response);
156
+ rpc ConsumeItem (.CInventory_ConsumeItem_Request) returns (.CInventory_Response);
157
+ rpc DevGenerateItem (.CInventory_AddItem_Request) returns (.CInventory_Response);
158
+ rpc DevSetNextDrop (.CInventory_DevSetNextDrop_Request) returns (.CInventory_Response);
159
+ rpc SplitItemStack (.CInventory_SplitItemStack_Request) returns (.CInventory_Response);
160
+ rpc CombineItemStacks (.CInventory_CombineItemStacks_Request) returns (.CInventory_Response);
161
+ rpc GetItemDefMeta (.CInventory_GetItemDefMeta_Request) returns (.CInventory_GetItemDefMeta_Response);
162
+ rpc GetUserPurchaseInfo (.CInventory_GetUserPurchaseInfo_Request) returns (.CInventory_GetUserPurchaseInfo_Response);
163
+ rpc PurchaseInit (.CInventory_PurchaseInit_Request) returns (.CInventory_PurchaseInit_Response);
164
+ rpc PurchaseFinalize (.CInventory_PurchaseFinalize_Request) returns (.CInventory_Response);
165
+ rpc InspectItem (.CInventory_InspectItem_Request) returns (.CInventory_Response);
215
166
  }
216
167
 
217
168
  service InventoryClient {
218
- option (service_description) = "Client notifications inventory service events";
219
169
  option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
220
170
 
221
- rpc NotifyNewItems (.CInventoryClient_NewItems_Notification) returns (.NoResponse) {
222
- option (method_description) = "Notify client that the user received new items";
223
- }
171
+ rpc NotifyNewItems (.CInventoryClient_NewItems_Notification) returns (.NoResponse);
224
172
  }
@@ -4,46 +4,36 @@ import "steammessages_unified_base.steamclient.proto";
4
4
  option cc_generic_services = true;
5
5
 
6
6
  message CCommunity_GetLinkFilterHashPrefixes_Request {
7
- optional uint32 hit_type = 1 [(description) = "The retrieved hits will be filtered to this type."];
8
- optional uint32 count = 2 [(description) = "The number of hits to retrieve in a single batch. Specify 0 for no limit."];
9
- optional uint64 start = 3 [(description) = "The starting count when retrieving hits in batches."];
7
+ optional uint32 hit_type = 1;
8
+ optional uint32 count = 2;
9
+ optional uint64 start = 3;
10
10
  }
11
11
 
12
12
  message CCommunity_GetLinkFilterHashPrefixes_Response {
13
- repeated uint32 hash_prefixes = 1 [(description) = "The first 32 bits of the SHA1 hashes of each hit requested."];
13
+ repeated uint32 hash_prefixes = 1;
14
14
  }
15
15
 
16
16
  message CCommunity_GetLinkFilterHashes_Request {
17
- optional uint32 hit_type = 1 [(description) = "The retrieved hits will be filtered to this type."];
18
- optional uint32 count = 2 [(description) = "The number of hits to retrieve in a single batch. Specify 0 for no limit."];
19
- optional uint64 start = 3 [(description) = "The starting count when retrieving hits in batches."];
17
+ optional uint32 hit_type = 1;
18
+ optional uint32 count = 2;
19
+ optional uint64 start = 3;
20
20
  }
21
21
 
22
22
  message CCommunity_GetLinkFilterHashes_Response {
23
- repeated bytes hashes = 1 [(description) = "A list of hashes returned from our request."];
23
+ repeated bytes hashes = 1;
24
24
  }
25
25
 
26
26
  message CCommunity_GetLinkFilterListVersion_Request {
27
- optional uint32 hit_type = 1 [(description) = "The version hashes for this type's chunks will be returned."];
27
+ optional uint32 hit_type = 1;
28
28
  }
29
29
 
30
30
  message CCommunity_GetLinkFilterListVersion_Response {
31
- optional string version = 1 [(description) = "A hash built using the IDs of the contained hits."];
32
- optional uint64 count = 2 [(description) = "The number of hits of this type"];
31
+ optional string version = 1;
32
+ optional uint64 count = 2;
33
33
  }
34
34
 
35
35
  service CommunityLinkFilter {
36
- option (service_description) = "A service for recording data about Steam Community phishing link filtering";
37
-
38
- rpc GetLinkFilterHashPrefixes (.CCommunity_GetLinkFilterHashPrefixes_Request) returns (.CCommunity_GetLinkFilterHashPrefixes_Response) {
39
- option (method_description) = "Get a list of hash prefixes for the specified hit type, to use for client caching.";
40
- }
41
-
42
- rpc GetLinkFilterHashes (.CCommunity_GetLinkFilterHashes_Request) returns (.CCommunity_GetLinkFilterHashes_Response) {
43
- option (method_description) = "Get a list of hashes for the specified hit type, to use for client caching.";
44
- }
45
-
46
- rpc GetLinkFilterListVersion (.CCommunity_GetLinkFilterListVersion_Request) returns (.CCommunity_GetLinkFilterListVersion_Response) {
47
- option (method_description) = "Get a list of hashes describing the version of each chunk of the requested size.";
48
- }
36
+ rpc GetLinkFilterHashPrefixes (.CCommunity_GetLinkFilterHashPrefixes_Request) returns (.CCommunity_GetLinkFilterHashPrefixes_Response);
37
+ rpc GetLinkFilterHashes (.CCommunity_GetLinkFilterHashes_Request) returns (.CCommunity_GetLinkFilterHashes_Response);
38
+ rpc GetLinkFilterListVersion (.CCommunity_GetLinkFilterListVersion_Request) returns (.CCommunity_GetLinkFilterListVersion_Response);
49
39
  }
@@ -25,9 +25,5 @@ message LobbyMatchmakingLegacy_GetLobbyStatus_Response {
25
25
  }
26
26
 
27
27
  service LobbyMatchmakingLegacy {
28
- option (service_description) = "Lobby matchmaking legacy service";
29
-
30
- rpc GetLobbyStatus (.LobbyMatchmakingLegacy_GetLobbyStatus_Request) returns (.LobbyMatchmakingLegacy_GetLobbyStatus_Response) {
31
- option (method_description) = "GetLobbyStatus";
32
- }
28
+ rpc GetLobbyStatus (.LobbyMatchmakingLegacy_GetLobbyStatus_Request) returns (.LobbyMatchmakingLegacy_GetLobbyStatus_Response);
33
29
  }
@@ -4,23 +4,19 @@ import "steammessages_unified_base.steamclient.proto";
4
4
  option cc_generic_services = true;
5
5
 
6
6
  message CEconMarket_IsMarketplaceAllowed_Request {
7
- optional string webcookie = 1 [(description) = "The user's Steam Guard machine auth cookie."];
7
+ optional string webcookie = 1;
8
8
  }
9
9
 
10
10
  message CEconMarket_IsMarketplaceAllowed_Response {
11
- optional bool allowed = 1 [(description) = "Whether or not the user is allowed to use the market"];
12
- optional uint32 reason = 2 [(description) = "The reason the user can't use the market, if applicable"];
13
- optional uint32 allowed_at_time = 3 [(description) = "The time the user will be allowed to use the market"];
14
- optional uint32 steamguard_required_days = 4 [(description) = "The number of days any user is required to have had Steam Guard before they can use the market"];
15
- optional bool forms_requested = 7 [(description) = "Whether or not we've requested the user fill out tax forms"];
16
- optional bool forms_require_verification = 8 [(description) = "True if we've received forms but they require verification first"];
17
- optional uint32 new_device_cooldown_days = 9 [(description) = "The number of days after initial device authorization a user must wait before using the market on that device"];
11
+ optional bool allowed = 1;
12
+ optional uint32 reason = 2;
13
+ optional uint32 allowed_at_time = 3;
14
+ optional uint32 steamguard_required_days = 4;
15
+ optional bool forms_requested = 7;
16
+ optional bool forms_require_verification = 8;
17
+ optional uint32 new_device_cooldown_days = 9;
18
18
  }
19
19
 
20
20
  service EconMarket {
21
- option (service_description) = "A service to use market functions";
22
-
23
- rpc IsMarketplaceAllowed (.CEconMarket_IsMarketplaceAllowed_Request) returns (.CEconMarket_IsMarketplaceAllowed_Response) {
24
- option (method_description) = "Checks whether or not the authed account is allowed to use the market";
25
- }
21
+ rpc IsMarketplaceAllowed (.CEconMarket_IsMarketplaceAllowed_Request) returns (.CEconMarket_IsMarketplaceAllowed_Response);
26
22
  }