-
Notifications
You must be signed in to change notification settings - Fork 500
/
Copy pathsteammessages_clientserver.proto
1405 lines (1204 loc) · 38.5 KB
/
steammessages_clientserver.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import "steammessages_base.proto";
import "encrypted_app_ticket.proto";
option optimize_for = SPEED;
option cc_generic_services = false;
message CMsgClientHeartBeat {
}
message CMsgClientUDSP2PSessionStarted {
optional fixed64 steamid_remote = 1;
optional int32 appid = 2;
}
message CMsgClientUDSP2PSessionEnded {
optional fixed64 steamid_remote = 1;
optional int32 appid = 2;
optional int32 session_length_sec = 3;
optional int32 session_error = 4;
optional int32 nattype = 5;
optional int32 bytes_recv = 6;
optional int32 bytes_sent = 7;
optional int32 bytes_sent_relay = 8;
optional int32 bytes_recv_relay = 9;
optional int32 time_to_connect_ms = 10;
}
message CMsgClientRegisterAuthTicketWithCM {
optional uint32 protocol_version = 1;
optional bytes ticket = 3;
optional uint64 client_instance_id = 4;
}
message CMsgClientTicketAuthComplete {
optional fixed64 steam_id = 1;
optional fixed64 game_id = 2;
optional uint32 estate = 3;
optional uint32 eauth_session_response = 4;
optional bytes DEPRECATED_ticket = 5;
optional uint32 ticket_crc = 6;
optional uint32 ticket_sequence = 7;
optional fixed64 owner_steam_id = 8;
}
message CMsgClientLogon {
optional uint32 protocol_version = 1;
optional uint32 obfustucated_private_ip = 2;
optional uint32 cell_id = 3;
optional uint32 last_session_id = 4;
optional uint32 client_package_version = 5;
optional string client_language = 6;
optional uint32 client_os_type = 7;
optional bool should_remember_password = 8 [default = false];
optional string wine_version = 9;
optional uint32 ping_ms_from_cell_search = 10;
optional uint32 public_ip = 20;
optional uint32 qos_level = 21;
optional fixed64 client_supplied_steam_id = 22;
optional bytes machine_id = 30;
optional uint32 launcher_type = 31 [default = 0];
optional uint32 ui_mode = 32 [default = 0];
optional bytes steam2_auth_ticket = 41;
optional string email_address = 42;
optional fixed32 rtime32_account_creation = 43;
optional string account_name = 50;
optional string password = 51;
optional string game_server_token = 52;
optional string login_key = 60;
optional bool was_converted_deprecated_msg = 70 [default = false];
optional string anon_user_target_account_name = 80;
optional fixed64 resolved_user_steam_id = 81;
optional int32 eresult_sentryfile = 82;
optional bytes sha_sentryfile = 83;
optional string auth_code = 84;
optional int32 otp_type = 85;
optional uint32 otp_value = 86;
optional string otp_identifier = 87;
optional bool steam2_ticket_request = 88;
optional bytes sony_psn_ticket = 90;
optional string sony_psn_service_id = 91;
optional bool create_new_psn_linked_account_if_needed = 92 [default = false];
optional string sony_psn_name = 93;
optional int32 game_server_app_id = 94;
optional bool steamguard_dont_remember_computer = 95;
optional string machine_name = 96;
optional string machine_name_userchosen = 97;
optional string country_override = 98;
optional bool is_steam_box = 99;
optional uint64 client_instance_id = 100;
optional string two_factor_code = 101;
}
message CMsgClientLogonResponse {
optional int32 eresult = 1 [default = 2];
optional int32 out_of_game_heartbeat_seconds = 2;
optional int32 in_game_heartbeat_seconds = 3;
optional uint32 public_ip = 4;
optional fixed32 rtime32_server_time = 5;
optional uint32 account_flags = 6;
optional uint32 cell_id = 7;
optional string email_domain = 8;
optional bytes steam2_ticket = 9;
optional int32 eresult_extended = 10;
optional string webapi_authenticate_user_nonce = 11;
optional uint32 cell_id_ping_threshold = 12;
optional bool use_pics = 13;
optional string vanity_url = 14;
optional fixed64 client_supplied_steamid = 20;
optional string ip_country_code = 21;
optional bytes parental_settings = 22;
optional bytes parental_setting_signature = 23;
optional int32 count_loginfailures_to_migrate = 24;
optional int32 count_disconnects_to_migrate = 25;
optional int32 ogs_data_report_time_window = 26;
optional uint64 client_instance_id = 27;
}
message CMsgClientRequestWebAPIAuthenticateUserNonce {
}
message CMsgClientRequestWebAPIAuthenticateUserNonceResponse {
optional int32 eresult = 1 [default = 2];
optional string webapi_authenticate_user_nonce = 11;
}
message CMsgClientLogOff {
}
message CMsgClientLoggedOff {
optional int32 eresult = 1 [default = 2];
}
message CMsgClientCMList {
repeated uint32 cm_addresses = 1;
repeated uint32 cm_ports = 2;
}
message CMsgClientP2PConnectionInfo {
optional fixed64 steam_id_dest = 1;
optional fixed64 steam_id_src = 2;
optional uint32 app_id = 3;
optional bytes candidate = 4;
}
message CMsgClientP2PConnectionFailInfo {
optional fixed64 steam_id_dest = 1;
optional fixed64 steam_id_src = 2;
optional uint32 app_id = 3;
optional uint32 ep2p_session_error = 4;
}
message CMsgClientGetAppOwnershipTicket {
optional uint32 app_id = 1;
}
message CMsgClientGetAppOwnershipTicketResponse {
optional uint32 eresult = 1 [default = 2];
optional uint32 app_id = 2;
optional bytes ticket = 3;
}
message CMsgClientSessionToken {
optional uint64 token = 1;
}
message CMsgClientGameConnectTokens {
optional uint32 max_tokens_to_keep = 1 [default = 10];
repeated bytes tokens = 2;
}
message CMsgGSServerType {
optional uint32 app_id_served = 1;
optional uint32 flags = 2;
optional uint32 game_ip_address = 3;
optional uint32 game_port = 4;
optional string game_dir = 5;
optional string game_version = 6;
optional uint32 game_query_port = 7;
}
message CMsgGSStatusReply {
optional bool is_secure = 1;
}
message CMsgGSPlayerList {
message Player {
optional uint64 steam_id = 1;
optional uint32 public_ip = 2;
optional bytes token = 3;
}
repeated .CMsgGSPlayerList.Player players = 1;
}
message CMsgGSUserPlaying {
optional fixed64 steam_id = 1;
optional uint32 public_ip = 2;
optional bytes token = 3;
}
message CMsgGSDisconnectNotice {
optional fixed64 steam_id = 1;
}
message CMsgClientGamesPlayed {
message GamePlayed {
optional uint64 steam_id_gs = 1;
optional fixed64 game_id = 2;
optional uint32 game_ip_address = 3;
optional uint32 game_port = 4;
optional bool is_secure = 5;
optional bytes token = 6;
optional string game_extra_info = 7;
optional bytes game_data_blob = 8;
optional uint32 process_id = 9;
optional uint32 streaming_provider_id = 10;
optional uint32 game_flags = 11;
optional uint32 owner_id = 12;
}
repeated .CMsgClientGamesPlayed.GamePlayed games_played = 1;
optional uint32 client_os_type = 2;
}
message CMsgGSApprove {
optional fixed64 steam_id = 1;
optional fixed64 owner_steam_id = 2;
}
message CMsgGSDeny {
optional fixed64 steam_id = 1;
optional int32 edeny_reason = 2;
optional string deny_string = 3;
}
message CMsgGSKick {
optional fixed64 steam_id = 1;
optional int32 edeny_reason = 2;
}
message CMsgClientAuthList {
optional uint32 tokens_left = 1;
optional uint32 last_request_seq = 2;
optional uint32 last_request_seq_from_server = 3;
repeated .CMsgAuthTicket tickets = 4;
repeated uint32 app_ids = 5;
optional uint32 message_sequence = 6;
}
message CMsgClientAuthListAck {
repeated uint32 ticket_crc = 1;
repeated uint32 app_ids = 2;
optional uint32 message_sequence = 3;
}
message CMsgClientFriendsList {
message Friend {
optional fixed64 ulfriendid = 1;
optional uint32 efriendrelationship = 2;
}
optional bool bincremental = 1;
repeated .CMsgClientFriendsList.Friend friends = 2;
optional uint32 max_friend_count = 3;
optional uint32 active_friend_count = 4;
optional bool friends_limit_hit = 5;
}
message CMsgClientFriendsGroupsList {
message FriendGroup {
optional int32 nGroupID = 1;
optional string strGroupName = 2;
}
message FriendGroupsMembership {
optional fixed64 ulSteamID = 1;
optional int32 nGroupID = 2;
}
optional bool bremoval = 1;
optional bool bincremental = 2;
repeated .CMsgClientFriendsGroupsList.FriendGroup friendGroups = 3;
repeated .CMsgClientFriendsGroupsList.FriendGroupsMembership memberships = 4;
}
message CMsgClientPlayerNicknameList {
message PlayerNickname {
optional fixed64 steamid = 1;
optional string nickname = 3;
}
optional bool removal = 1;
optional bool incremental = 2;
repeated .CMsgClientPlayerNicknameList.PlayerNickname nicknames = 3;
}
message CMsgClientSetPlayerNickname {
optional fixed64 steamid = 1;
optional string nickname = 2;
}
message CMsgClientSetPlayerNicknameResponse {
optional uint32 eresult = 1;
}
message CMsgClientLicenseList {
message License {
optional uint32 package_id = 1;
optional fixed32 time_created = 2;
optional fixed32 time_next_process = 3;
optional int32 minute_limit = 4;
optional int32 minutes_used = 5;
optional uint32 payment_method = 6;
optional uint32 flags = 7;
optional string purchase_country_code = 8;
optional uint32 license_type = 9;
optional int32 territory_code = 10;
optional int32 change_number = 11;
optional uint32 owner_id = 12;
}
optional int32 eresult = 1 [default = 2];
repeated .CMsgClientLicenseList.License licenses = 2;
}
message CMsgClientLBSSetScore {
optional uint32 app_id = 1;
optional int32 leaderboard_id = 2;
optional int32 score = 3;
optional bytes details = 4;
optional int32 upload_score_method = 5;
}
message CMsgClientLBSSetScoreResponse {
optional int32 eresult = 1 [default = 2];
optional int32 leaderboard_entry_count = 2;
optional bool score_changed = 3;
optional int32 global_rank_previous = 4;
optional int32 global_rank_new = 5;
}
message CMsgClientLBSSetUGC {
optional uint32 app_id = 1;
optional int32 leaderboard_id = 2;
optional fixed64 ugc_id = 3;
}
message CMsgClientLBSSetUGCResponse {
optional int32 eresult = 1 [default = 2];
}
message CMsgClientLBSFindOrCreateLB {
optional uint32 app_id = 1;
optional int32 leaderboard_sort_method = 2;
optional int32 leaderboard_display_type = 3;
optional bool create_if_not_found = 4;
optional string leaderboard_name = 5;
}
message CMsgClientLBSFindOrCreateLBResponse {
optional int32 eresult = 1 [default = 2];
optional int32 leaderboard_id = 2;
optional int32 leaderboard_entry_count = 3;
optional int32 leaderboard_sort_method = 4 [default = 0];
optional int32 leaderboard_display_type = 5 [default = 0];
optional string leaderboard_name = 6;
}
message CMsgClientLBSGetLBEntries {
optional int32 app_id = 1;
optional int32 leaderboard_id = 2;
optional int32 range_start = 3;
optional int32 range_end = 4;
optional int32 leaderboard_data_request = 5;
repeated fixed64 steamids = 6;
}
message CMsgClientLBSGetLBEntriesResponse {
message Entry {
optional fixed64 steam_id_user = 1;
optional int32 global_rank = 2;
optional int32 score = 3;
optional bytes details = 4;
optional fixed64 ugc_id = 5;
}
optional int32 eresult = 1 [default = 2];
optional int32 leaderboard_entry_count = 2;
repeated .CMsgClientLBSGetLBEntriesResponse.Entry entries = 3;
}
message CMsgClientAccountInfo {
optional string persona_name = 1;
optional string ip_country = 2;
optional bytes salt_password = 3;
optional bytes sha_digest_Password = 4;
optional int32 count_authed_computers = 5;
optional bool locked_with_ipt = 6;
optional uint32 account_flags = 7;
optional uint64 facebook_id = 8;
optional string facebook_name = 9;
optional int32 steam_guard_provider = 10;
optional bool steamguard_require_code_default = 11;
optional bool steamguard_show_providers = 12;
optional bool steamguard_can_use_mobile_provider = 13;
optional bool steamguard_notify_newmachines = 14;
optional string steamguard_machine_name_user_chosen = 15;
}
message CMsgClientAppMinutesPlayedData {
message AppMinutesPlayedData {
optional uint32 app_id = 1;
optional int32 forever = 2;
optional int32 last_two_weeks = 3;
}
repeated .CMsgClientAppMinutesPlayedData.AppMinutesPlayedData minutes_played = 1;
}
message CMsgClientIsLimitedAccount {
optional bool bis_limited_account = 1;
optional bool bis_community_banned = 2;
optional bool bis_locked_account = 3;
optional bool bis_limited_account_allowed_to_invite_friends = 4;
}
message CMsgClientRequestFriendData {
optional uint32 persona_state_requested = 1;
repeated fixed64 friends = 2;
}
message CMsgClientChangeStatus {
optional uint32 persona_state = 1;
optional string player_name = 2;
optional bool is_auto_generated_name = 3;
optional bool high_priority = 4;
optional bool persona_set_by_user = 5;
}
message CMsgPersonaChangeResponse {
optional uint32 result = 1;
optional string player_name = 2;
}
message CMsgClientPersonaState {
message Friend {
optional fixed64 friendid = 1;
optional uint32 persona_state = 2;
optional uint32 game_played_app_id = 3;
optional uint32 game_server_ip = 4;
optional uint32 game_server_port = 5;
optional uint32 persona_state_flags = 6;
optional uint32 online_session_instances = 7;
optional uint32 published_instance_id = 8;
optional bool persona_set_by_user = 10;
optional string player_name = 15;
optional uint32 query_port = 20;
optional fixed64 steamid_source = 25;
optional bytes avatar_hash = 31;
optional uint32 last_logoff = 45;
optional uint32 last_logon = 46;
optional uint32 clan_rank = 50;
optional string game_name = 55;
optional fixed64 gameid = 56;
optional bytes game_data_blob = 60;
optional string clan_tag = 65;
optional string facebook_name = 66;
optional uint64 facebook_id = 67;
}
optional uint32 status_flags = 1;
repeated .CMsgClientPersonaState.Friend friends = 2;
}
message CMsgClientFriendProfileInfo {
optional fixed64 steamid_friend = 1;
}
message CMsgClientFriendProfileInfoResponse {
optional int32 eresult = 1 [default = 2];
optional fixed64 steamid_friend = 2;
optional uint32 time_created = 3;
optional string real_name = 4;
optional string city_name = 5;
optional string state_name = 6;
optional string country_name = 7;
optional string headline = 8;
optional string summary = 9;
}
message CMsgClientServerList {
message Server {
optional uint32 server_type = 1;
optional uint32 server_ip = 2;
optional uint32 server_port = 3;
}
repeated .CMsgClientServerList.Server servers = 1;
}
message CMsgClientRequestedClientStats {
message StatsToSend {
optional uint32 client_stat = 1;
optional uint32 stat_aggregate_method = 2;
}
repeated .CMsgClientRequestedClientStats.StatsToSend stats_to_send = 1;
}
message CMsgClientStat2 {
message StatDetail {
optional uint32 client_stat = 1;
optional int64 ll_value = 2;
optional uint32 time_of_day = 3;
optional uint32 cell_id = 4;
optional uint32 depot_id = 5;
optional uint32 app_id = 6;
}
repeated .CMsgClientStat2.StatDetail stat_detail = 1;
}
message CMsgClientMMSCreateLobby {
optional uint32 app_id = 1;
optional int32 max_members = 2;
optional int32 lobby_type = 3;
optional int32 lobby_flags = 4;
optional uint32 cell_id = 5;
optional uint32 public_ip = 6;
optional bytes metadata = 7;
optional string persona_name_owner = 8;
}
message CMsgClientMMSCreateLobbyResponse {
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
optional int32 eresult = 3 [default = 2];
}
message CMsgClientMMSJoinLobby {
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
optional string persona_name = 3;
}
message CMsgClientMMSJoinLobbyResponse {
message Member {
optional fixed64 steam_id = 1;
optional string persona_name = 2;
optional bytes metadata = 3;
}
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
optional int32 chat_room_enter_response = 3;
optional int32 max_members = 4;
optional int32 lobby_type = 5;
optional int32 lobby_flags = 6;
optional fixed64 steam_id_owner = 7;
optional bytes metadata = 8;
repeated .CMsgClientMMSJoinLobbyResponse.Member members = 9;
}
message CMsgClientMMSLeaveLobby {
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
}
message CMsgClientMMSLeaveLobbyResponse {
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
optional int32 eresult = 3 [default = 2];
}
message CMsgClientMMSGetLobbyList {
message Filter {
optional string key = 1;
optional string value = 2;
optional int32 comparision = 3;
optional int32 filter_type = 4;
}
optional uint32 app_id = 1;
optional int32 num_lobbies_requested = 3;
optional uint32 cell_id = 4;
optional uint32 public_ip = 5;
repeated .CMsgClientMMSGetLobbyList.Filter filters = 6;
}
message CMsgClientMMSGetLobbyListResponse {
message Lobby {
optional fixed64 steam_id = 1;
optional int32 max_members = 2;
optional int32 lobby_type = 3;
optional int32 lobby_flags = 4;
optional bytes metadata = 5;
optional int32 num_members = 6;
optional float distance = 7;
optional int64 weight = 8;
}
optional uint32 app_id = 1;
optional int32 eresult = 3 [default = 2];
repeated .CMsgClientMMSGetLobbyListResponse.Lobby lobbies = 4;
}
message CMsgClientMMSSetLobbyData {
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
optional fixed64 steam_id_member = 3;
optional int32 max_members = 4;
optional int32 lobby_type = 5;
optional int32 lobby_flags = 6;
optional bytes metadata = 7;
}
message CMsgClientMMSSetLobbyDataResponse {
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
optional int32 eresult = 3 [default = 2];
}
message CMsgClientMMSGetLobbyData {
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
}
message CMsgClientMMSLobbyData {
message Member {
optional fixed64 steam_id = 1;
optional string persona_name = 2;
optional bytes metadata = 3;
}
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
optional int32 num_members = 3;
optional int32 max_members = 4;
optional int32 lobby_type = 5;
optional int32 lobby_flags = 6;
optional fixed64 steam_id_owner = 7;
optional bytes metadata = 8;
repeated .CMsgClientMMSLobbyData.Member members = 9;
optional uint32 lobby_cellid = 10;
}
message CMsgClientMMSSendLobbyChatMsg {
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
optional fixed64 steam_id_target = 3;
optional bytes lobby_message = 4;
}
message CMsgClientMMSLobbyChatMsg {
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
optional fixed64 steam_id_sender = 3;
optional bytes lobby_message = 4;
}
message CMsgClientMMSSetLobbyOwner {
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
optional fixed64 steam_id_new_owner = 3;
}
message CMsgClientMMSSetLobbyOwnerResponse {
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
optional int32 eresult = 3 [default = 2];
}
message CMsgClientMMSSetLobbyLinked {
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
optional fixed64 steam_id_lobby2 = 3;
}
message CMsgClientMMSSetLobbyGameServer {
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
optional uint32 game_server_ip = 3;
optional uint32 game_server_port = 4;
optional fixed64 game_server_steam_id = 5;
}
message CMsgClientMMSLobbyGameServerSet {
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
optional uint32 game_server_ip = 3;
optional uint32 game_server_port = 4;
optional fixed64 game_server_steam_id = 5;
}
message CMsgClientMMSUserJoinedLobby {
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
optional fixed64 steam_id_user = 3;
optional string persona_name = 4;
}
message CMsgClientMMSUserLeftLobby {
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
optional fixed64 steam_id_user = 3;
optional string persona_name = 4;
}
message CMsgClientMMSInviteToLobby {
optional uint32 app_id = 1;
optional fixed64 steam_id_lobby = 2;
optional fixed64 steam_id_user_invited = 3;
}
message CMsgClientUDSInviteToGame {
optional fixed64 steam_id_dest = 1;
optional fixed64 steam_id_src = 2;
optional string connect_string = 3;
}
message CMsgClientChatInvite {
optional fixed64 steam_id_invited = 1;
optional fixed64 steam_id_chat = 2;
optional fixed64 steam_id_patron = 3;
optional int32 chatroom_type = 4;
optional fixed64 steam_id_friend_chat = 5;
optional string chat_name = 6;
optional fixed64 game_id = 7;
}
message CMsgClientConnectionStats {
message Stats_Logon {
optional int32 connect_attempts = 1;
optional int32 connect_successes = 2;
optional int32 connect_failures = 3;
optional int32 connections_dropped = 4;
optional uint32 seconds_running = 5;
optional uint32 msec_tologonthistime = 6;
optional uint32 count_bad_cms = 7;
}
message Stats_UDP {
optional uint64 pkts_sent = 1;
optional uint64 bytes_sent = 2;
optional uint64 pkts_recv = 3;
optional uint64 pkts_processed = 4;
optional uint64 bytes_recv = 5;
}
message Stats_VConn {
optional uint32 connections_udp = 1;
optional uint32 connections_tcp = 2;
optional .CMsgClientConnectionStats.Stats_UDP stats_udp = 3;
optional uint64 pkts_abandoned = 4;
optional uint64 conn_req_received = 5;
optional uint64 pkts_resent = 6;
optional uint64 msgs_sent = 7;
optional uint64 msgs_sent_failed = 8;
optional uint64 msgs_recv = 9;
optional uint64 datagrams_sent = 10;
optional uint64 datagrams_recv = 11;
optional uint64 bad_pkts_recv = 12;
optional uint64 unknown_conn_pkts_recv = 13;
optional uint64 missed_pkts_recv = 14;
optional uint64 dup_pkts_recv = 15;
optional uint64 failed_connect_challenges = 16;
optional uint32 micro_sec_avg_latency = 17;
optional uint32 micro_sec_min_latency = 18;
optional uint32 micro_sec_max_latency = 19;
optional uint32 mem_pool_msg_in_use = 20;
}
optional .CMsgClientConnectionStats.Stats_Logon stats_logon = 1;
optional .CMsgClientConnectionStats.Stats_VConn stats_vconn = 2;
}
message CMsgClientServersAvailable {
message Server_Types_Available {
optional uint32 server = 1;
optional bool changed = 2;
}
repeated .CMsgClientServersAvailable.Server_Types_Available server_types_available = 1;
optional uint32 server_type_for_auth_services = 2;
}
message CMsgClientGetUserStats {
optional fixed64 game_id = 1;
optional uint32 crc_stats = 2;
optional int32 schema_local_version = 3;
optional fixed64 steam_id_for_user = 4;
}
message CMsgClientGetUserStatsResponse {
message Stats {
optional uint32 stat_id = 1;
optional uint32 stat_value = 2;
}
message Achievement_Blocks {
optional uint32 achievement_id = 1;
repeated fixed32 unlock_time = 2;
}
optional fixed64 game_id = 1;
optional int32 eresult = 2 [default = 2];
optional uint32 crc_stats = 3;
optional bytes schema = 4;
repeated .CMsgClientGetUserStatsResponse.Stats stats = 5;
repeated .CMsgClientGetUserStatsResponse.Achievement_Blocks achievement_blocks = 6;
}
message CMsgClientStoreUserStatsResponse {
message Stats_Failed_Validation {
optional uint32 stat_id = 1;
optional uint32 reverted_stat_value = 2;
}
optional fixed64 game_id = 1;
optional int32 eresult = 2 [default = 2];
optional uint32 crc_stats = 3;
repeated .CMsgClientStoreUserStatsResponse.Stats_Failed_Validation stats_failed_validation = 4;
optional bool stats_out_of_date = 5;
}
message CMsgClientStoreUserStats2 {
message Stats {
optional uint32 stat_id = 1;
optional uint32 stat_value = 2;
}
optional fixed64 game_id = 1;
optional fixed64 settor_steam_id = 2;
optional fixed64 settee_steam_id = 3;
optional uint32 crc_stats = 4;
optional bool explicit_reset = 5;
repeated .CMsgClientStoreUserStats2.Stats stats = 6;
}
message CMsgClientStatsUpdated {
message Updated_Stats {
optional uint32 stat_id = 1;
optional uint32 stat_value = 2;
}
optional fixed64 steam_id = 1;
optional fixed64 game_id = 2;
optional uint32 crc_stats = 3;
repeated .CMsgClientStatsUpdated.Updated_Stats updated_stats = 4;
}
message CMsgClientStoreUserStats {
message Stats_To_Store {
optional uint32 stat_id = 1;
optional uint32 stat_value = 2;
}
optional fixed64 game_id = 1;
optional bool explicit_reset = 2;
repeated .CMsgClientStoreUserStats.Stats_To_Store stats_to_store = 3;
}
message CMsgClientGetClientDetails {
}
message CMsgClientReportOverlayDetourFailure {
repeated string failure_strings = 1;
}
message CMsgClientGetClientDetailsResponse {
message Game {
optional uint32 appid = 1;
optional string extra_info = 2;
optional uint32 time_running_sec = 3;
}
optional uint32 package_version = 1;
optional uint32 protocol_version = 8;
optional string os = 2;
optional string machine_name = 3;
optional string ip_public = 4;
optional string ip_private = 5;
optional uint64 bytes_available = 7;
repeated .CMsgClientGetClientDetailsResponse.Game games_running = 6;
}
message CMsgClientGetClientAppList {
optional bool media = 1;
optional bool tools = 2;
optional bool games = 3;
optional bool only_installed = 4;
optional bool only_changing = 5;
}
message CMsgClientGetClientAppListResponse {
message App {
message DLC {
optional uint32 appid = 1;
optional bool installed = 2;
}
optional uint32 appid = 1;
optional string category = 2;
optional string app_type = 10;
optional bool favorite = 3;
optional bool installed = 4;
optional bool auto_update = 5;
optional uint64 bytes_downloaded = 6;
optional uint64 bytes_needed = 7;
optional uint32 bytes_download_rate = 8;
optional bool download_paused = 11;
optional uint32 num_downloading = 12;
optional uint32 num_paused = 13;
optional bool changing = 14;
optional bool available_on_platform = 15;
repeated .CMsgClientGetClientAppListResponse.App.DLC dlcs = 9;
}
repeated .CMsgClientGetClientAppListResponse.App apps = 1;
optional uint64 bytes_available = 2;
}
message CMsgClientInstallClientApp {
optional uint32 appid = 1;
}
message CMsgClientInstallClientAppResponse {
optional uint32 result = 1;
}
message CMsgClientUninstallClientApp {
optional uint32 appid = 1;
}
message CMsgClientUninstallClientAppResponse {
optional uint32 result = 1;
}
message CMsgClientSetClientAppUpdateState {
optional uint32 appid = 1;
optional bool update = 2;
}
message CMsgClientSetClientAppUpdateStateResponse {
optional uint32 result = 1;
}
message CMsgClientUFSUploadFileRequest {
optional uint32 app_id = 1;
optional uint32 file_size = 2;
optional uint32 raw_file_size = 3;
optional bytes sha_file = 4;
optional uint64 time_stamp = 5;
optional string file_name = 6;
optional uint32 platforms_to_sync_deprecated = 7;
optional uint32 platforms_to_sync = 8 [default = 4294967295];
optional uint32 cell_id = 9;
optional bool can_encrypt = 10;
}
message CMsgClientUFSUploadFileResponse {
optional int32 eresult = 1 [default = 2];
optional bytes sha_file = 2;
optional bool use_http = 3;
optional string http_host = 4;
optional string http_url = 5;
optional bytes kv_headers = 6;
optional bool use_https = 7;
optional bool encrypt_file = 8;
}
message CMsgClientUFSUploadCommit {
message File {
optional int32 eresult = 1 [default = 2];
optional uint32 app_id = 2;
optional bytes sha_file = 3;
optional uint32 cub_file = 4;
optional string file_name = 5;
}
repeated .CMsgClientUFSUploadCommit.File files = 1;
}
message CMsgClientUFSUploadCommitResponse {
message File {
optional int32 eresult = 1 [default = 2];
optional uint32 app_id = 2;
optional bytes sha_file = 3;
}
repeated .CMsgClientUFSUploadCommitResponse.File files = 1;
}
message CMsgClientUFSFileChunk {
optional bytes sha_file = 1;
optional uint32 file_start = 2;
optional bytes data = 3;
}
message CMsgClientUFSTransferHeartbeat {