steam-proto 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,809 @@
1
+ ## Generated from steammessages.proto
2
+ require "beefcake"
3
+
4
+ module Csgo
5
+
6
+ module GCProtoBufMsgSrc
7
+ GCProtoBufMsgSrc_Unspecified = 0
8
+ GCProtoBufMsgSrc_FromSystem = 1
9
+ GCProtoBufMsgSrc_FromSteamID = 2
10
+ GCProtoBufMsgSrc_FromGC = 3
11
+ GCProtoBufMsgSrc_ReplySystem = 4
12
+ end
13
+
14
+ class CMsgProtoBufHeader
15
+ include Beefcake::Message
16
+ end
17
+
18
+ class CMsgWebAPIKey
19
+ include Beefcake::Message
20
+ end
21
+
22
+ class CMsgHttpRequest
23
+ include Beefcake::Message
24
+
25
+ class RequestHeader
26
+ include Beefcake::Message
27
+ end
28
+
29
+ class QueryParam
30
+ include Beefcake::Message
31
+ end
32
+ end
33
+
34
+ class CMsgWebAPIRequest
35
+ include Beefcake::Message
36
+ end
37
+
38
+ class CMsgHttpResponse
39
+ include Beefcake::Message
40
+
41
+ class ResponseHeader
42
+ include Beefcake::Message
43
+ end
44
+ end
45
+
46
+ class CMsgAMFindAccounts
47
+ include Beefcake::Message
48
+ end
49
+
50
+ class CMsgAMFindAccountsResponse
51
+ include Beefcake::Message
52
+ end
53
+
54
+ class CMsgNotifyWatchdog
55
+ include Beefcake::Message
56
+ end
57
+
58
+ class CMsgAMGetLicenses
59
+ include Beefcake::Message
60
+ end
61
+
62
+ class CMsgPackageLicense
63
+ include Beefcake::Message
64
+ end
65
+
66
+ class CMsgAMGetLicensesResponse
67
+ include Beefcake::Message
68
+ end
69
+
70
+ class CMsgAMGetUserGameStats
71
+ include Beefcake::Message
72
+ end
73
+
74
+ class CMsgAMGetUserGameStatsResponse
75
+ include Beefcake::Message
76
+
77
+ class Stats
78
+ include Beefcake::Message
79
+ end
80
+
81
+ class Achievement_Blocks
82
+ include Beefcake::Message
83
+ end
84
+ end
85
+
86
+ class CMsgGCGetCommandList
87
+ include Beefcake::Message
88
+ end
89
+
90
+ class CMsgGCGetCommandListResponse
91
+ include Beefcake::Message
92
+ end
93
+
94
+ class CGCMsgMemCachedGet
95
+ include Beefcake::Message
96
+ end
97
+
98
+ class CGCMsgMemCachedGetResponse
99
+ include Beefcake::Message
100
+
101
+ class ValueTag
102
+ include Beefcake::Message
103
+ end
104
+ end
105
+
106
+ class CGCMsgMemCachedSet
107
+ include Beefcake::Message
108
+
109
+ class KeyPair
110
+ include Beefcake::Message
111
+ end
112
+ end
113
+
114
+ class CGCMsgMemCachedDelete
115
+ include Beefcake::Message
116
+ end
117
+
118
+ class CGCMsgMemCachedStats
119
+ include Beefcake::Message
120
+ end
121
+
122
+ class CGCMsgMemCachedStatsResponse
123
+ include Beefcake::Message
124
+ end
125
+
126
+ class CGCMsgSQLStats
127
+ include Beefcake::Message
128
+ end
129
+
130
+ class CGCMsgSQLStatsResponse
131
+ include Beefcake::Message
132
+ end
133
+
134
+ class CMsgAMAddFreeLicense
135
+ include Beefcake::Message
136
+ end
137
+
138
+ class CMsgAMAddFreeLicenseResponse
139
+ include Beefcake::Message
140
+ end
141
+
142
+ class CGCMsgGetIPLocation
143
+ include Beefcake::Message
144
+ end
145
+
146
+ class CIPLocationInfo
147
+ include Beefcake::Message
148
+ end
149
+
150
+ class CGCMsgGetIPLocationResponse
151
+ include Beefcake::Message
152
+ end
153
+
154
+ class CGCMsgSystemStatsSchema
155
+ include Beefcake::Message
156
+ end
157
+
158
+ class CGCMsgGetSystemStats
159
+ include Beefcake::Message
160
+ end
161
+
162
+ class CGCMsgGetSystemStatsResponse
163
+ include Beefcake::Message
164
+ end
165
+
166
+ class CMsgAMSendEmail
167
+ include Beefcake::Message
168
+
169
+ class ReplacementToken
170
+ include Beefcake::Message
171
+ end
172
+
173
+ class PersonaNameReplacementToken
174
+ include Beefcake::Message
175
+ end
176
+ end
177
+
178
+ class CMsgAMSendEmailResponse
179
+ include Beefcake::Message
180
+ end
181
+
182
+ class CMsgGCGetEmailTemplate
183
+ include Beefcake::Message
184
+ end
185
+
186
+ class CMsgGCGetEmailTemplateResponse
187
+ include Beefcake::Message
188
+ end
189
+
190
+ class CMsgAMGrantGuestPasses2
191
+ include Beefcake::Message
192
+ end
193
+
194
+ class CMsgAMGrantGuestPasses2Response
195
+ include Beefcake::Message
196
+ end
197
+
198
+ class CGCSystemMsg_GetAccountDetails
199
+ include Beefcake::Message
200
+ end
201
+
202
+ class CGCSystemMsg_GetAccountDetails_Response
203
+ include Beefcake::Message
204
+ end
205
+
206
+ class CMsgGCGetPersonaNames
207
+ include Beefcake::Message
208
+ end
209
+
210
+ class CMsgGCGetPersonaNames_Response
211
+ include Beefcake::Message
212
+
213
+ class PersonaName
214
+ include Beefcake::Message
215
+ end
216
+ end
217
+
218
+ class CMsgGCCheckFriendship
219
+ include Beefcake::Message
220
+ end
221
+
222
+ class CMsgGCCheckFriendship_Response
223
+ include Beefcake::Message
224
+ end
225
+
226
+ class CMsgGCMsgMasterSetDirectory
227
+ include Beefcake::Message
228
+
229
+ class SubGC
230
+ include Beefcake::Message
231
+ end
232
+ end
233
+
234
+ class CMsgGCMsgMasterSetDirectory_Response
235
+ include Beefcake::Message
236
+ end
237
+
238
+ class CMsgGCMsgWebAPIJobRequestForwardResponse
239
+ include Beefcake::Message
240
+ end
241
+
242
+ class CGCSystemMsg_GetPurchaseTrust_Request
243
+ include Beefcake::Message
244
+ end
245
+
246
+ class CGCSystemMsg_GetPurchaseTrust_Response
247
+ include Beefcake::Message
248
+ end
249
+
250
+ class CMsgGCHAccountVacStatusChange
251
+ include Beefcake::Message
252
+ end
253
+
254
+ class CMsgGCGetPartnerAccountLink
255
+ include Beefcake::Message
256
+ end
257
+
258
+ class CMsgGCGetPartnerAccountLink_Response
259
+ include Beefcake::Message
260
+ end
261
+
262
+ class CMsgGCRoutingInfo
263
+ include Beefcake::Message
264
+
265
+ module RoutingMethod
266
+ RANDOM = 0
267
+ DISCARD = 1
268
+ CLIENT_STEAMID = 2
269
+ PROTOBUF_FIELD_UINT64 = 3
270
+ WEBAPI_PARAM_UINT64 = 4
271
+ end
272
+ end
273
+
274
+ class CMsgGCMsgMasterSetWebAPIRouting
275
+ include Beefcake::Message
276
+
277
+ class Entry
278
+ include Beefcake::Message
279
+ end
280
+ end
281
+
282
+ class CMsgGCMsgMasterSetClientMsgRouting
283
+ include Beefcake::Message
284
+
285
+ class Entry
286
+ include Beefcake::Message
287
+ end
288
+ end
289
+
290
+ class CMsgGCMsgMasterSetWebAPIRouting_Response
291
+ include Beefcake::Message
292
+ end
293
+
294
+ class CMsgGCMsgMasterSetClientMsgRouting_Response
295
+ include Beefcake::Message
296
+ end
297
+
298
+ class CMsgGCMsgSetOptions
299
+ include Beefcake::Message
300
+
301
+ module Option
302
+ NOTIFY_USER_SESSIONS = 0
303
+ NOTIFY_SERVER_SESSIONS = 1
304
+ NOTIFY_ACHIEVEMENTS = 2
305
+ NOTIFY_VAC_ACTION = 3
306
+ end
307
+
308
+ class MessageRange
309
+ include Beefcake::Message
310
+ end
311
+ end
312
+
313
+ class CMsgGCHUpdateSession
314
+ include Beefcake::Message
315
+
316
+ class ExtraField
317
+ include Beefcake::Message
318
+ end
319
+ end
320
+
321
+ class CMsgNotificationOfSuspiciousActivity
322
+ include Beefcake::Message
323
+
324
+ class MultipleGameInstances
325
+ include Beefcake::Message
326
+ end
327
+ end
328
+
329
+ class CMsgProtoBufHeader
330
+ optional :client_steam_id, :fixed64, 1
331
+ optional :client_session_id, :int32, 2
332
+ optional :source_app_id, :uint32, 3
333
+ optional :job_id_source, :fixed64, 10, :default => 18446744073709551615
334
+ optional :job_id_target, :fixed64, 11, :default => 18446744073709551615
335
+ optional :target_job_name, :string, 12
336
+ optional :eresult, :int32, 13, :default => 2
337
+ optional :error_message, :string, 14
338
+ optional :gc_msg_src, GCProtoBufMsgSrc, 200, :default => GCProtoBufMsgSrc::GCProtoBufMsgSrc_Unspecified
339
+ optional :gc_dir_index_source, :uint32, 201
340
+ end
341
+
342
+ class CMsgWebAPIKey
343
+ optional :status, :uint32, 1, :default => 255
344
+ optional :account_id, :uint32, 2, :default => 0
345
+ optional :publisher_group_id, :uint32, 3, :default => 0
346
+ optional :key_id, :uint32, 4
347
+ optional :domain, :string, 5
348
+ end
349
+
350
+ class CMsgHttpRequest
351
+
352
+ class RequestHeader
353
+ optional :name, :string, 1
354
+ optional :value, :string, 2
355
+ end
356
+
357
+ class QueryParam
358
+ optional :name, :string, 1
359
+ optional :value, :bytes, 2
360
+ end
361
+ optional :request_method, :uint32, 1
362
+ optional :hostname, :string, 2
363
+ optional :url, :string, 3
364
+ repeated :headers, CMsgHttpRequest::RequestHeader, 4
365
+ repeated :get_params, CMsgHttpRequest::QueryParam, 5
366
+ repeated :post_params, CMsgHttpRequest::QueryParam, 6
367
+ optional :body, :bytes, 7
368
+ optional :absolute_timeout, :uint32, 8
369
+ end
370
+
371
+ class CMsgWebAPIRequest
372
+ optional :UNUSED_job_name, :string, 1
373
+ optional :interface_name, :string, 2
374
+ optional :method_name, :string, 3
375
+ optional :version, :uint32, 4
376
+ optional :api_key, CMsgWebAPIKey, 5
377
+ optional :request, CMsgHttpRequest, 6
378
+ optional :routing_app_id, :uint32, 7
379
+ end
380
+
381
+ class CMsgHttpResponse
382
+
383
+ class ResponseHeader
384
+ optional :name, :string, 1
385
+ optional :value, :string, 2
386
+ end
387
+ optional :status_code, :uint32, 1
388
+ repeated :headers, CMsgHttpResponse::ResponseHeader, 2
389
+ optional :body, :bytes, 3
390
+ end
391
+
392
+ class CMsgAMFindAccounts
393
+ optional :search_type, :uint32, 1
394
+ optional :search_string, :string, 2
395
+ end
396
+
397
+ class CMsgAMFindAccountsResponse
398
+ repeated :steam_id, :fixed64, 1
399
+ end
400
+
401
+ class CMsgNotifyWatchdog
402
+ optional :source, :uint32, 1
403
+ optional :alert_type, :uint32, 2
404
+ optional :alert_destination, :uint32, 3
405
+ optional :critical, :bool, 4
406
+ optional :time, :uint32, 5
407
+ optional :appid, :uint32, 6
408
+ optional :text, :string, 7
409
+ end
410
+
411
+ class CMsgAMGetLicenses
412
+ optional :steamid, :fixed64, 1
413
+ end
414
+
415
+ class CMsgPackageLicense
416
+ optional :package_id, :uint32, 1
417
+ optional :time_created, :uint32, 2
418
+ optional :owner_id, :uint32, 3
419
+ end
420
+
421
+ class CMsgAMGetLicensesResponse
422
+ repeated :license, CMsgPackageLicense, 1
423
+ optional :result, :uint32, 2
424
+ end
425
+
426
+ class CMsgAMGetUserGameStats
427
+ optional :steam_id, :fixed64, 1
428
+ optional :game_id, :fixed64, 2
429
+ repeated :stats, :uint32, 3
430
+ end
431
+
432
+ class CMsgAMGetUserGameStatsResponse
433
+
434
+ class Stats
435
+ optional :stat_id, :uint32, 1
436
+ optional :stat_value, :uint32, 2
437
+ end
438
+
439
+ class Achievement_Blocks
440
+ optional :achievement_id, :uint32, 1
441
+ optional :achievement_bit_id, :uint32, 2
442
+ optional :unlock_time, :fixed32, 3
443
+ end
444
+ optional :steam_id, :fixed64, 1
445
+ optional :game_id, :fixed64, 2
446
+ optional :eresult, :int32, 3, :default => 2
447
+ repeated :stats, CMsgAMGetUserGameStatsResponse::Stats, 4
448
+ repeated :achievement_blocks, CMsgAMGetUserGameStatsResponse::Achievement_Blocks, 5
449
+ end
450
+
451
+ class CMsgGCGetCommandList
452
+ optional :app_id, :uint32, 1
453
+ optional :command_prefix, :string, 2
454
+ end
455
+
456
+ class CMsgGCGetCommandListResponse
457
+ repeated :command_name, :string, 1
458
+ end
459
+
460
+ class CGCMsgMemCachedGet
461
+ repeated :keys, :string, 1
462
+ end
463
+
464
+ class CGCMsgMemCachedGetResponse
465
+
466
+ class ValueTag
467
+ optional :found, :bool, 1
468
+ optional :value, :bytes, 2
469
+ end
470
+ repeated :values, CGCMsgMemCachedGetResponse::ValueTag, 1
471
+ end
472
+
473
+ class CGCMsgMemCachedSet
474
+
475
+ class KeyPair
476
+ optional :name, :string, 1
477
+ optional :value, :bytes, 2
478
+ end
479
+ repeated :keys, CGCMsgMemCachedSet::KeyPair, 1
480
+ end
481
+
482
+ class CGCMsgMemCachedDelete
483
+ repeated :keys, :string, 1
484
+ end
485
+
486
+ class CGCMsgMemCachedStats
487
+ end
488
+
489
+ class CGCMsgMemCachedStatsResponse
490
+ optional :curr_connections, :uint64, 1
491
+ optional :cmd_get, :uint64, 2
492
+ optional :cmd_set, :uint64, 3
493
+ optional :cmd_flush, :uint64, 4
494
+ optional :get_hits, :uint64, 5
495
+ optional :get_misses, :uint64, 6
496
+ optional :delete_hits, :uint64, 7
497
+ optional :delete_misses, :uint64, 8
498
+ optional :bytes_read, :uint64, 9
499
+ optional :bytes_written, :uint64, 10
500
+ optional :limit_maxbytes, :uint64, 11
501
+ optional :curr_items, :uint64, 12
502
+ optional :evictions, :uint64, 13
503
+ optional :bytes, :uint64, 14
504
+ end
505
+
506
+ class CGCMsgSQLStats
507
+ optional :schema_catalog, :uint32, 1
508
+ end
509
+
510
+ class CGCMsgSQLStatsResponse
511
+ optional :threads, :uint32, 1
512
+ optional :threads_connected, :uint32, 2
513
+ optional :threads_active, :uint32, 3
514
+ optional :operations_submitted, :uint32, 4
515
+ optional :prepared_statements_executed, :uint32, 5
516
+ optional :non_prepared_statements_executed, :uint32, 6
517
+ optional :deadlock_retries, :uint32, 7
518
+ optional :operations_timed_out_in_queue, :uint32, 8
519
+ optional :errors, :uint32, 9
520
+ end
521
+
522
+ class CMsgAMAddFreeLicense
523
+ optional :steamid, :fixed64, 1
524
+ optional :ip_public, :uint32, 2
525
+ optional :packageid, :uint32, 3
526
+ optional :store_country_code, :string, 4
527
+ end
528
+
529
+ class CMsgAMAddFreeLicenseResponse
530
+ optional :eresult, :int32, 1, :default => 2
531
+ optional :purchase_result_detail, :int32, 2
532
+ optional :transid, :fixed64, 3
533
+ end
534
+
535
+ class CGCMsgGetIPLocation
536
+ repeated :ips, :fixed32, 1
537
+ end
538
+
539
+ class CIPLocationInfo
540
+ optional :ip, :uint32, 1
541
+ optional :latitude, :float, 2
542
+ optional :longitude, :float, 3
543
+ optional :country, :string, 4
544
+ optional :state, :string, 5
545
+ optional :city, :string, 6
546
+ end
547
+
548
+ class CGCMsgGetIPLocationResponse
549
+ repeated :infos, CIPLocationInfo, 1
550
+ end
551
+
552
+ class CGCMsgSystemStatsSchema
553
+ optional :gc_app_id, :uint32, 1
554
+ optional :schema_kv, :bytes, 2
555
+ end
556
+
557
+ class CGCMsgGetSystemStats
558
+ end
559
+
560
+ class CGCMsgGetSystemStatsResponse
561
+ optional :gc_app_id, :uint32, 1
562
+ optional :stats_kv, :bytes, 2
563
+ optional :active_jobs, :uint32, 3
564
+ optional :yielding_jobs, :uint32, 4
565
+ optional :user_sessions, :uint32, 5
566
+ optional :game_server_sessions, :uint32, 6
567
+ optional :socaches, :uint32, 7
568
+ optional :socaches_to_unload, :uint32, 8
569
+ optional :socaches_loading, :uint32, 9
570
+ optional :writeback_queue, :uint32, 10
571
+ optional :steamid_locks, :uint32, 11
572
+ optional :logon_queue, :uint32, 12
573
+ optional :logon_jobs, :uint32, 13
574
+ end
575
+
576
+ class CMsgAMSendEmail
577
+
578
+ class ReplacementToken
579
+ optional :token_name, :string, 1
580
+ optional :token_value, :string, 2
581
+ end
582
+
583
+ class PersonaNameReplacementToken
584
+ optional :steamid, :fixed64, 1
585
+ optional :token_name, :string, 2
586
+ end
587
+ optional :steamid, :fixed64, 1
588
+ optional :email_msg_type, :uint32, 2
589
+ optional :email_format, :uint32, 3
590
+ repeated :persona_name_tokens, CMsgAMSendEmail::PersonaNameReplacementToken, 5
591
+ optional :source_gc, :uint32, 6
592
+ repeated :tokens, CMsgAMSendEmail::ReplacementToken, 7
593
+ end
594
+
595
+ class CMsgAMSendEmailResponse
596
+ optional :eresult, :uint32, 1, :default => 2
597
+ end
598
+
599
+ class CMsgGCGetEmailTemplate
600
+ optional :app_id, :uint32, 1
601
+ optional :email_msg_type, :uint32, 2
602
+ optional :email_lang, :int32, 3
603
+ optional :email_format, :int32, 4
604
+ end
605
+
606
+ class CMsgGCGetEmailTemplateResponse
607
+ optional :eresult, :uint32, 1, :default => 2
608
+ optional :template_exists, :bool, 2
609
+ optional :template, :string, 3
610
+ end
611
+
612
+ class CMsgAMGrantGuestPasses2
613
+ optional :steam_id, :fixed64, 1
614
+ optional :package_id, :uint32, 2
615
+ optional :passes_to_grant, :int32, 3
616
+ optional :days_to_expiration, :int32, 4
617
+ optional :action, :int32, 5
618
+ end
619
+
620
+ class CMsgAMGrantGuestPasses2Response
621
+ optional :eresult, :int32, 1, :default => 2
622
+ optional :passes_granted, :int32, 2, :default => 0
623
+ end
624
+
625
+ class CGCSystemMsg_GetAccountDetails
626
+ optional :steamid, :fixed64, 1
627
+ optional :appid, :uint32, 2
628
+ end
629
+
630
+ class CGCSystemMsg_GetAccountDetails_Response
631
+ optional :eresult_deprecated, :uint32, 1, :default => 2
632
+ optional :account_name, :string, 2
633
+ optional :persona_name, :string, 3
634
+ optional :is_profile_public, :bool, 4
635
+ optional :is_inventory_public, :bool, 5
636
+ optional :is_vac_banned, :bool, 7
637
+ optional :is_cyber_cafe, :bool, 8
638
+ optional :is_school_account, :bool, 9
639
+ optional :is_limited, :bool, 10
640
+ optional :is_subscribed, :bool, 11
641
+ optional :package, :uint32, 12
642
+ optional :is_free_trial_account, :bool, 13
643
+ optional :free_trial_expiration, :uint32, 14
644
+ optional :is_low_violence, :bool, 15
645
+ optional :is_account_locked_down, :bool, 16
646
+ optional :is_community_banned, :bool, 17
647
+ optional :is_trade_banned, :bool, 18
648
+ optional :trade_ban_expiration, :uint32, 19
649
+ optional :accountid, :uint32, 20
650
+ optional :suspension_end_time, :uint32, 21
651
+ optional :currency, :string, 22
652
+ optional :steam_level, :uint32, 23
653
+ optional :friend_count, :uint32, 24
654
+ optional :account_creation_time, :uint32, 25
655
+ optional :is_steamguard_enabled, :bool, 27
656
+ optional :is_phone_verified, :bool, 28
657
+ optional :is_two_factor_auth_enabled, :bool, 29
658
+ optional :two_factor_enabled_time, :uint32, 30
659
+ optional :phone_verification_time, :uint32, 31
660
+ optional :phone_id, :uint64, 33
661
+ optional :is_phone_identifying, :bool, 34
662
+ end
663
+
664
+ class CMsgGCGetPersonaNames
665
+ repeated :steamids, :fixed64, 1
666
+ end
667
+
668
+ class CMsgGCGetPersonaNames_Response
669
+
670
+ class PersonaName
671
+ optional :steamid, :fixed64, 1
672
+ optional :persona_name, :string, 2
673
+ end
674
+ repeated :succeeded_lookups, CMsgGCGetPersonaNames_Response::PersonaName, 1
675
+ repeated :failed_lookup_steamids, :fixed64, 2
676
+ end
677
+
678
+ class CMsgGCCheckFriendship
679
+ optional :steamid_left, :fixed64, 1
680
+ optional :steamid_right, :fixed64, 2
681
+ end
682
+
683
+ class CMsgGCCheckFriendship_Response
684
+ optional :success, :bool, 1
685
+ optional :found_friendship, :bool, 2
686
+ end
687
+
688
+ class CMsgGCMsgMasterSetDirectory
689
+
690
+ class SubGC
691
+ optional :dir_index, :uint32, 1
692
+ optional :name, :string, 2
693
+ optional :box, :string, 3
694
+ optional :command_line, :string, 4
695
+ optional :gc_binary, :string, 5
696
+ end
697
+ optional :master_dir_index, :uint32, 1
698
+ repeated :dir, CMsgGCMsgMasterSetDirectory::SubGC, 2
699
+ end
700
+
701
+ class CMsgGCMsgMasterSetDirectory_Response
702
+ optional :eresult, :int32, 1, :default => 2
703
+ end
704
+
705
+ class CMsgGCMsgWebAPIJobRequestForwardResponse
706
+ optional :dir_index, :uint32, 1
707
+ end
708
+
709
+ class CGCSystemMsg_GetPurchaseTrust_Request
710
+ optional :steamid, :fixed64, 1
711
+ end
712
+
713
+ class CGCSystemMsg_GetPurchaseTrust_Response
714
+ optional :has_prior_purchase_history, :bool, 1
715
+ optional :has_no_recent_password_resets, :bool, 2
716
+ optional :is_wallet_cash_trusted, :bool, 3
717
+ optional :time_all_trusted, :uint32, 4
718
+ end
719
+
720
+ class CMsgGCHAccountVacStatusChange
721
+ optional :steam_id, :fixed64, 1
722
+ optional :app_id, :uint32, 2
723
+ optional :rtime_vacban_starts, :uint32, 3
724
+ optional :is_banned_now, :bool, 4
725
+ optional :is_banned_future, :bool, 5
726
+ end
727
+
728
+ class CMsgGCGetPartnerAccountLink
729
+ optional :steamid, :fixed64, 1
730
+ end
731
+
732
+ class CMsgGCGetPartnerAccountLink_Response
733
+ optional :pwid, :uint32, 1
734
+ optional :nexonid, :uint32, 2
735
+ end
736
+
737
+ class CMsgGCRoutingInfo
738
+ repeated :dir_index, :uint32, 1
739
+ optional :method, CMsgGCRoutingInfo::RoutingMethod, 2, :default => CMsgGCRoutingInfo::RoutingMethod::RANDOM
740
+ optional :fallback, CMsgGCRoutingInfo::RoutingMethod, 3, :default => CMsgGCRoutingInfo::RoutingMethod::DISCARD
741
+ optional :protobuf_field, :uint32, 4
742
+ optional :webapi_param, :string, 5
743
+ end
744
+
745
+ class CMsgGCMsgMasterSetWebAPIRouting
746
+
747
+ class Entry
748
+ optional :interface_name, :string, 1
749
+ optional :method_name, :string, 2
750
+ optional :routing, CMsgGCRoutingInfo, 3
751
+ end
752
+ repeated :entries, CMsgGCMsgMasterSetWebAPIRouting::Entry, 1
753
+ end
754
+
755
+ class CMsgGCMsgMasterSetClientMsgRouting
756
+
757
+ class Entry
758
+ optional :msg_type, :uint32, 1
759
+ optional :routing, CMsgGCRoutingInfo, 2
760
+ end
761
+ repeated :entries, CMsgGCMsgMasterSetClientMsgRouting::Entry, 1
762
+ end
763
+
764
+ class CMsgGCMsgMasterSetWebAPIRouting_Response
765
+ optional :eresult, :int32, 1, :default => 2
766
+ end
767
+
768
+ class CMsgGCMsgMasterSetClientMsgRouting_Response
769
+ optional :eresult, :int32, 1, :default => 2
770
+ end
771
+
772
+ class CMsgGCMsgSetOptions
773
+
774
+ class MessageRange
775
+ required :low, :uint32, 1
776
+ required :high, :uint32, 2
777
+ end
778
+ repeated :options, CMsgGCMsgSetOptions::Option, 1
779
+ repeated :client_msg_ranges, CMsgGCMsgSetOptions::MessageRange, 2
780
+ end
781
+
782
+ class CMsgGCHUpdateSession
783
+
784
+ class ExtraField
785
+ optional :name, :string, 1
786
+ optional :value, :string, 2
787
+ end
788
+ optional :steam_id, :fixed64, 1
789
+ optional :app_id, :uint32, 2
790
+ optional :online, :bool, 3
791
+ optional :server_steam_id, :fixed64, 4
792
+ optional :server_addr, :uint32, 5
793
+ optional :server_port, :uint32, 6
794
+ optional :os_type, :uint32, 7
795
+ optional :client_addr, :uint32, 8
796
+ repeated :extra_fields, CMsgGCHUpdateSession::ExtraField, 9
797
+ end
798
+
799
+ class CMsgNotificationOfSuspiciousActivity
800
+
801
+ class MultipleGameInstances
802
+ optional :app_instance_count, :uint32, 1
803
+ repeated :other_steamids, :fixed64, 2
804
+ end
805
+ optional :steamid, :fixed64, 1
806
+ optional :appid, :uint32, 2
807
+ optional :multiple_instances, CMsgNotificationOfSuspiciousActivity::MultipleGameInstances, 3
808
+ end
809
+ end