steamutils 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/SteamClient.js +5 -0
  2. package/package.json +1 -1
  3. package/protos/base_gcmessages.proto +533 -0
  4. package/protos/clientmetrics.proto +45 -0
  5. package/protos/content_manifest.proto +62 -0
  6. package/protos/cstrike15_gcmessages.proto +1344 -0
  7. package/protos/cstrike15_usermessages.proto +597 -0
  8. package/protos/econ_gcmessages.proto +225 -0
  9. package/protos/encrypted_app_ticket.proto +10 -0
  10. package/protos/engine_gcmessages.proto +16 -0
  11. package/protos/enums.proto +285 -0
  12. package/protos/enums_clientserver.proto +1534 -0
  13. package/protos/fatdemo.proto +125 -0
  14. package/protos/gcsdk_gcmessages.proto +302 -0
  15. package/protos/gcsystemmsgs.proto +246 -0
  16. package/protos/htmlmessages.proto +993 -0
  17. package/protos/netmessages.proto +491 -0
  18. package/protos/network_connection.proto +70 -0
  19. package/protos/renderer/rendermessages.proto +893 -0
  20. package/protos/steamdatagram_messages.proto +205 -0
  21. package/protos/steamdatagram_messages_auth.proto +65 -0
  22. package/protos/steamdatagram_messages_sdr.proto +518 -0
  23. package/protos/steammessages.proto +601 -0
  24. package/protos/steammessages_accounthardware.steamclient.proto +188 -0
  25. package/protos/steammessages_appoverview.proto +185 -0
  26. package/protos/steammessages_auth.steamclient.proto +192 -0
  27. package/protos/steammessages_base.proto +288 -0
  28. package/protos/steammessages_broadcast.steamclient.proto +756 -0
  29. package/protos/steammessages_chat.steamclient.proto +1281 -0
  30. package/protos/steammessages_client_objects.proto +336 -0
  31. package/protos/steammessages_clientlanp2p.proto +26 -0
  32. package/protos/steammessages_clientmetrics.steamclient.proto +176 -0
  33. package/protos/steammessages_clientnotificationtypes.proto +129 -0
  34. package/protos/steammessages_clientserver.proto +384 -0
  35. package/protos/steammessages_clientserver_2.proto +776 -0
  36. package/protos/steammessages_clientserver_appinfo.proto +166 -0
  37. package/protos/steammessages_clientserver_friends.proto +260 -0
  38. package/protos/steammessages_clientserver_gameservers.proto +159 -0
  39. package/protos/steammessages_clientserver_lbs.proto +70 -0
  40. package/protos/steammessages_clientserver_login.proto +159 -0
  41. package/protos/steammessages_clientserver_mms.proto +235 -0
  42. package/protos/steammessages_clientserver_ucm.proto +202 -0
  43. package/protos/steammessages_clientserver_uds.proto +104 -0
  44. package/protos/steammessages_clientserver_ufs.proto +172 -0
  45. package/protos/steammessages_clientserver_userstats.proto +80 -0
  46. package/protos/steammessages_cloud.steamclient.proto +512 -0
  47. package/protos/steammessages_contentsystem.steamclient.proto +77 -0
  48. package/protos/steammessages_credentials.steamclient.proto +141 -0
  49. package/protos/steammessages_datapublisher.steamclient.proto +67 -0
  50. package/protos/steammessages_depotbuilder.steamclient.proto +118 -0
  51. package/protos/steammessages_deviceauth.steamclient.proto +200 -0
  52. package/protos/steammessages_econ.steamclient.proto +105 -0
  53. package/protos/steammessages_friendmessages.steamclient.proto +168 -0
  54. package/protos/steammessages_gamenetworking.steamclient.proto +32 -0
  55. package/protos/steammessages_gamenetworkingui.proto +42 -0
  56. package/protos/steammessages_gamenotifications.steamclient.proto +156 -0
  57. package/protos/steammessages_gameservers.steamclient.proto +152 -0
  58. package/protos/steammessages_hiddevices.proto +156 -0
  59. package/protos/steammessages_inventory.steamclient.proto +224 -0
  60. package/protos/steammessages_linkfilter.steamclient.proto +49 -0
  61. package/protos/steammessages_lobbymatchmaking.steamclient.proto +33 -0
  62. package/protos/steammessages_market.steamclient.proto +26 -0
  63. package/protos/steammessages_offline.steamclient.proto +37 -0
  64. package/protos/steammessages_parental.steamclient.proto +186 -0
  65. package/protos/steammessages_parties.steamclient.proto +94 -0
  66. package/protos/steammessages_partnerapps.steamclient.proto +136 -0
  67. package/protos/steammessages_player.steamclient.proto +912 -0
  68. package/protos/steammessages_publishedfile.steamclient.proto +711 -0
  69. package/protos/steammessages_qms.steamclient.proto +125 -0
  70. package/protos/steammessages_remoteclient.proto +99 -0
  71. package/protos/steammessages_remoteclient_discovery.proto +228 -0
  72. package/protos/steammessages_remoteclient_service.steamclient.proto +90 -0
  73. package/protos/steammessages_remoteclient_service_messages.proto +196 -0
  74. package/protos/steammessages_remoteplay.proto +871 -0
  75. package/protos/steammessages_secrets.steamclient.proto +39 -0
  76. package/protos/steammessages_shader.steamclient.proto +96 -0
  77. package/protos/steammessages_site_license.steamclient.proto +128 -0
  78. package/protos/steammessages_sitelicenseclient.proto +38 -0
  79. package/protos/steammessages_siteserverui.proto +130 -0
  80. package/protos/steammessages_star.steamclient.proto +64 -0
  81. package/protos/steammessages_steamtv.steamclient.proto +630 -0
  82. package/protos/steammessages_store.steamclient.proto +262 -0
  83. package/protos/steammessages_timedtrial.steamclient.proto +50 -0
  84. package/protos/steammessages_twofactor.steamclient.proto +154 -0
  85. package/protos/steammessages_unified_base.steamclient.proto +33 -0
  86. package/protos/steammessages_unified_test.steamclient.proto +50 -0
  87. package/protos/steammessages_useraccount.steamclient.proto +210 -0
  88. package/protos/steammessages_vac.steamclient.proto +44 -0
  89. package/protos/steammessages_video.steamclient.proto +84 -0
  90. package/protos/steammessages_virtualcontroller.proto +138 -0
  91. package/protos/steammessages_workshop.steamclient.proto +23 -0
  92. package/protos/steamnetworkingsockets_messages.proto +204 -0
  93. package/protos/steamnetworkingsockets_messages_certs.proto +38 -0
  94. package/protos/steamnetworkingsockets_messages_udp.proto +75 -0
  95. package/protos/uifontfile_format.proto +16 -0
