-
Notifications
You must be signed in to change notification settings - Fork 39
/
dota_gcmessages_client_battle_report.pb.go
3064 lines (2717 loc) · 145 KB
/
dota_gcmessages_client_battle_report.pb.go
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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: dota_gcmessages_client_battle_report.proto
package protocol
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type CMsgBattleReport_HighlightType int32
const (
CMsgBattleReport_HighlightType_k_eHighlightTypeInvalid CMsgBattleReport_HighlightType = -1
CMsgBattleReport_HighlightType_k_eGameWinrate CMsgBattleReport_HighlightType = 0
CMsgBattleReport_HighlightType_k_eLaneWinrate CMsgBattleReport_HighlightType = 1
CMsgBattleReport_HighlightType_k_eMMRDelta CMsgBattleReport_HighlightType = 2
CMsgBattleReport_HighlightType_k_eNumHeroesPlayed CMsgBattleReport_HighlightType = 3
CMsgBattleReport_HighlightType_k_eNumGamesPlayed CMsgBattleReport_HighlightType = 4
CMsgBattleReport_HighlightType_k_eAveragePowerRunesTaken CMsgBattleReport_HighlightType = 5
CMsgBattleReport_HighlightType_k_eAverageBountyRunesTaken CMsgBattleReport_HighlightType = 6
CMsgBattleReport_HighlightType_k_eTotalKillEnemyT1First CMsgBattleReport_HighlightType = 7
CMsgBattleReport_HighlightType_k_eTotalRoshanKills CMsgBattleReport_HighlightType = 8
CMsgBattleReport_HighlightType_k_eTotalDewards CMsgBattleReport_HighlightType = 9
CMsgBattleReport_HighlightType_k_eTotalCampsStacked CMsgBattleReport_HighlightType = 10
CMsgBattleReport_HighlightType_k_eMaxWinstreak CMsgBattleReport_HighlightType = 11
CMsgBattleReport_HighlightType_k_eAverageDewards CMsgBattleReport_HighlightType = 12
CMsgBattleReport_HighlightType_k_eAverageKills CMsgBattleReport_HighlightType = 13
CMsgBattleReport_HighlightType_k_eMaxKills CMsgBattleReport_HighlightType = 14
CMsgBattleReport_HighlightType_k_eAverageAssists CMsgBattleReport_HighlightType = 15
CMsgBattleReport_HighlightType_k_eMaxAssists CMsgBattleReport_HighlightType = 16
CMsgBattleReport_HighlightType_k_eAverageDeaths CMsgBattleReport_HighlightType = 17
CMsgBattleReport_HighlightType_k_eMinDeaths CMsgBattleReport_HighlightType = 18
CMsgBattleReport_HighlightType_k_eAverageCampsStacked CMsgBattleReport_HighlightType = 19
CMsgBattleReport_HighlightType_k_eTotalLastHits CMsgBattleReport_HighlightType = 20
CMsgBattleReport_HighlightType_k_eAverageLastHits CMsgBattleReport_HighlightType = 21
CMsgBattleReport_HighlightType_k_eTotalDenies CMsgBattleReport_HighlightType = 22
CMsgBattleReport_HighlightType_k_eAverageDenies CMsgBattleReport_HighlightType = 23
CMsgBattleReport_HighlightType_k_eTotalGamesWithRoshanAdvantage CMsgBattleReport_HighlightType = 24
CMsgBattleReport_HighlightType_k_ePercentGamesWithRoshanAdvantage CMsgBattleReport_HighlightType = 25
CMsgBattleReport_HighlightType_k_eAverageStunDuration CMsgBattleReport_HighlightType = 26
CMsgBattleReport_HighlightType_k_eTotalStunDuration CMsgBattleReport_HighlightType = 27
CMsgBattleReport_HighlightType_k_eAverageTeleportsUsed CMsgBattleReport_HighlightType = 28
CMsgBattleReport_HighlightType_k_eTotalTeleportsUsed CMsgBattleReport_HighlightType = 29
CMsgBattleReport_HighlightType_k_eAverageHeroDamage CMsgBattleReport_HighlightType = 30
CMsgBattleReport_HighlightType_k_eTotalHeroDamage CMsgBattleReport_HighlightType = 31
CMsgBattleReport_HighlightType_k_eAverageHeroHealing CMsgBattleReport_HighlightType = 32
CMsgBattleReport_HighlightType_k_eTotalHeroHealing CMsgBattleReport_HighlightType = 33
CMsgBattleReport_HighlightType_k_eAverageTowerDamage CMsgBattleReport_HighlightType = 34
CMsgBattleReport_HighlightType_k_eTotalTowerDamage CMsgBattleReport_HighlightType = 35
CMsgBattleReport_HighlightType_k_eMaxLossStreak CMsgBattleReport_HighlightType = 36
CMsgBattleReport_HighlightType_k_eAverageGameDuration CMsgBattleReport_HighlightType = 37
CMsgBattleReport_HighlightType_k_eMaxGameDuration CMsgBattleReport_HighlightType = 38
CMsgBattleReport_HighlightType_k_eMinGameDuration CMsgBattleReport_HighlightType = 39
CMsgBattleReport_HighlightType_k_eAverageWinDuration CMsgBattleReport_HighlightType = 40
CMsgBattleReport_HighlightType_k_eMaxWinDuration CMsgBattleReport_HighlightType = 41
CMsgBattleReport_HighlightType_k_eMinWinDuration CMsgBattleReport_HighlightType = 42
CMsgBattleReport_HighlightType_k_eAverageLossDuration CMsgBattleReport_HighlightType = 43
CMsgBattleReport_HighlightType_k_eMaxLossDuration CMsgBattleReport_HighlightType = 44
CMsgBattleReport_HighlightType_k_eMinLossDuration CMsgBattleReport_HighlightType = 45
CMsgBattleReport_HighlightType_k_ePctGamesEnemyT1TakenFirst CMsgBattleReport_HighlightType = 46
CMsgBattleReport_HighlightType_k_eMaxCampsStacked CMsgBattleReport_HighlightType = 47
CMsgBattleReport_HighlightType_k_eMaxDewards CMsgBattleReport_HighlightType = 48
CMsgBattleReport_HighlightType_k_eMaxRoshanKills CMsgBattleReport_HighlightType = 49
CMsgBattleReport_HighlightType_k_eMaxBountyRunesTaken CMsgBattleReport_HighlightType = 50
CMsgBattleReport_HighlightType_k_eMaxPowerRunesTaken CMsgBattleReport_HighlightType = 51
CMsgBattleReport_HighlightType_k_eMaxDeaths CMsgBattleReport_HighlightType = 52
CMsgBattleReport_HighlightType_k_eMaxLastHits CMsgBattleReport_HighlightType = 53
CMsgBattleReport_HighlightType_k_eMaxDenies CMsgBattleReport_HighlightType = 54
CMsgBattleReport_HighlightType_k_eRadiantWinRate CMsgBattleReport_HighlightType = 55
CMsgBattleReport_HighlightType_k_eDireWinRate CMsgBattleReport_HighlightType = 56
CMsgBattleReport_HighlightType_k_eRadiantGameCount CMsgBattleReport_HighlightType = 57
CMsgBattleReport_HighlightType_k_eDireGameCount CMsgBattleReport_HighlightType = 58
CMsgBattleReport_HighlightType_k_eMaxDamage CMsgBattleReport_HighlightType = 59
CMsgBattleReport_HighlightType_k_eMaxHealing CMsgBattleReport_HighlightType = 60
CMsgBattleReport_HighlightType_k_eMaxTowerDamage CMsgBattleReport_HighlightType = 61
CMsgBattleReport_HighlightType_k_eAverageGPM CMsgBattleReport_HighlightType = 62
CMsgBattleReport_HighlightType_k_eMaxGPM CMsgBattleReport_HighlightType = 63
CMsgBattleReport_HighlightType_k_eAverageXPM CMsgBattleReport_HighlightType = 64
CMsgBattleReport_HighlightType_k_eMaxXPM CMsgBattleReport_HighlightType = 65
)
var CMsgBattleReport_HighlightType_name = map[int32]string{
-1: "k_eHighlightTypeInvalid",
0: "k_eGameWinrate",
1: "k_eLaneWinrate",
2: "k_eMMRDelta",
3: "k_eNumHeroesPlayed",
4: "k_eNumGamesPlayed",
5: "k_eAveragePowerRunesTaken",
6: "k_eAverageBountyRunesTaken",
7: "k_eTotalKillEnemyT1First",
8: "k_eTotalRoshanKills",
9: "k_eTotalDewards",
10: "k_eTotalCampsStacked",
11: "k_eMaxWinstreak",
12: "k_eAverageDewards",
13: "k_eAverageKills",
14: "k_eMaxKills",
15: "k_eAverageAssists",
16: "k_eMaxAssists",
17: "k_eAverageDeaths",
18: "k_eMinDeaths",
19: "k_eAverageCampsStacked",
20: "k_eTotalLastHits",
21: "k_eAverageLastHits",
22: "k_eTotalDenies",
23: "k_eAverageDenies",
24: "k_eTotalGamesWithRoshanAdvantage",
25: "k_ePercentGamesWithRoshanAdvantage",
26: "k_eAverageStunDuration",
27: "k_eTotalStunDuration",
28: "k_eAverageTeleportsUsed",
29: "k_eTotalTeleportsUsed",
30: "k_eAverageHeroDamage",
31: "k_eTotalHeroDamage",
32: "k_eAverageHeroHealing",
33: "k_eTotalHeroHealing",
34: "k_eAverageTowerDamage",
35: "k_eTotalTowerDamage",
36: "k_eMaxLossStreak",
37: "k_eAverageGameDuration",
38: "k_eMaxGameDuration",
39: "k_eMinGameDuration",
40: "k_eAverageWinDuration",
41: "k_eMaxWinDuration",
42: "k_eMinWinDuration",
43: "k_eAverageLossDuration",
44: "k_eMaxLossDuration",
45: "k_eMinLossDuration",
46: "k_ePctGamesEnemyT1TakenFirst",
47: "k_eMaxCampsStacked",
48: "k_eMaxDewards",
49: "k_eMaxRoshanKills",
50: "k_eMaxBountyRunesTaken",
51: "k_eMaxPowerRunesTaken",
52: "k_eMaxDeaths",
53: "k_eMaxLastHits",
54: "k_eMaxDenies",
55: "k_eRadiantWinRate",
56: "k_eDireWinRate",
57: "k_eRadiantGameCount",
58: "k_eDireGameCount",
59: "k_eMaxDamage",
60: "k_eMaxHealing",
61: "k_eMaxTowerDamage",
62: "k_eAverageGPM",
63: "k_eMaxGPM",
64: "k_eAverageXPM",
65: "k_eMaxXPM",
}
var CMsgBattleReport_HighlightType_value = map[string]int32{
"k_eHighlightTypeInvalid": -1,
"k_eGameWinrate": 0,
"k_eLaneWinrate": 1,
"k_eMMRDelta": 2,
"k_eNumHeroesPlayed": 3,
"k_eNumGamesPlayed": 4,
"k_eAveragePowerRunesTaken": 5,
"k_eAverageBountyRunesTaken": 6,
"k_eTotalKillEnemyT1First": 7,
"k_eTotalRoshanKills": 8,
"k_eTotalDewards": 9,
"k_eTotalCampsStacked": 10,
"k_eMaxWinstreak": 11,
"k_eAverageDewards": 12,
"k_eAverageKills": 13,
"k_eMaxKills": 14,
"k_eAverageAssists": 15,
"k_eMaxAssists": 16,
"k_eAverageDeaths": 17,
"k_eMinDeaths": 18,
"k_eAverageCampsStacked": 19,
"k_eTotalLastHits": 20,
"k_eAverageLastHits": 21,
"k_eTotalDenies": 22,
"k_eAverageDenies": 23,
"k_eTotalGamesWithRoshanAdvantage": 24,
"k_ePercentGamesWithRoshanAdvantage": 25,
"k_eAverageStunDuration": 26,
"k_eTotalStunDuration": 27,
"k_eAverageTeleportsUsed": 28,
"k_eTotalTeleportsUsed": 29,
"k_eAverageHeroDamage": 30,
"k_eTotalHeroDamage": 31,
"k_eAverageHeroHealing": 32,
"k_eTotalHeroHealing": 33,
"k_eAverageTowerDamage": 34,
"k_eTotalTowerDamage": 35,
"k_eMaxLossStreak": 36,
"k_eAverageGameDuration": 37,
"k_eMaxGameDuration": 38,
"k_eMinGameDuration": 39,
"k_eAverageWinDuration": 40,
"k_eMaxWinDuration": 41,
"k_eMinWinDuration": 42,
"k_eAverageLossDuration": 43,
"k_eMaxLossDuration": 44,
"k_eMinLossDuration": 45,
"k_ePctGamesEnemyT1TakenFirst": 46,
"k_eMaxCampsStacked": 47,
"k_eMaxDewards": 48,
"k_eMaxRoshanKills": 49,
"k_eMaxBountyRunesTaken": 50,
"k_eMaxPowerRunesTaken": 51,
"k_eMaxDeaths": 52,
"k_eMaxLastHits": 53,
"k_eMaxDenies": 54,
"k_eRadiantWinRate": 55,
"k_eDireWinRate": 56,
"k_eRadiantGameCount": 57,
"k_eDireGameCount": 58,
"k_eMaxDamage": 59,
"k_eMaxHealing": 60,
"k_eMaxTowerDamage": 61,
"k_eAverageGPM": 62,
"k_eMaxGPM": 63,
"k_eAverageXPM": 64,
"k_eMaxXPM": 65,
}
func (x CMsgBattleReport_HighlightType) Enum() *CMsgBattleReport_HighlightType {
p := new(CMsgBattleReport_HighlightType)
*p = x
return p
}
func (x CMsgBattleReport_HighlightType) String() string {
return proto.EnumName(CMsgBattleReport_HighlightType_name, int32(x))
}
func (x *CMsgBattleReport_HighlightType) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(CMsgBattleReport_HighlightType_value, data, "CMsgBattleReport_HighlightType")
if err != nil {
return err
}
*x = CMsgBattleReport_HighlightType(value)
return nil
}
func (CMsgBattleReport_HighlightType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b28a743a9e497915, []int{0}
}
type CMsgBattleReport_HighlightCategory int32
const (
CMsgBattleReport_HighlightCategory_k_eHighlightGeneral CMsgBattleReport_HighlightCategory = 0
CMsgBattleReport_HighlightCategory_k_eHighlightHero CMsgBattleReport_HighlightCategory = 1
CMsgBattleReport_HighlightCategory_k_eHighlightRole CMsgBattleReport_HighlightCategory = 2
)
var CMsgBattleReport_HighlightCategory_name = map[int32]string{
0: "k_eHighlightGeneral",
1: "k_eHighlightHero",
2: "k_eHighlightRole",
}
var CMsgBattleReport_HighlightCategory_value = map[string]int32{
"k_eHighlightGeneral": 0,
"k_eHighlightHero": 1,
"k_eHighlightRole": 2,
}
func (x CMsgBattleReport_HighlightCategory) Enum() *CMsgBattleReport_HighlightCategory {
p := new(CMsgBattleReport_HighlightCategory)
*p = x
return p
}
func (x CMsgBattleReport_HighlightCategory) String() string {
return proto.EnumName(CMsgBattleReport_HighlightCategory_name, int32(x))
}
func (x *CMsgBattleReport_HighlightCategory) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(CMsgBattleReport_HighlightCategory_value, data, "CMsgBattleReport_HighlightCategory")
if err != nil {
return err
}
*x = CMsgBattleReport_HighlightCategory(value)
return nil
}
func (CMsgBattleReport_HighlightCategory) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b28a743a9e497915, []int{1}
}
type CMsgBattleReport_Role int32
const (
CMsgBattleReport_Role_k_eUnknownRole CMsgBattleReport_Role = -1
CMsgBattleReport_Role_k_eSafelane CMsgBattleReport_Role = 0
CMsgBattleReport_Role_k_eMidlane CMsgBattleReport_Role = 1
CMsgBattleReport_Role_k_eOfflane CMsgBattleReport_Role = 2
CMsgBattleReport_Role_k_eSupport CMsgBattleReport_Role = 3
CMsgBattleReport_Role_k_eHardSupport CMsgBattleReport_Role = 4
)
var CMsgBattleReport_Role_name = map[int32]string{
-1: "k_eUnknownRole",
0: "k_eSafelane",
1: "k_eMidlane",
2: "k_eOfflane",
3: "k_eSupport",
4: "k_eHardSupport",
}
var CMsgBattleReport_Role_value = map[string]int32{
"k_eUnknownRole": -1,
"k_eSafelane": 0,
"k_eMidlane": 1,
"k_eOfflane": 2,
"k_eSupport": 3,
"k_eHardSupport": 4,
}
func (x CMsgBattleReport_Role) Enum() *CMsgBattleReport_Role {
p := new(CMsgBattleReport_Role)
*p = x
return p
}
func (x CMsgBattleReport_Role) String() string {
return proto.EnumName(CMsgBattleReport_Role_name, int32(x))
}
func (x *CMsgBattleReport_Role) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(CMsgBattleReport_Role_value, data, "CMsgBattleReport_Role")
if err != nil {
return err
}
*x = CMsgBattleReport_Role(value)
return nil
}
func (CMsgBattleReport_Role) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b28a743a9e497915, []int{2}
}
type CMsgBattleReport_CompareContext int32
const (
CMsgBattleReport_CompareContext_k_eCompareContextInvalid CMsgBattleReport_CompareContext = -1
CMsgBattleReport_CompareContext_k_eAbsoluteValue CMsgBattleReport_CompareContext = 0
CMsgBattleReport_CompareContext_k_ePlayersOfSimilarRank CMsgBattleReport_CompareContext = 1
CMsgBattleReport_CompareContext_k_eAllPlayers CMsgBattleReport_CompareContext = 2
CMsgBattleReport_CompareContext_k_ePlayersPersonalHistory CMsgBattleReport_CompareContext = 3
)
var CMsgBattleReport_CompareContext_name = map[int32]string{
-1: "k_eCompareContextInvalid",
0: "k_eAbsoluteValue",
1: "k_ePlayersOfSimilarRank",
2: "k_eAllPlayers",
3: "k_ePlayersPersonalHistory",
}
var CMsgBattleReport_CompareContext_value = map[string]int32{
"k_eCompareContextInvalid": -1,
"k_eAbsoluteValue": 0,
"k_ePlayersOfSimilarRank": 1,
"k_eAllPlayers": 2,
"k_ePlayersPersonalHistory": 3,
}
func (x CMsgBattleReport_CompareContext) Enum() *CMsgBattleReport_CompareContext {
p := new(CMsgBattleReport_CompareContext)
*p = x
return p
}
func (x CMsgBattleReport_CompareContext) String() string {
return proto.EnumName(CMsgBattleReport_CompareContext_name, int32(x))
}
func (x *CMsgBattleReport_CompareContext) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(CMsgBattleReport_CompareContext_value, data, "CMsgBattleReport_CompareContext")
if err != nil {
return err
}
*x = CMsgBattleReport_CompareContext(value)
return nil
}
func (CMsgBattleReport_CompareContext) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b28a743a9e497915, []int{3}
}
type CMsgBattleReport_HighlightTier int32
const (
CMsgBattleReport_HighlightTier_k_eHighlightTierLow CMsgBattleReport_HighlightTier = -1
CMsgBattleReport_HighlightTier_k_eHighlightTierNone CMsgBattleReport_HighlightTier = 0
CMsgBattleReport_HighlightTier_k_eHighlightTier1 CMsgBattleReport_HighlightTier = 1
CMsgBattleReport_HighlightTier_k_eHighlightTier2 CMsgBattleReport_HighlightTier = 2
CMsgBattleReport_HighlightTier_k_eHighlightTier3 CMsgBattleReport_HighlightTier = 3
CMsgBattleReport_HighlightTier_k_eHighlightTierCustom CMsgBattleReport_HighlightTier = 4
)
var CMsgBattleReport_HighlightTier_name = map[int32]string{
-1: "k_eHighlightTierLow",
0: "k_eHighlightTierNone",
1: "k_eHighlightTier1",
2: "k_eHighlightTier2",
3: "k_eHighlightTier3",
4: "k_eHighlightTierCustom",
}
var CMsgBattleReport_HighlightTier_value = map[string]int32{
"k_eHighlightTierLow": -1,
"k_eHighlightTierNone": 0,
"k_eHighlightTier1": 1,
"k_eHighlightTier2": 2,
"k_eHighlightTier3": 3,
"k_eHighlightTierCustom": 4,
}
func (x CMsgBattleReport_HighlightTier) Enum() *CMsgBattleReport_HighlightTier {
p := new(CMsgBattleReport_HighlightTier)
*p = x
return p
}
func (x CMsgBattleReport_HighlightTier) String() string {
return proto.EnumName(CMsgBattleReport_HighlightTier_name, int32(x))
}
func (x *CMsgBattleReport_HighlightTier) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(CMsgBattleReport_HighlightTier_value, data, "CMsgBattleReport_HighlightTier")
if err != nil {
return err
}
*x = CMsgBattleReport_HighlightTier(value)
return nil
}
func (CMsgBattleReport_HighlightTier) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b28a743a9e497915, []int{4}
}
type CMsgBattleReport_HighlightRarity int32
const (
CMsgBattleReport_HighlightRarity_k_eHighlightCommon CMsgBattleReport_HighlightRarity = 0
CMsgBattleReport_HighlightRarity_k_eHighlightUncommon CMsgBattleReport_HighlightRarity = 1
CMsgBattleReport_HighlightRarity_k_eHighlightRare CMsgBattleReport_HighlightRarity = 2
)
var CMsgBattleReport_HighlightRarity_name = map[int32]string{
0: "k_eHighlightCommon",
1: "k_eHighlightUncommon",
2: "k_eHighlightRare",
}
var CMsgBattleReport_HighlightRarity_value = map[string]int32{
"k_eHighlightCommon": 0,
"k_eHighlightUncommon": 1,
"k_eHighlightRare": 2,
}
func (x CMsgBattleReport_HighlightRarity) Enum() *CMsgBattleReport_HighlightRarity {
p := new(CMsgBattleReport_HighlightRarity)
*p = x
return p
}
func (x CMsgBattleReport_HighlightRarity) String() string {
return proto.EnumName(CMsgBattleReport_HighlightRarity_name, int32(x))
}
func (x *CMsgBattleReport_HighlightRarity) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(CMsgBattleReport_HighlightRarity_value, data, "CMsgBattleReport_HighlightRarity")
if err != nil {
return err
}
*x = CMsgBattleReport_HighlightRarity(value)
return nil
}
func (CMsgBattleReport_HighlightRarity) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b28a743a9e497915, []int{5}
}
type CMsgBattleReport_EOutcome int32
const (
CMsgBattleReport_EOutcome_k_eWin CMsgBattleReport_EOutcome = 0
CMsgBattleReport_EOutcome_k_eLoss CMsgBattleReport_EOutcome = 1
)
var CMsgBattleReport_EOutcome_name = map[int32]string{
0: "k_eWin",
1: "k_eLoss",
}
var CMsgBattleReport_EOutcome_value = map[string]int32{
"k_eWin": 0,
"k_eLoss": 1,
}
func (x CMsgBattleReport_EOutcome) Enum() *CMsgBattleReport_EOutcome {
p := new(CMsgBattleReport_EOutcome)
*p = x
return p
}
func (x CMsgBattleReport_EOutcome) String() string {
return proto.EnumName(CMsgBattleReport_EOutcome_name, int32(x))
}
func (x *CMsgBattleReport_EOutcome) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(CMsgBattleReport_EOutcome_value, data, "CMsgBattleReport_EOutcome")
if err != nil {
return err
}
*x = CMsgBattleReport_EOutcome(value)
return nil
}
func (CMsgBattleReport_EOutcome) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b28a743a9e497915, []int{6}
}
type CMsgBattleReport_ELaneOutcome int32
const (
CMsgBattleReport_ELaneOutcome_k_eUnknownLaneOutcome CMsgBattleReport_ELaneOutcome = -1
CMsgBattleReport_ELaneOutcome_k_eWonLane CMsgBattleReport_ELaneOutcome = 0
CMsgBattleReport_ELaneOutcome_k_eLostLane CMsgBattleReport_ELaneOutcome = 1
CMsgBattleReport_ELaneOutcome_k_eEvenLane CMsgBattleReport_ELaneOutcome = 2
)
var CMsgBattleReport_ELaneOutcome_name = map[int32]string{
-1: "k_eUnknownLaneOutcome",
0: "k_eWonLane",
1: "k_eLostLane",
2: "k_eEvenLane",
}
var CMsgBattleReport_ELaneOutcome_value = map[string]int32{
"k_eUnknownLaneOutcome": -1,
"k_eWonLane": 0,
"k_eLostLane": 1,
"k_eEvenLane": 2,
}
func (x CMsgBattleReport_ELaneOutcome) Enum() *CMsgBattleReport_ELaneOutcome {
p := new(CMsgBattleReport_ELaneOutcome)
*p = x
return p
}
func (x CMsgBattleReport_ELaneOutcome) String() string {
return proto.EnumName(CMsgBattleReport_ELaneOutcome_name, int32(x))
}
func (x *CMsgBattleReport_ELaneOutcome) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(CMsgBattleReport_ELaneOutcome_value, data, "CMsgBattleReport_ELaneOutcome")
if err != nil {
return err
}
*x = CMsgBattleReport_ELaneOutcome(value)
return nil
}
func (CMsgBattleReport_ELaneOutcome) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b28a743a9e497915, []int{7}
}
type CMsgClientToGCGetBattleReportResponse_EResponse int32
const (
CMsgClientToGCGetBattleReportResponse_k_eInternalError CMsgClientToGCGetBattleReportResponse_EResponse = 0
CMsgClientToGCGetBattleReportResponse_k_eSuccess CMsgClientToGCGetBattleReportResponse_EResponse = 1
CMsgClientToGCGetBattleReportResponse_k_eTooBusy CMsgClientToGCGetBattleReportResponse_EResponse = 2
CMsgClientToGCGetBattleReportResponse_k_eDisabled CMsgClientToGCGetBattleReportResponse_EResponse = 3
CMsgClientToGCGetBattleReportResponse_k_ePermissionDenied CMsgClientToGCGetBattleReportResponse_EResponse = 4
CMsgClientToGCGetBattleReportResponse_k_eNotSubscribedToDotaPlus CMsgClientToGCGetBattleReportResponse_EResponse = 5
CMsgClientToGCGetBattleReportResponse_k_eInvalidParameters CMsgClientToGCGetBattleReportResponse_EResponse = 6
CMsgClientToGCGetBattleReportResponse_k_eUnableToGetPlusSubInfo CMsgClientToGCGetBattleReportResponse_EResponse = 7
CMsgClientToGCGetBattleReportResponse_k_eUnableToLoadBattleReport CMsgClientToGCGetBattleReportResponse_EResponse = 8
CMsgClientToGCGetBattleReportResponse_k_eUnableToSaveBattleReport CMsgClientToGCGetBattleReportResponse_EResponse = 9
CMsgClientToGCGetBattleReportResponse_k_eUnableToGetAggregates CMsgClientToGCGetBattleReportResponse_EResponse = 10
CMsgClientToGCGetBattleReportResponse_k_eNotEnoughGamesPlayed CMsgClientToGCGetBattleReportResponse_EResponse = 11
)
var CMsgClientToGCGetBattleReportResponse_EResponse_name = map[int32]string{
0: "k_eInternalError",
1: "k_eSuccess",
2: "k_eTooBusy",
3: "k_eDisabled",
4: "k_ePermissionDenied",
5: "k_eNotSubscribedToDotaPlus",
6: "k_eInvalidParameters",
7: "k_eUnableToGetPlusSubInfo",
8: "k_eUnableToLoadBattleReport",
9: "k_eUnableToSaveBattleReport",
10: "k_eUnableToGetAggregates",
11: "k_eNotEnoughGamesPlayed",
}
var CMsgClientToGCGetBattleReportResponse_EResponse_value = map[string]int32{
"k_eInternalError": 0,
"k_eSuccess": 1,
"k_eTooBusy": 2,
"k_eDisabled": 3,
"k_ePermissionDenied": 4,
"k_eNotSubscribedToDotaPlus": 5,
"k_eInvalidParameters": 6,
"k_eUnableToGetPlusSubInfo": 7,
"k_eUnableToLoadBattleReport": 8,
"k_eUnableToSaveBattleReport": 9,
"k_eUnableToGetAggregates": 10,
"k_eNotEnoughGamesPlayed": 11,
}
func (x CMsgClientToGCGetBattleReportResponse_EResponse) Enum() *CMsgClientToGCGetBattleReportResponse_EResponse {
p := new(CMsgClientToGCGetBattleReportResponse_EResponse)
*p = x
return p
}
func (x CMsgClientToGCGetBattleReportResponse_EResponse) String() string {
return proto.EnumName(CMsgClientToGCGetBattleReportResponse_EResponse_name, int32(x))
}
func (x *CMsgClientToGCGetBattleReportResponse_EResponse) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(CMsgClientToGCGetBattleReportResponse_EResponse_value, data, "CMsgClientToGCGetBattleReportResponse_EResponse")
if err != nil {
return err
}
*x = CMsgClientToGCGetBattleReportResponse_EResponse(value)
return nil
}
func (CMsgClientToGCGetBattleReportResponse_EResponse) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b28a743a9e497915, []int{9, 0}
}
type CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse int32
const (
CMsgClientToGCGetBattleReportAggregateStatsResponse_k_eInternalError CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse = 0
CMsgClientToGCGetBattleReportAggregateStatsResponse_k_eSuccess CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse = 1
CMsgClientToGCGetBattleReportAggregateStatsResponse_k_eTooBusy CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse = 2
CMsgClientToGCGetBattleReportAggregateStatsResponse_k_eDisabled CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse = 3
CMsgClientToGCGetBattleReportAggregateStatsResponse_k_ePermissionDenied CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse = 4
CMsgClientToGCGetBattleReportAggregateStatsResponse_k_eInvalidParams CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse = 5
CMsgClientToGCGetBattleReportAggregateStatsResponse_k_eNotSubscribedToDotaPlus CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse = 6
)
var CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse_name = map[int32]string{
0: "k_eInternalError",
1: "k_eSuccess",
2: "k_eTooBusy",
3: "k_eDisabled",
4: "k_ePermissionDenied",
5: "k_eInvalidParams",
6: "k_eNotSubscribedToDotaPlus",
}
var CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse_value = map[string]int32{
"k_eInternalError": 0,
"k_eSuccess": 1,
"k_eTooBusy": 2,
"k_eDisabled": 3,
"k_ePermissionDenied": 4,
"k_eInvalidParams": 5,
"k_eNotSubscribedToDotaPlus": 6,
}
func (x CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse) Enum() *CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse {
p := new(CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse)
*p = x
return p
}
func (x CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse) String() string {
return proto.EnumName(CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse_name, int32(x))
}
func (x *CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse_value, data, "CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse")
if err != nil {
return err
}
*x = CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse(value)
return nil
}
func (CMsgClientToGCGetBattleReportAggregateStatsResponse_EResponse) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b28a743a9e497915, []int{11, 0}
}
type CMsgClientToGCGetBattleReportInfoResponse_EResponse int32
const (
CMsgClientToGCGetBattleReportInfoResponse_k_eInternalError CMsgClientToGCGetBattleReportInfoResponse_EResponse = 0
CMsgClientToGCGetBattleReportInfoResponse_k_eSuccess CMsgClientToGCGetBattleReportInfoResponse_EResponse = 1
CMsgClientToGCGetBattleReportInfoResponse_k_eTooBusy CMsgClientToGCGetBattleReportInfoResponse_EResponse = 2
CMsgClientToGCGetBattleReportInfoResponse_k_eDisabled CMsgClientToGCGetBattleReportInfoResponse_EResponse = 3
CMsgClientToGCGetBattleReportInfoResponse_k_ePermissionDenied CMsgClientToGCGetBattleReportInfoResponse_EResponse = 4
CMsgClientToGCGetBattleReportInfoResponse_k_eNotSubscribedToDotaPlus CMsgClientToGCGetBattleReportInfoResponse_EResponse = 5
)
var CMsgClientToGCGetBattleReportInfoResponse_EResponse_name = map[int32]string{
0: "k_eInternalError",
1: "k_eSuccess",
2: "k_eTooBusy",
3: "k_eDisabled",
4: "k_ePermissionDenied",
5: "k_eNotSubscribedToDotaPlus",
}
var CMsgClientToGCGetBattleReportInfoResponse_EResponse_value = map[string]int32{
"k_eInternalError": 0,
"k_eSuccess": 1,
"k_eTooBusy": 2,
"k_eDisabled": 3,
"k_ePermissionDenied": 4,
"k_eNotSubscribedToDotaPlus": 5,
}
func (x CMsgClientToGCGetBattleReportInfoResponse_EResponse) Enum() *CMsgClientToGCGetBattleReportInfoResponse_EResponse {
p := new(CMsgClientToGCGetBattleReportInfoResponse_EResponse)
*p = x
return p
}
func (x CMsgClientToGCGetBattleReportInfoResponse_EResponse) String() string {
return proto.EnumName(CMsgClientToGCGetBattleReportInfoResponse_EResponse_name, int32(x))
}
func (x *CMsgClientToGCGetBattleReportInfoResponse_EResponse) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(CMsgClientToGCGetBattleReportInfoResponse_EResponse_value, data, "CMsgClientToGCGetBattleReportInfoResponse_EResponse")
if err != nil {
return err
}
*x = CMsgClientToGCGetBattleReportInfoResponse_EResponse(value)
return nil
}
func (CMsgClientToGCGetBattleReportInfoResponse_EResponse) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b28a743a9e497915, []int{13, 0}
}
type CMsgClientToGCAcknowledgeBattleReportResponse_EResponse int32
const (
CMsgClientToGCAcknowledgeBattleReportResponse_k_eInternalError CMsgClientToGCAcknowledgeBattleReportResponse_EResponse = 0
CMsgClientToGCAcknowledgeBattleReportResponse_k_eSuccess CMsgClientToGCAcknowledgeBattleReportResponse_EResponse = 1
CMsgClientToGCAcknowledgeBattleReportResponse_k_eTooBusy CMsgClientToGCAcknowledgeBattleReportResponse_EResponse = 2
CMsgClientToGCAcknowledgeBattleReportResponse_k_eDisabled CMsgClientToGCAcknowledgeBattleReportResponse_EResponse = 3
CMsgClientToGCAcknowledgeBattleReportResponse_k_eTimeout CMsgClientToGCAcknowledgeBattleReportResponse_EResponse = 4
CMsgClientToGCAcknowledgeBattleReportResponse_k_ePermissionDenied CMsgClientToGCAcknowledgeBattleReportResponse_EResponse = 5
CMsgClientToGCAcknowledgeBattleReportResponse_k_eUnableToLoadBattleReport CMsgClientToGCAcknowledgeBattleReportResponse_EResponse = 6
CMsgClientToGCAcknowledgeBattleReportResponse_k_eAlreadyAcknowledged CMsgClientToGCAcknowledgeBattleReportResponse_EResponse = 7
CMsgClientToGCAcknowledgeBattleReportResponse_k_eUnknownReport CMsgClientToGCAcknowledgeBattleReportResponse_EResponse = 8
CMsgClientToGCAcknowledgeBattleReportResponse_k_eNotSubscribedToDotaPlus CMsgClientToGCAcknowledgeBattleReportResponse_EResponse = 9
CMsgClientToGCAcknowledgeBattleReportResponse_k_eNotEnoughGamesPlayed CMsgClientToGCAcknowledgeBattleReportResponse_EResponse = 10
)
var CMsgClientToGCAcknowledgeBattleReportResponse_EResponse_name = map[int32]string{
0: "k_eInternalError",
1: "k_eSuccess",
2: "k_eTooBusy",
3: "k_eDisabled",
4: "k_eTimeout",
5: "k_ePermissionDenied",
6: "k_eUnableToLoadBattleReport",
7: "k_eAlreadyAcknowledged",
8: "k_eUnknownReport",
9: "k_eNotSubscribedToDotaPlus",
10: "k_eNotEnoughGamesPlayed",
}
var CMsgClientToGCAcknowledgeBattleReportResponse_EResponse_value = map[string]int32{
"k_eInternalError": 0,
"k_eSuccess": 1,
"k_eTooBusy": 2,
"k_eDisabled": 3,
"k_eTimeout": 4,
"k_ePermissionDenied": 5,
"k_eUnableToLoadBattleReport": 6,
"k_eAlreadyAcknowledged": 7,
"k_eUnknownReport": 8,
"k_eNotSubscribedToDotaPlus": 9,
"k_eNotEnoughGamesPlayed": 10,
}
func (x CMsgClientToGCAcknowledgeBattleReportResponse_EResponse) Enum() *CMsgClientToGCAcknowledgeBattleReportResponse_EResponse {
p := new(CMsgClientToGCAcknowledgeBattleReportResponse_EResponse)
*p = x
return p
}
func (x CMsgClientToGCAcknowledgeBattleReportResponse_EResponse) String() string {
return proto.EnumName(CMsgClientToGCAcknowledgeBattleReportResponse_EResponse_name, int32(x))
}
func (x *CMsgClientToGCAcknowledgeBattleReportResponse_EResponse) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(CMsgClientToGCAcknowledgeBattleReportResponse_EResponse_value, data, "CMsgClientToGCAcknowledgeBattleReportResponse_EResponse")
if err != nil {
return err
}
*x = CMsgClientToGCAcknowledgeBattleReportResponse_EResponse(value)
return nil
}
func (CMsgClientToGCAcknowledgeBattleReportResponse_EResponse) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b28a743a9e497915, []int{15, 0}
}
type CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse int32
const (
CMsgClientToGCGetBattleReportMatchHistoryResponse_k_eInternalError CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse = 0
CMsgClientToGCGetBattleReportMatchHistoryResponse_k_eSuccess CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse = 1
CMsgClientToGCGetBattleReportMatchHistoryResponse_k_eTooBusy CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse = 2
CMsgClientToGCGetBattleReportMatchHistoryResponse_k_eDisabled CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse = 3
CMsgClientToGCGetBattleReportMatchHistoryResponse_k_eTimeout CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse = 4
CMsgClientToGCGetBattleReportMatchHistoryResponse_k_ePermissionDenied CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse = 5
CMsgClientToGCGetBattleReportMatchHistoryResponse_k_eNotSubscribedToDotaPlus CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse = 6
)
var CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse_name = map[int32]string{
0: "k_eInternalError",
1: "k_eSuccess",
2: "k_eTooBusy",
3: "k_eDisabled",
4: "k_eTimeout",
5: "k_ePermissionDenied",
6: "k_eNotSubscribedToDotaPlus",
}
var CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse_value = map[string]int32{
"k_eInternalError": 0,
"k_eSuccess": 1,
"k_eTooBusy": 2,
"k_eDisabled": 3,
"k_eTimeout": 4,
"k_ePermissionDenied": 5,
"k_eNotSubscribedToDotaPlus": 6,
}
func (x CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse) Enum() *CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse {
p := new(CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse)
*p = x
return p
}
func (x CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse) String() string {
return proto.EnumName(CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse_name, int32(x))
}
func (x *CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse_value, data, "CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse")
if err != nil {
return err
}
*x = CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse(value)
return nil
}
func (CMsgClientToGCGetBattleReportMatchHistoryResponse_EResponse) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_b28a743a9e497915, []int{17, 0}
}
type CMsgClientToGCGetBattleReport struct {
AccountId *uint32 `protobuf:"varint,1,opt,name=account_id,json=accountId" json:"account_id,omitempty"`
Timestamp *uint32 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
Duration *uint32 `protobuf:"varint,3,opt,name=duration" json:"duration,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CMsgClientToGCGetBattleReport) Reset() { *m = CMsgClientToGCGetBattleReport{} }
func (m *CMsgClientToGCGetBattleReport) String() string { return proto.CompactTextString(m) }
func (*CMsgClientToGCGetBattleReport) ProtoMessage() {}
func (*CMsgClientToGCGetBattleReport) Descriptor() ([]byte, []int) {
return fileDescriptor_b28a743a9e497915, []int{0}
}
func (m *CMsgClientToGCGetBattleReport) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CMsgClientToGCGetBattleReport.Unmarshal(m, b)
}
func (m *CMsgClientToGCGetBattleReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CMsgClientToGCGetBattleReport.Marshal(b, m, deterministic)
}
func (m *CMsgClientToGCGetBattleReport) XXX_Merge(src proto.Message) {
xxx_messageInfo_CMsgClientToGCGetBattleReport.Merge(m, src)
}
func (m *CMsgClientToGCGetBattleReport) XXX_Size() int {
return xxx_messageInfo_CMsgClientToGCGetBattleReport.Size(m)
}
func (m *CMsgClientToGCGetBattleReport) XXX_DiscardUnknown() {
xxx_messageInfo_CMsgClientToGCGetBattleReport.DiscardUnknown(m)
}
var xxx_messageInfo_CMsgClientToGCGetBattleReport proto.InternalMessageInfo
func (m *CMsgClientToGCGetBattleReport) GetAccountId() uint32 {
if m != nil && m.AccountId != nil {
return *m.AccountId
}
return 0
}
func (m *CMsgClientToGCGetBattleReport) GetTimestamp() uint32 {
if m != nil && m.Timestamp != nil {
return *m.Timestamp
}
return 0
}
func (m *CMsgClientToGCGetBattleReport) GetDuration() uint32 {
if m != nil && m.Duration != nil {
return *m.Duration
}
return 0
}
type CMsgBattleReport_Game struct {
HeroId *uint32 `protobuf:"varint,1,opt,name=hero_id,json=heroId" json:"hero_id,omitempty"`
Kills *uint32 `protobuf:"varint,2,opt,name=kills" json:"kills,omitempty"`
Deaths *uint32 `protobuf:"varint,3,opt,name=deaths" json:"deaths,omitempty"`
Assists *uint32 `protobuf:"varint,4,opt,name=assists" json:"assists,omitempty"`
RankChange *int32 `protobuf:"varint,5,opt,name=rank_change,json=rankChange" json:"rank_change,omitempty"`
LastHits *uint32 `protobuf:"varint,6,opt,name=last_hits,json=lastHits" json:"last_hits,omitempty"`
Denies *uint32 `protobuf:"varint,21,opt,name=denies" json:"denies,omitempty"`
Gpm *uint32 `protobuf:"varint,7,opt,name=gpm" json:"gpm,omitempty"`
Xpm *uint32 `protobuf:"varint,8,opt,name=xpm" json:"xpm,omitempty"`
Role *CMsgBattleReport_Role `protobuf:"varint,9,opt,name=role,enum=protocol.CMsgBattleReport_Role,def=-1" json:"role,omitempty"`
Outcome *CMsgBattleReport_EOutcome `protobuf:"varint,10,opt,name=outcome,enum=protocol.CMsgBattleReport_EOutcome,def=0" json:"outcome,omitempty"`
LaneOutcome *CMsgBattleReport_ELaneOutcome `protobuf:"varint,11,opt,name=lane_outcome,json=laneOutcome,enum=protocol.CMsgBattleReport_ELaneOutcome,def=-1" json:"lane_outcome,omitempty"`
Ranked *bool `protobuf:"varint,12,opt,name=ranked" json:"ranked,omitempty"`
MatchId *uint64 `protobuf:"varint,13,opt,name=match_id,json=matchId" json:"match_id,omitempty"`
LaneSelectionFlags *uint32 `protobuf:"varint,14,opt,name=lane_selection_flags,json=laneSelectionFlags" json:"lane_selection_flags,omitempty"`
PredictedPosition *uint32 `protobuf:"varint,15,opt,name=predicted_position,json=predictedPosition" json:"predicted_position,omitempty"`
SecondsDead *uint32 `protobuf:"varint,16,opt,name=seconds_dead,json=secondsDead" json:"seconds_dead,omitempty"`
WinningTeam *uint32 `protobuf:"varint,17,opt,name=winning_team,json=winningTeam" json:"winning_team,omitempty"`
PlayerSlot *uint32 `protobuf:"varint,28,opt,name=player_slot,json=playerSlot" json:"player_slot,omitempty"`
PartyGame *bool `protobuf:"varint,19,opt,name=party_game,json=partyGame" json:"party_game,omitempty"`
StartTime *uint32 `protobuf:"varint,20,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
BountyRunes *uint32 `protobuf:"varint,22,opt,name=bounty_runes,json=bountyRunes" json:"bounty_runes,omitempty"`
WaterRunes *uint32 `protobuf:"varint,23,opt,name=water_runes,json=waterRunes" json:"water_runes,omitempty"`
PowerRunes *uint32 `protobuf:"varint,24,opt,name=power_runes,json=powerRunes" json:"power_runes,omitempty"`
TimeEnemyT1TowerDestroyed *uint32 `protobuf:"varint,25,opt,name=time_enemy_t1_tower_destroyed,json=timeEnemyT1TowerDestroyed" json:"time_enemy_t1_tower_destroyed,omitempty"`
TimeFriendlyT1TowerDestroyed *uint32 `protobuf:"varint,26,opt,name=time_friendly_t1_tower_destroyed,json=timeFriendlyT1TowerDestroyed" json:"time_friendly_t1_tower_destroyed,omitempty"`
EnemyRoshanKills *uint32 `protobuf:"varint,27,opt,name=enemy_roshan_kills,json=enemyRoshanKills" json:"enemy_roshan_kills,omitempty"`
TeleportsUsed *uint32 `protobuf:"varint,29,opt,name=teleports_used,json=teleportsUsed" json:"teleports_used,omitempty"`
Dewards *uint32 `protobuf:"varint,30,opt,name=dewards" json:"dewards,omitempty"`
CampsStacked *uint32 `protobuf:"varint,31,opt,name=camps_stacked,json=campsStacked" json:"camps_stacked,omitempty"`
SupportGold *uint32 `protobuf:"varint,32,opt,name=support_gold,json=supportGold" json:"support_gold,omitempty"`
HeroDamage *uint32 `protobuf:"varint,33,opt,name=hero_damage,json=heroDamage" json:"hero_damage,omitempty"`
HeroHealing *uint32 `protobuf:"varint,34,opt,name=hero_healing,json=heroHealing" json:"hero_healing,omitempty"`
TowerDamage *uint32 `protobuf:"varint,35,opt,name=tower_damage,json=towerDamage" json:"tower_damage,omitempty"`
SuccessfulSmokes *uint32 `protobuf:"varint,36,opt,name=successful_smokes,json=successfulSmokes" json:"successful_smokes,omitempty"`
StunDuration *uint32 `protobuf:"varint,37,opt,name=stun_duration,json=stunDuration" json:"stun_duration,omitempty"`
Duration *uint32 `protobuf:"varint,38,opt,name=duration" json:"duration,omitempty"`
FriendlyRoshanKills *uint32 `protobuf:"varint,39,opt,name=friendly_roshan_kills,json=friendlyRoshanKills" json:"friendly_roshan_kills,omitempty"`
PreviousRank *int32 `protobuf:"varint,40,opt,name=previous_rank,json=previousRank" json:"previous_rank,omitempty"`
GameMode *uint32 `protobuf:"varint,41,opt,name=game_mode,json=gameMode" json:"game_mode,omitempty"`
LobbyType *uint32 `protobuf:"varint,42,opt,name=lobby_type,json=lobbyType" json:"lobby_type,omitempty"`
TimePurchasedShard *float32 `protobuf:"fixed32,43,opt,name=time_purchased_shard,json=timePurchasedShard" json:"time_purchased_shard,omitempty"`
TimePurchasedScepter *float32 `protobuf:"fixed32,44,opt,name=time_purchased_scepter,json=timePurchasedScepter" json:"time_purchased_scepter,omitempty"`
Item0 *int32 `protobuf:"varint,45,opt,name=item0,def=-1" json:"item0,omitempty"`
Item1 *int32 `protobuf:"varint,46,opt,name=item1,def=-1" json:"item1,omitempty"`
Item2 *int32 `protobuf:"varint,47,opt,name=item2,def=-1" json:"item2,omitempty"`
Item3 *int32 `protobuf:"varint,48,opt,name=item3,def=-1" json:"item3,omitempty"`
Item4 *int32 `protobuf:"varint,49,opt,name=item4,def=-1" json:"item4,omitempty"`
Item5 *int32 `protobuf:"varint,50,opt,name=item5,def=-1" json:"item5,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CMsgBattleReport_Game) Reset() { *m = CMsgBattleReport_Game{} }
func (m *CMsgBattleReport_Game) String() string { return proto.CompactTextString(m) }
func (*CMsgBattleReport_Game) ProtoMessage() {}
func (*CMsgBattleReport_Game) Descriptor() ([]byte, []int) {
return fileDescriptor_b28a743a9e497915, []int{1}
}
func (m *CMsgBattleReport_Game) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CMsgBattleReport_Game.Unmarshal(m, b)