@@ -0,0 +1,166 @@
1
+ import "steammessages_base.proto";
2
+
3
+ option optimize_for = SPEED;
4
+ option cc_generic_services = false;
5
+
6
+ message CMsgClientAppInfoUpdate {
7
+ optional uint32 last_changenumber = 1;
8
+ optional bool send_changelist = 2;
9
+ }
10
+
11
+ message CMsgClientAppInfoChanges {
12
+ optional uint32 current_change_number = 1;
13
+ optional bool force_full_update = 2;
14
+ repeated uint32 appIDs = 3;
15
+ }
16
+
17
+ message CMsgClientAppInfoRequest {
18
+ message App {
19
+ optional uint32 app_id = 1;
20
+ optional uint32 section_flags = 2;
21
+ repeated uint32 section_CRC = 3;
22
+ }
23
+
24
+ repeated .CMsgClientAppInfoRequest.App apps = 1;
25
+ optional bool supports_batches = 2 [default = false];
26
+ }
27
+
28
+ message CMsgClientAppInfoResponse {
29
+ option (msgpool_hard_limit) = 0;
30
+
31
+ message App {
32
+ message Section {
33
+ optional uint32 section_id = 1;
34
+ optional bytes section_kv = 2;
35
+ }
36
+
37
+ optional uint32 app_id = 1;
38
+ optional uint32 change_number = 2;
39
+ repeated .CMsgClientAppInfoResponse.App.Section sections = 3;
40
+ }
41
+
42
+ repeated .CMsgClientAppInfoResponse.App apps = 1;
43
+ repeated uint32 apps_unknown = 2;
44
+ optional uint32 apps_pending = 3;
45
+ }
46
+
47
+ message CMsgClientPackageInfoRequest {
48
+ repeated uint32 package_ids = 1;
49
+ optional bool meta_data_only = 2;
50
+ }
51
+
52
+ message CMsgClientPackageInfoResponse {
53
+ message Package {
54
+ optional uint32 package_id = 1;
55
+ optional uint32 change_number = 2;
56
+ optional bytes sha = 3;
57
+ optional bytes buffer = 4;
58
+ }
59
+
60
+ repeated .CMsgClientPackageInfoResponse.Package packages = 1;
61
+ repeated uint32 packages_unknown = 2;
62
+ optional uint32 packages_pending = 3;
63
+ }
64
+
65
+ message CMsgClientPICSChangesSinceRequest {
66
+ optional uint32 since_change_number = 1;
67
+ optional bool send_app_info_changes = 2;
68
+ optional bool send_package_info_changes = 3;
69
+ optional uint32 num_app_info_cached = 4;
70
+ optional uint32 num_package_info_cached = 5;
71
+ }
72
+
73
+ message CMsgClientPICSChangesSinceResponse {
74
+ message PackageChange {
75
+ optional uint32 packageid = 1;
76
+ optional uint32 change_number = 2;
77
+ optional bool needs_token = 3;
78
+ }
79
+
80
+ message AppChange {
81
+ optional uint32 appid = 1;
82
+ optional uint32 change_number = 2;
83
+ optional bool needs_token = 3;
84
+ }
85
+
86
+ optional uint32 current_change_number = 1;
87
+ optional uint32 since_change_number = 2;
88
+ optional bool force_full_update = 3;
89
+ repeated .CMsgClientPICSChangesSinceResponse.PackageChange package_changes = 4;
90
+ repeated .CMsgClientPICSChangesSinceResponse.AppChange app_changes = 5;
91
+ optional bool force_full_app_update = 6;
92
+ optional bool force_full_package_update = 7;
93
+ }
94
+
95
+ message CMsgClientPICSProductInfoRequest {
96
+ message AppInfo {
97
+ optional uint32 appid = 1;
98
+ optional uint64 access_token = 2;
99
+ optional bool only_public_obsolete = 3;
100
+ }
101
+
102
+ message PackageInfo {
103
+ optional uint32 packageid = 1;
104
+ optional uint64 access_token = 2;
105
+ }
106
+
107
+ repeated .CMsgClientPICSProductInfoRequest.PackageInfo packages = 1;
108
+ repeated .CMsgClientPICSProductInfoRequest.AppInfo apps = 2;
109
+ optional bool meta_data_only = 3;
110
+ optional uint32 num_prev_failed = 4;
111
+ optional uint32 supports_package_tokens = 5;
112
+ }
113
+
114
+ message CMsgClientPICSProductInfoResponse {
115
+ option (msgpool_hard_limit) = 0;
116
+
117
+ message AppInfo {
118
+ optional uint32 appid = 1;
119
+ optional uint32 change_number = 2;
120
+ optional bool missing_token = 3;
121
+ optional bytes sha = 4;
122
+ optional bytes buffer = 5;
123
+ optional bool only_public = 6;
124
+ optional uint32 size = 7;
125
+ }
126
+
127
+ message PackageInfo {
128
+ optional uint32 packageid = 1;
129
+ optional uint32 change_number = 2;
130
+ optional bool missing_token = 3;
131
+ optional bytes sha = 4;
132
+ optional bytes buffer = 5;
133
+ optional uint32 size = 6;
134
+ }
135
+
136
+ repeated .CMsgClientPICSProductInfoResponse.AppInfo apps = 1;
137
+ repeated uint32 unknown_appids = 2;
138
+ repeated .CMsgClientPICSProductInfoResponse.PackageInfo packages = 3;
139
+ repeated uint32 unknown_packageids = 4;
140
+ optional bool meta_data_only = 5;
141
+ optional bool response_pending = 6;
142
+ optional uint32 http_min_size = 7;
143
+ optional string http_host = 8;
144
+ }
145
+
146
+ message CMsgClientPICSAccessTokenRequest {
147
+ repeated uint32 packageids = 1;
148
+ repeated uint32 appids = 2;
149
+ }
150
+
151
+ message CMsgClientPICSAccessTokenResponse {
152
+ message PackageToken {
153
+ optional uint32 packageid = 1;
154
+ optional uint64 access_token = 2;
155
+ }
156
+
157
+ message AppToken {
158
+ optional uint32 appid = 1;
159
+ optional uint64 access_token = 2;
160
+ }
161
+
162
+ repeated .CMsgClientPICSAccessTokenResponse.PackageToken package_access_tokens = 1;
163
+ repeated uint32 package_denied_tokens = 2;
164
+ repeated .CMsgClientPICSAccessTokenResponse.AppToken app_access_tokens = 3;
165
+ repeated uint32 app_denied_tokens = 4;
166
+ }
@@ -0,0 +1,260 @@
1
+ import "steammessages_base.proto";
2
+
3
+ option optimize_for = SPEED;
4
+ option cc_generic_services = false;
5
+
6
+ message CMsgClientFriendMsg {
7
+ optional fixed64 steamid = 1;
8
+ optional int32 chat_entry_type = 2;
9
+ optional bytes message = 3;
10
+ optional fixed32 rtime32_server_timestamp = 4;
11
+ optional bool echo_to_sender = 5;
12
+ }
13
+
14
+ message CMsgClientFriendMsgIncoming {
15
+ optional fixed64 steamid_from = 1;
16
+ optional int32 chat_entry_type = 2;
17
+ optional bool from_limited_account = 3;
18
+ optional bytes message = 4;
19
+ optional fixed32 rtime32_server_timestamp = 5;
20
+ }
21
+
22
+ message CMsgClientAddFriend {
23
+ optional fixed64 steamid_to_add = 1;
24
+ optional string accountname_or_email_to_add = 2;
25
+ }
26
+
27
+ message CMsgClientAddFriendResponse {
28
+ optional int32 eresult = 1 [default = 2];
29
+ optional fixed64 steam_id_added = 2;
30
+ optional string persona_name_added = 3;
31
+ }
32
+
33
+ message CMsgClientRemoveFriend {
34
+ optional fixed64 friendid = 1;
35
+ }
36
+
37
+ message CMsgClientHideFriend {
38
+ optional fixed64 friendid = 1;
39
+ optional bool hide = 2;
40
+ }
41
+
42
+ message CMsgClientFriendsList {
43
+ message Friend {
44
+ optional fixed64 ulfriendid = 1;
45
+ optional uint32 efriendrelationship = 2;
46
+ }
47
+
48
+ optional bool bincremental = 1;
49
+ repeated .CMsgClientFriendsList.Friend friends = 2;
50
+ optional uint32 max_friend_count = 3;
51
+ optional uint32 active_friend_count = 4;
52
+ optional bool friends_limit_hit = 5;
53
+ }
54
+
55
+ message CMsgClientFriendsGroupsList {
56
+ message FriendGroup {
57
+ optional int32 nGroupID = 1;
58
+ optional string strGroupName = 2;
59
+ }
60
+
61
+ message FriendGroupsMembership {
62
+ optional fixed64 ulSteamID = 1;
63
+ optional int32 nGroupID = 2;
64
+ }
65
+
66
+ optional bool bremoval = 1;
67
+ optional bool bincremental = 2;
68
+ repeated .CMsgClientFriendsGroupsList.FriendGroup friendGroups = 3;
69
+ repeated .CMsgClientFriendsGroupsList.FriendGroupsMembership memberships = 4;
70
+ }
71
+
72
+ message CMsgClientPlayerNicknameList {
73
+ message PlayerNickname {
74
+ optional fixed64 steamid = 1;
75
+ optional string nickname = 3;
76
+ }
77
+
78
+ optional bool removal = 1;
79
+ optional bool incremental = 2;
80
+ repeated .CMsgClientPlayerNicknameList.PlayerNickname nicknames = 3;
81
+ }
82
+
83
+ message CMsgClientSetPlayerNickname {
84
+ optional fixed64 steamid = 1;
85
+ optional string nickname = 2;
86
+ }
87
+
88
+ message CMsgClientSetPlayerNicknameResponse {
89
+ optional uint32 eresult = 1;
90
+ }
91
+
92
+ message CMsgClientRequestFriendData {
93
+ optional uint32 persona_state_requested = 1;
94
+ repeated fixed64 friends = 2;
95
+ }
96
+
97
+ message CMsgClientChangeStatus {
98
+ optional uint32 persona_state = 1;
99
+ optional string player_name = 2;
100
+ optional bool is_auto_generated_name = 3;
101
+ optional bool high_priority = 4;
102
+ optional bool persona_set_by_user = 5;
103
+ optional uint32 persona_state_flags = 6 [default = 0];
104
+ optional bool need_persona_response = 7;
105
+ optional bool is_client_idle = 8;
106
+ }
107
+
108
+ message CMsgPersonaChangeResponse {
109
+ optional uint32 result = 1;
110
+ optional string player_name = 2;
111
+ }
112
+
113
+ message CMsgClientPersonaState {
114
+ message Friend {
115
+ message ClanData {
116
+ optional uint32 ogg_app_id = 1;
117
+ optional uint64 chat_group_id = 2;
118
+ }
119
+
120
+ message KV {
121
+ optional string key = 1;
122
+ optional string value = 2;
123
+ }
124
+
125
+ optional fixed64 friendid = 1;
126
+ optional uint32 persona_state = 2;
127
+ optional uint32 game_played_app_id = 3;
128
+ optional uint32 game_server_ip = 4;
129
+ optional uint32 game_server_port = 5;
130
+ optional uint32 persona_state_flags = 6;
131
+ optional uint32 online_session_instances = 7;
132
+ optional bool persona_set_by_user = 10;
133
+ optional string player_name = 15;
134
+ optional uint32 query_port = 20;
135
+ optional fixed64 steamid_source = 25;
136
+ optional bytes avatar_hash = 31;
137
+ optional uint32 last_logoff = 45;
138
+ optional uint32 last_logon = 46;
139
+ optional uint32 last_seen_online = 47;
140
+ optional uint32 clan_rank = 50;
141
+ optional string game_name = 55;
142
+ optional fixed64 gameid = 56;
143
+ optional bytes game_data_blob = 60;
144
+ optional .CMsgClientPersonaState.Friend.ClanData clan_data = 64;
145
+ optional string clan_tag = 65;
146
+ repeated .CMsgClientPersonaState.Friend.KV rich_presence = 71;
147
+ optional fixed64 broadcast_id = 72;
148
+ optional fixed64 game_lobby_id = 73;
149
+ optional uint32 watching_broadcast_accountid = 74;
150
+ optional uint32 watching_broadcast_appid = 75;
151
+ optional uint32 watching_broadcast_viewers = 76;
152
+ optional string watching_broadcast_title = 77;
153
+ optional bool is_community_banned = 78;
154
+ optional bool player_name_pending_review = 79;
155
+ optional bool avatar_pending_review = 80;
156
+ }
157
+
158
+ optional uint32 status_flags = 1;
159
+ repeated .CMsgClientPersonaState.Friend friends = 2;
160
+ }
161
+
162
+ message CMsgClientFriendProfileInfo {
163
+ optional fixed64 steamid_friend = 1;
164
+ }
165
+
166
+ message CMsgClientFriendProfileInfoResponse {
167
+ optional int32 eresult = 1 [default = 2];
168
+ optional fixed64 steamid_friend = 2;
169
+ optional uint32 time_created = 3;
170
+ optional string real_name = 4;
171
+ optional string city_name = 5;
172
+ optional string state_name = 6;
173
+ optional string country_name = 7;
174
+ optional string headline = 8;
175
+ optional string summary = 9;
176
+ }
177
+
178
+ message CMsgClientCreateFriendsGroup {
179
+ optional fixed64 steamid = 1;
180
+ optional string groupname = 2;
181
+ repeated fixed64 steamid_friends = 3;
182
+ }
183
+
184
+ message CMsgClientCreateFriendsGroupResponse {
185
+ optional uint32 eresult = 1;
186
+ optional int32 groupid = 2;
187
+ }
188
+
189
+ message CMsgClientDeleteFriendsGroup {
190
+ optional fixed64 steamid = 1;
191
+ optional int32 groupid = 2;
192
+ }
193
+
194
+ message CMsgClientDeleteFriendsGroupResponse {
195
+ optional uint32 eresult = 1;
196
+ }
197
+
198
+ message CMsgClientManageFriendsGroup {
199
+ optional int32 groupid = 1;
200
+ optional string groupname = 2;
201
+ repeated fixed64 steamid_friends_added = 3;
202
+ repeated fixed64 steamid_friends_removed = 4;
203
+ }
204
+
205
+ message CMsgClientManageFriendsGroupResponse {
206
+ optional uint32 eresult = 1;
207
+ }
208
+
209
+ message CMsgClientAddFriendToGroup {
210
+ optional int32 groupid = 1;
211
+ optional fixed64 steamiduser = 2;
212
+ }
213
+
214
+ message CMsgClientAddFriendToGroupResponse {
215
+ optional uint32 eresult = 1;
216
+ }
217
+
218
+ message CMsgClientRemoveFriendFromGroup {
219
+ optional int32 groupid = 1;
220
+ optional fixed64 steamiduser = 2;
221
+ }
222
+
223
+ message CMsgClientRemoveFriendFromGroupResponse {
224
+ optional uint32 eresult = 1;
225
+ }
226
+
227
+ message CMsgClientGetEmoticonList {
228
+ }
229
+
230
+ message CMsgClientEmoticonList {
231
+ message Emoticon {
232
+ optional string name = 1;
233
+ optional int32 count = 2;
234
+ optional uint32 time_last_used = 3;
235
+ optional uint32 use_count = 4;
236
+ optional uint32 time_received = 5;
237
+ optional uint32 appid = 6;
238
+ }
239
+
240
+ message Sticker {
241
+ optional string name = 1;
242
+ optional int32 count = 2;
243
+ optional uint32 time_received = 3;
244
+ optional uint32 appid = 4;
245
+ optional uint32 time_last_used = 5;
246
+ optional uint32 use_count = 6;
247
+ }
248
+
249
+ message Effect {
250
+ optional string name = 1;
251
+ optional int32 count = 2;
252
+ optional uint32 time_received = 3;
253
+ optional bool infinite_use = 4;
254
+ optional uint32 appid = 5;
255
+ }
256
+
257
+ repeated .CMsgClientEmoticonList.Emoticon emoticons = 1;
258
+ repeated .CMsgClientEmoticonList.Sticker stickers = 2;
259
+ repeated .CMsgClientEmoticonList.Effect effects = 3;
260
+ }
@@ -0,0 +1,159 @@
1
+ import "steammessages_base.proto";
2
+
3
+ option optimize_for = SPEED;
4
+ option cc_generic_services = false;
5
+
6
+ message CMsgGSServerType {
7
+ optional uint32 app_id_served = 1;
8
+ optional uint32 flags = 2;
9
+ optional uint32 deprecated_game_ip_address = 3;
10
+ optional uint32 game_port = 4;
11
+ optional string game_dir = 5;
12
+ optional string game_version = 6;
13
+ optional uint32 game_query_port = 7;
14
+ optional uint32 game_port_local = 10;
15
+ optional bytes sdr_logon = 8;
16
+ optional fixed32 fake_ip = 9;
17
+ }
18
+
19
+ message CMsgGSStatusReply {
20
+ optional bool is_secure = 1;
21
+ }
22
+
23
+ message CMsgGSPlayerList {
24
+ message Player {
25
+ optional uint64 steam_id = 1;
26
+ optional uint32 deprecated_public_ip = 2;
27
+ optional bytes token = 3;
28
+ optional .CMsgIPAddress public_ip = 4;
29
+ }
30
+
31
+ repeated .CMsgGSPlayerList.Player players = 1;
32
+ }
33
+
34
+ message CMsgGSUserPlaying {
35
+ optional fixed64 steam_id = 1;
36
+ optional uint32 deprecated_public_ip = 2;
37
+ optional bytes token = 3;
38
+ optional .CMsgIPAddress public_ip = 4;
39
+ }
40
+
41
+ message CMsgGSDisconnectNotice {
42
+ optional fixed64 steam_id = 1;
43
+ }
44
+
45
+ message CMsgGameServerData {
46
+ message Player {
47
+ optional fixed64 steam_id = 1;
48
+ }
49
+
50
+ optional uint32 revision = 24;
51
+ optional uint32 query_port = 3;
52
+ optional uint32 game_port = 4;
53
+ optional uint32 spectator_port = 5;
54
+ optional string server_name = 22;
55
+ optional string game_description = 29;
56
+ optional string spectator_server_name = 27;
57
+ optional fixed32 fake_ip = 28;
58
+ optional string sdr_ping_location = 30;
59
+ optional uint32 app_id = 6;
60
+ optional string gamedir = 7;
61
+ optional string version = 8;
62
+ optional string product = 9;
63
+ optional string region = 10;
64
+ repeated .CMsgGameServerData.Player players = 11;
65
+ optional uint32 max_players = 12;
66
+ optional uint32 bot_count = 13;
67
+ optional bool password = 14;
68
+ optional bool secure = 15;
69
+ optional bool dedicated = 16;
70
+ optional string os = 17;
71
+ optional string game_data = 18;
72
+ optional string game_type = 20;
73
+ optional string map = 21;
74
+ }
75
+
76
+ message CMsgGameServerRemove {
77
+ optional fixed64 legacy_steam_id_gs = 1;
78
+ optional uint32 legacy_query_port = 3;
79
+ }
80
+
81
+ message CMsgClientGMSServerQuery {
82
+ optional uint32 app_id = 1;
83
+ optional uint32 geo_location_ip = 2;
84
+ optional uint32 region_code = 3;
85
+ optional string filter_text = 4;
86
+ optional uint32 max_servers = 5;
87
+ }
88
+
89
+ message CMsgGMSClientServerQueryResponse {
90
+ message Server {
91
+ optional uint32 deprecated_server_ip = 1;
92
+ optional uint32 query_port = 2;
93
+ optional uint32 auth_players = 3;
94
+ optional .CMsgIPAddress server_ip = 4;
95
+ optional fixed64 steam_id = 6;
96
+ optional uint32 revision = 7;
97
+ optional uint32 players = 8;
98
+ optional uint32 game_port = 9;
99
+ optional fixed32 sdr_popid = 10;
100
+ optional string sdr_ping_location = 32;
101
+ optional uint32 flags = 11;
102
+ optional uint32 app_id = 12;
103
+ optional uint32 max_players = 13;
104
+ optional uint32 bots = 14;
105
+ optional uint32 spectator_port = 15;
106
+ optional string gamedir_str = 16;
107
+ optional uint32 gamedir_strindex = 17;
108
+ optional string map_str = 18;
109
+ optional uint32 map_strindex = 19;
110
+ optional string name_str = 20;
111
+ optional uint32 name_strindex = 21;
112
+ optional string game_description_str = 22;
113
+ optional uint32 game_description_strindex = 23;
114
+ optional string version_str = 24;
115
+ optional uint32 version_strindex = 25;
116
+ optional string gametype_str = 26;
117
+ optional uint32 gametype_strindex = 27;
118
+ optional string spectator_name_str = 30;
119
+ optional uint32 spectator_name_strindex = 31;
120
+ }
121
+
122
+ enum EFlags {
123
+ k_EFlag_HasPassword = 1;
124
+ k_EFlag_Secure = 2;
125
+ }
126
+
127
+ repeated .CMsgGMSClientServerQueryResponse.Server servers = 1;
128
+ optional string error = 2;
129
+ optional .CMsgGMSClientServerQueryResponse.Server default_server_data = 3;
130
+ repeated string server_strings = 4;
131
+ }
132
+
133
+ message CMsgGameServerOutOfDate {
134
+ optional fixed64 steam_id_gs = 1;
135
+ optional bool reject = 2;
136
+ optional string message = 3;
137
+ }
138
+
139
+ message CMsgGSAssociateWithClan {
140
+ optional fixed64 steam_id_clan = 1;
141
+ }
142
+
143
+ message CMsgGSAssociateWithClanResponse {
144
+ optional fixed64 steam_id_clan = 1;
145
+ optional uint32 eresult = 2 [default = 2];
146
+ }
147
+
148
+ message CMsgGSComputeNewPlayerCompatibility {
149
+ optional fixed64 steam_id_candidate = 1;
150
+ }
151
+
152
+ message CMsgGSComputeNewPlayerCompatibilityResponse {
153
+ optional fixed64 steam_id_candidate = 1;
154
+ optional uint32 eresult = 2 [default = 2];
155
+ optional bool is_clan_member = 3;
156
+ optional int32 ct_dont_like_you = 4;
157
+ optional int32 ct_you_dont_like = 5;
158
+ optional int32 ct_clanmembers_dont_like_you = 6;
159
+ }
@@ -0,0 +1,70 @@
1
+ import "steammessages_base.proto";
2
+
3
+ option optimize_for = SPEED;
4
+ option cc_generic_services = false;
5
+
6
+ message CMsgClientLBSSetScore {
7
+ optional uint32 app_id = 1;
8
+ optional int32 leaderboard_id = 2;
9
+ optional int32 score = 3;
10
+ optional bytes details = 4;
11
+ optional int32 upload_score_method = 5;
12
+ }
13
+
14
+ message CMsgClientLBSSetScoreResponse {
15
+ optional int32 eresult = 1 [default = 2];
16
+ optional int32 leaderboard_entry_count = 2;
17
+ optional bool score_changed = 3;
18
+ optional int32 global_rank_previous = 4;
19
+ optional int32 global_rank_new = 5;
20
+ }
21
+
22
+ message CMsgClientLBSSetUGC {
23
+ optional uint32 app_id = 1;
24
+ optional int32 leaderboard_id = 2;
25
+ optional fixed64 ugc_id = 3;
26
+ }
27
+
28
+ message CMsgClientLBSSetUGCResponse {
29
+ optional int32 eresult = 1 [default = 2];
30
+ }
31
+
32
+ message CMsgClientLBSFindOrCreateLB {
33
+ optional uint32 app_id = 1;
34
+ optional int32 leaderboard_sort_method = 2;
35
+ optional int32 leaderboard_display_type = 3;
36
+ optional bool create_if_not_found = 4;
37
+ optional string leaderboard_name = 5;
38
+ }
39
+
40
+ message CMsgClientLBSFindOrCreateLBResponse {
41
+ optional int32 eresult = 1 [default = 2];
42
+ optional int32 leaderboard_id = 2;
43
+ optional int32 leaderboard_entry_count = 3;
44
+ optional int32 leaderboard_sort_method = 4 [default = 0];
45
+ optional int32 leaderboard_display_type = 5 [default = 0];
46
+ optional string leaderboard_name = 6;
47
+ }
48
+
49
+ message CMsgClientLBSGetLBEntries {
50
+ optional int32 app_id = 1;
51
+ optional int32 leaderboard_id = 2;
52
+ optional int32 range_start = 3;
53
+ optional int32 range_end = 4;
54
+ optional int32 leaderboard_data_request = 5;
55
+ repeated fixed64 steamids = 6;
56
+ }
57
+
58
+ message CMsgClientLBSGetLBEntriesResponse {
59
+ message Entry {
60
+ optional fixed64 steam_id_user = 1;
61
+ optional int32 global_rank = 2;
62
+ optional int32 score = 3;
63
+ optional bytes details = 4;
64
+ optional fixed64 ugc_id = 5;
65
+ }
66
+
67
+ optional int32 eresult = 1 [default = 2];
68
+ optional int32 leaderboard_entry_count = 2;
69
+ repeated .CMsgClientLBSGetLBEntriesResponse.Entry entries = 3;
70
+ }