-
Notifications
You must be signed in to change notification settings - Fork 99
/
dota_gcmessages_common_overworld.pb.go
3948 lines (3499 loc) · 172 KB
/
dota_gcmessages_common_overworld.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.
// versions:
// protoc-gen-go v1.30.0
// protoc v3.21.5
// source: dota_gcmessages_common_overworld.proto
package dota
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type EOverworldNodeState int32
const (
EOverworldNodeState_k_eOverworldNodeState_Invalid EOverworldNodeState = 0
EOverworldNodeState_k_eOverworldNodeState_Locked EOverworldNodeState = 1
EOverworldNodeState_k_eOverworldNodeState_Unlocked EOverworldNodeState = 2
)
// Enum value maps for EOverworldNodeState.
var (
EOverworldNodeState_name = map[int32]string{
0: "k_eOverworldNodeState_Invalid",
1: "k_eOverworldNodeState_Locked",
2: "k_eOverworldNodeState_Unlocked",
}
EOverworldNodeState_value = map[string]int32{
"k_eOverworldNodeState_Invalid": 0,
"k_eOverworldNodeState_Locked": 1,
"k_eOverworldNodeState_Unlocked": 2,
}
)
func (x EOverworldNodeState) Enum() *EOverworldNodeState {
p := new(EOverworldNodeState)
*p = x
return p
}
func (x EOverworldNodeState) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (EOverworldNodeState) Descriptor() protoreflect.EnumDescriptor {
return file_dota_gcmessages_common_overworld_proto_enumTypes[0].Descriptor()
}
func (EOverworldNodeState) Type() protoreflect.EnumType {
return &file_dota_gcmessages_common_overworld_proto_enumTypes[0]
}
func (x EOverworldNodeState) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *EOverworldNodeState) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = EOverworldNodeState(num)
return nil
}
// Deprecated: Use EOverworldNodeState.Descriptor instead.
func (EOverworldNodeState) EnumDescriptor() ([]byte, []int) {
return file_dota_gcmessages_common_overworld_proto_rawDescGZIP(), []int{0}
}
type EOverworldAuditAction int32
const (
EOverworldAuditAction_k_eOverworldAuditAction_Invalid EOverworldAuditAction = 0
EOverworldAuditAction_k_eOverworldAuditAction_DevModifyTokens EOverworldAuditAction = 1
EOverworldAuditAction_k_eOverworldAuditAction_DevClearInventory EOverworldAuditAction = 2
EOverworldAuditAction_k_eOverworldAuditAction_DevGrantTokens EOverworldAuditAction = 3
EOverworldAuditAction_k_eOverworldAuditAction_CompletePath EOverworldAuditAction = 4
EOverworldAuditAction_k_eOverworldAuditAction_ClaimEncounterReward EOverworldAuditAction = 5
EOverworldAuditAction_k_eOverworldAuditAction_DevResetNode EOverworldAuditAction = 6
EOverworldAuditAction_k_eOverworldAuditAction_DevResetPath EOverworldAuditAction = 7
EOverworldAuditAction_k_eOverworldAuditAction_MatchRewardsFull EOverworldAuditAction = 8
EOverworldAuditAction_k_eOverworldAuditAction_MatchRewardsHalf EOverworldAuditAction = 9
EOverworldAuditAction_k_eOverworldAuditAction_EventActionTokenGrant EOverworldAuditAction = 10
EOverworldAuditAction_k_eOverworldAuditAction_TokenTraderLost EOverworldAuditAction = 11
EOverworldAuditAction_k_eOverworldAuditAction_TokenTraderGained EOverworldAuditAction = 12
EOverworldAuditAction_k_eOverworldAuditAction_EncounterRewardTokenCost EOverworldAuditAction = 13
EOverworldAuditAction_k_eOverworldAuditAction_EncounterRewardTokenReward EOverworldAuditAction = 14
)
// Enum value maps for EOverworldAuditAction.
var (
EOverworldAuditAction_name = map[int32]string{
0: "k_eOverworldAuditAction_Invalid",
1: "k_eOverworldAuditAction_DevModifyTokens",
2: "k_eOverworldAuditAction_DevClearInventory",
3: "k_eOverworldAuditAction_DevGrantTokens",
4: "k_eOverworldAuditAction_CompletePath",
5: "k_eOverworldAuditAction_ClaimEncounterReward",
6: "k_eOverworldAuditAction_DevResetNode",
7: "k_eOverworldAuditAction_DevResetPath",
8: "k_eOverworldAuditAction_MatchRewardsFull",
9: "k_eOverworldAuditAction_MatchRewardsHalf",
10: "k_eOverworldAuditAction_EventActionTokenGrant",
11: "k_eOverworldAuditAction_TokenTraderLost",
12: "k_eOverworldAuditAction_TokenTraderGained",
13: "k_eOverworldAuditAction_EncounterRewardTokenCost",
14: "k_eOverworldAuditAction_EncounterRewardTokenReward",
}
EOverworldAuditAction_value = map[string]int32{
"k_eOverworldAuditAction_Invalid": 0,
"k_eOverworldAuditAction_DevModifyTokens": 1,
"k_eOverworldAuditAction_DevClearInventory": 2,
"k_eOverworldAuditAction_DevGrantTokens": 3,
"k_eOverworldAuditAction_CompletePath": 4,
"k_eOverworldAuditAction_ClaimEncounterReward": 5,
"k_eOverworldAuditAction_DevResetNode": 6,
"k_eOverworldAuditAction_DevResetPath": 7,
"k_eOverworldAuditAction_MatchRewardsFull": 8,
"k_eOverworldAuditAction_MatchRewardsHalf": 9,
"k_eOverworldAuditAction_EventActionTokenGrant": 10,
"k_eOverworldAuditAction_TokenTraderLost": 11,
"k_eOverworldAuditAction_TokenTraderGained": 12,
"k_eOverworldAuditAction_EncounterRewardTokenCost": 13,
"k_eOverworldAuditAction_EncounterRewardTokenReward": 14,
}
)
func (x EOverworldAuditAction) Enum() *EOverworldAuditAction {
p := new(EOverworldAuditAction)
*p = x
return p
}
func (x EOverworldAuditAction) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (EOverworldAuditAction) Descriptor() protoreflect.EnumDescriptor {
return file_dota_gcmessages_common_overworld_proto_enumTypes[1].Descriptor()
}
func (EOverworldAuditAction) Type() protoreflect.EnumType {
return &file_dota_gcmessages_common_overworld_proto_enumTypes[1]
}
func (x EOverworldAuditAction) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *EOverworldAuditAction) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = EOverworldAuditAction(num)
return nil
}
// Deprecated: Use EOverworldAuditAction.Descriptor instead.
func (EOverworldAuditAction) EnumDescriptor() ([]byte, []int) {
return file_dota_gcmessages_common_overworld_proto_rawDescGZIP(), []int{1}
}
type CMsgClientToGCOverworldGetUserDataResponse_EResponse int32
const (
CMsgClientToGCOverworldGetUserDataResponse_k_eInternalError CMsgClientToGCOverworldGetUserDataResponse_EResponse = 0
CMsgClientToGCOverworldGetUserDataResponse_k_eSuccess CMsgClientToGCOverworldGetUserDataResponse_EResponse = 1
CMsgClientToGCOverworldGetUserDataResponse_k_eTooBusy CMsgClientToGCOverworldGetUserDataResponse_EResponse = 2
CMsgClientToGCOverworldGetUserDataResponse_k_eDisabled CMsgClientToGCOverworldGetUserDataResponse_EResponse = 3
CMsgClientToGCOverworldGetUserDataResponse_k_eTimeout CMsgClientToGCOverworldGetUserDataResponse_EResponse = 4
CMsgClientToGCOverworldGetUserDataResponse_k_eInvalidOverworld CMsgClientToGCOverworldGetUserDataResponse_EResponse = 5
)
// Enum value maps for CMsgClientToGCOverworldGetUserDataResponse_EResponse.
var (
CMsgClientToGCOverworldGetUserDataResponse_EResponse_name = map[int32]string{
0: "k_eInternalError",
1: "k_eSuccess",
2: "k_eTooBusy",
3: "k_eDisabled",
4: "k_eTimeout",
5: "k_eInvalidOverworld",
}
CMsgClientToGCOverworldGetUserDataResponse_EResponse_value = map[string]int32{
"k_eInternalError": 0,
"k_eSuccess": 1,
"k_eTooBusy": 2,
"k_eDisabled": 3,
"k_eTimeout": 4,
"k_eInvalidOverworld": 5,
}
)
func (x CMsgClientToGCOverworldGetUserDataResponse_EResponse) Enum() *CMsgClientToGCOverworldGetUserDataResponse_EResponse {
p := new(CMsgClientToGCOverworldGetUserDataResponse_EResponse)
*p = x
return p
}
func (x CMsgClientToGCOverworldGetUserDataResponse_EResponse) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CMsgClientToGCOverworldGetUserDataResponse_EResponse) Descriptor() protoreflect.EnumDescriptor {
return file_dota_gcmessages_common_overworld_proto_enumTypes[2].Descriptor()
}
func (CMsgClientToGCOverworldGetUserDataResponse_EResponse) Type() protoreflect.EnumType {
return &file_dota_gcmessages_common_overworld_proto_enumTypes[2]
}
func (x CMsgClientToGCOverworldGetUserDataResponse_EResponse) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *CMsgClientToGCOverworldGetUserDataResponse_EResponse) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = CMsgClientToGCOverworldGetUserDataResponse_EResponse(num)
return nil
}
// Deprecated: Use CMsgClientToGCOverworldGetUserDataResponse_EResponse.Descriptor instead.
func (CMsgClientToGCOverworldGetUserDataResponse_EResponse) EnumDescriptor() ([]byte, []int) {
return file_dota_gcmessages_common_overworld_proto_rawDescGZIP(), []int{13, 0}
}
type CMsgClientToGCOverworldCompletePathResponse_EResponse int32
const (
CMsgClientToGCOverworldCompletePathResponse_k_eInternalError CMsgClientToGCOverworldCompletePathResponse_EResponse = 0
CMsgClientToGCOverworldCompletePathResponse_k_eSuccess CMsgClientToGCOverworldCompletePathResponse_EResponse = 1
CMsgClientToGCOverworldCompletePathResponse_k_eTooBusy CMsgClientToGCOverworldCompletePathResponse_EResponse = 2
CMsgClientToGCOverworldCompletePathResponse_k_eDisabled CMsgClientToGCOverworldCompletePathResponse_EResponse = 3
CMsgClientToGCOverworldCompletePathResponse_k_eTimeout CMsgClientToGCOverworldCompletePathResponse_EResponse = 4
CMsgClientToGCOverworldCompletePathResponse_k_eInvalidOverworld CMsgClientToGCOverworldCompletePathResponse_EResponse = 5
CMsgClientToGCOverworldCompletePathResponse_k_eInvalidPath CMsgClientToGCOverworldCompletePathResponse_EResponse = 6
CMsgClientToGCOverworldCompletePathResponse_k_eNotEnoughTokens CMsgClientToGCOverworldCompletePathResponse_EResponse = 7
CMsgClientToGCOverworldCompletePathResponse_k_ePathIsLocked CMsgClientToGCOverworldCompletePathResponse_EResponse = 8
CMsgClientToGCOverworldCompletePathResponse_k_ePathAlreadyUnlocked CMsgClientToGCOverworldCompletePathResponse_EResponse = 9
)
// Enum value maps for CMsgClientToGCOverworldCompletePathResponse_EResponse.
var (
CMsgClientToGCOverworldCompletePathResponse_EResponse_name = map[int32]string{
0: "k_eInternalError",
1: "k_eSuccess",
2: "k_eTooBusy",
3: "k_eDisabled",
4: "k_eTimeout",
5: "k_eInvalidOverworld",
6: "k_eInvalidPath",
7: "k_eNotEnoughTokens",
8: "k_ePathIsLocked",
9: "k_ePathAlreadyUnlocked",
}
CMsgClientToGCOverworldCompletePathResponse_EResponse_value = map[string]int32{
"k_eInternalError": 0,
"k_eSuccess": 1,
"k_eTooBusy": 2,
"k_eDisabled": 3,
"k_eTimeout": 4,
"k_eInvalidOverworld": 5,
"k_eInvalidPath": 6,
"k_eNotEnoughTokens": 7,
"k_ePathIsLocked": 8,
"k_ePathAlreadyUnlocked": 9,
}
)
func (x CMsgClientToGCOverworldCompletePathResponse_EResponse) Enum() *CMsgClientToGCOverworldCompletePathResponse_EResponse {
p := new(CMsgClientToGCOverworldCompletePathResponse_EResponse)
*p = x
return p
}
func (x CMsgClientToGCOverworldCompletePathResponse_EResponse) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CMsgClientToGCOverworldCompletePathResponse_EResponse) Descriptor() protoreflect.EnumDescriptor {
return file_dota_gcmessages_common_overworld_proto_enumTypes[3].Descriptor()
}
func (CMsgClientToGCOverworldCompletePathResponse_EResponse) Type() protoreflect.EnumType {
return &file_dota_gcmessages_common_overworld_proto_enumTypes[3]
}
func (x CMsgClientToGCOverworldCompletePathResponse_EResponse) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *CMsgClientToGCOverworldCompletePathResponse_EResponse) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = CMsgClientToGCOverworldCompletePathResponse_EResponse(num)
return nil
}
// Deprecated: Use CMsgClientToGCOverworldCompletePathResponse_EResponse.Descriptor instead.
func (CMsgClientToGCOverworldCompletePathResponse_EResponse) EnumDescriptor() ([]byte, []int) {
return file_dota_gcmessages_common_overworld_proto_rawDescGZIP(), []int{16, 0}
}
type CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse int32
const (
CMsgClientToGCOverworldClaimEncounterRewardResponse_k_eInternalError CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse = 0
CMsgClientToGCOverworldClaimEncounterRewardResponse_k_eSuccess CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse = 1
CMsgClientToGCOverworldClaimEncounterRewardResponse_k_eTooBusy CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse = 2
CMsgClientToGCOverworldClaimEncounterRewardResponse_k_eDisabled CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse = 3
CMsgClientToGCOverworldClaimEncounterRewardResponse_k_eTimeout CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse = 4
CMsgClientToGCOverworldClaimEncounterRewardResponse_k_eInvalidOverworld CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse = 5
CMsgClientToGCOverworldClaimEncounterRewardResponse_k_eInvalidNode CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse = 6
CMsgClientToGCOverworldClaimEncounterRewardResponse_k_eNodeLocked CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse = 7
CMsgClientToGCOverworldClaimEncounterRewardResponse_k_eRewardAlreadyClaimed CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse = 8
CMsgClientToGCOverworldClaimEncounterRewardResponse_k_eNodeNotEncounter CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse = 9
CMsgClientToGCOverworldClaimEncounterRewardResponse_k_eEncounterMissingRewards CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse = 10
CMsgClientToGCOverworldClaimEncounterRewardResponse_k_eInvalidEncounterRewardStyle CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse = 11
CMsgClientToGCOverworldClaimEncounterRewardResponse_k_eInvalidEncounterRewardData CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse = 12
CMsgClientToGCOverworldClaimEncounterRewardResponse_k_eNotEnoughTokensForReward CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse = 13
)
// Enum value maps for CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse.
var (
CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse_name = map[int32]string{
0: "k_eInternalError",
1: "k_eSuccess",
2: "k_eTooBusy",
3: "k_eDisabled",
4: "k_eTimeout",
5: "k_eInvalidOverworld",
6: "k_eInvalidNode",
7: "k_eNodeLocked",
8: "k_eRewardAlreadyClaimed",
9: "k_eNodeNotEncounter",
10: "k_eEncounterMissingRewards",
11: "k_eInvalidEncounterRewardStyle",
12: "k_eInvalidEncounterRewardData",
13: "k_eNotEnoughTokensForReward",
}
CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse_value = map[string]int32{
"k_eInternalError": 0,
"k_eSuccess": 1,
"k_eTooBusy": 2,
"k_eDisabled": 3,
"k_eTimeout": 4,
"k_eInvalidOverworld": 5,
"k_eInvalidNode": 6,
"k_eNodeLocked": 7,
"k_eRewardAlreadyClaimed": 8,
"k_eNodeNotEncounter": 9,
"k_eEncounterMissingRewards": 10,
"k_eInvalidEncounterRewardStyle": 11,
"k_eInvalidEncounterRewardData": 12,
"k_eNotEnoughTokensForReward": 13,
}
)
func (x CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse) Enum() *CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse {
p := new(CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse)
*p = x
return p
}
func (x CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse) Descriptor() protoreflect.EnumDescriptor {
return file_dota_gcmessages_common_overworld_proto_enumTypes[4].Descriptor()
}
func (CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse) Type() protoreflect.EnumType {
return &file_dota_gcmessages_common_overworld_proto_enumTypes[4]
}
func (x CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse(num)
return nil
}
// Deprecated: Use CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse.Descriptor instead.
func (CMsgClientToGCOverworldClaimEncounterRewardResponse_EResponse) EnumDescriptor() ([]byte, []int) {
return file_dota_gcmessages_common_overworld_proto_rawDescGZIP(), []int{18, 0}
}
type CMsgClientToGCOverworldMoveToNodeResponse_EResponse int32
const (
CMsgClientToGCOverworldMoveToNodeResponse_k_eInternalError CMsgClientToGCOverworldMoveToNodeResponse_EResponse = 0
CMsgClientToGCOverworldMoveToNodeResponse_k_eSuccess CMsgClientToGCOverworldMoveToNodeResponse_EResponse = 1
CMsgClientToGCOverworldMoveToNodeResponse_k_eTooBusy CMsgClientToGCOverworldMoveToNodeResponse_EResponse = 2
CMsgClientToGCOverworldMoveToNodeResponse_k_eDisabled CMsgClientToGCOverworldMoveToNodeResponse_EResponse = 3
CMsgClientToGCOverworldMoveToNodeResponse_k_eTimeout CMsgClientToGCOverworldMoveToNodeResponse_EResponse = 4
CMsgClientToGCOverworldMoveToNodeResponse_k_eInvalidOverworld CMsgClientToGCOverworldMoveToNodeResponse_EResponse = 5
CMsgClientToGCOverworldMoveToNodeResponse_k_eInvalidNode CMsgClientToGCOverworldMoveToNodeResponse_EResponse = 6
CMsgClientToGCOverworldMoveToNodeResponse_k_eNodeLocked CMsgClientToGCOverworldMoveToNodeResponse_EResponse = 7
)
// Enum value maps for CMsgClientToGCOverworldMoveToNodeResponse_EResponse.
var (
CMsgClientToGCOverworldMoveToNodeResponse_EResponse_name = map[int32]string{
0: "k_eInternalError",
1: "k_eSuccess",
2: "k_eTooBusy",
3: "k_eDisabled",
4: "k_eTimeout",
5: "k_eInvalidOverworld",
6: "k_eInvalidNode",
7: "k_eNodeLocked",
}
CMsgClientToGCOverworldMoveToNodeResponse_EResponse_value = map[string]int32{
"k_eInternalError": 0,
"k_eSuccess": 1,
"k_eTooBusy": 2,
"k_eDisabled": 3,
"k_eTimeout": 4,
"k_eInvalidOverworld": 5,
"k_eInvalidNode": 6,
"k_eNodeLocked": 7,
}
)
func (x CMsgClientToGCOverworldMoveToNodeResponse_EResponse) Enum() *CMsgClientToGCOverworldMoveToNodeResponse_EResponse {
p := new(CMsgClientToGCOverworldMoveToNodeResponse_EResponse)
*p = x
return p
}
func (x CMsgClientToGCOverworldMoveToNodeResponse_EResponse) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CMsgClientToGCOverworldMoveToNodeResponse_EResponse) Descriptor() protoreflect.EnumDescriptor {
return file_dota_gcmessages_common_overworld_proto_enumTypes[5].Descriptor()
}
func (CMsgClientToGCOverworldMoveToNodeResponse_EResponse) Type() protoreflect.EnumType {
return &file_dota_gcmessages_common_overworld_proto_enumTypes[5]
}
func (x CMsgClientToGCOverworldMoveToNodeResponse_EResponse) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *CMsgClientToGCOverworldMoveToNodeResponse_EResponse) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = CMsgClientToGCOverworldMoveToNodeResponse_EResponse(num)
return nil
}
// Deprecated: Use CMsgClientToGCOverworldMoveToNodeResponse_EResponse.Descriptor instead.
func (CMsgClientToGCOverworldMoveToNodeResponse_EResponse) EnumDescriptor() ([]byte, []int) {
return file_dota_gcmessages_common_overworld_proto_rawDescGZIP(), []int{20, 0}
}
type CMsgClientToGCOverworldTradeTokensResponse_EResponse int32
const (
CMsgClientToGCOverworldTradeTokensResponse_k_eInternalError CMsgClientToGCOverworldTradeTokensResponse_EResponse = 0
CMsgClientToGCOverworldTradeTokensResponse_k_eSuccess CMsgClientToGCOverworldTradeTokensResponse_EResponse = 1
CMsgClientToGCOverworldTradeTokensResponse_k_eTooBusy CMsgClientToGCOverworldTradeTokensResponse_EResponse = 2
CMsgClientToGCOverworldTradeTokensResponse_k_eDisabled CMsgClientToGCOverworldTradeTokensResponse_EResponse = 3
CMsgClientToGCOverworldTradeTokensResponse_k_eTimeout CMsgClientToGCOverworldTradeTokensResponse_EResponse = 4
CMsgClientToGCOverworldTradeTokensResponse_k_eNotAllowed CMsgClientToGCOverworldTradeTokensResponse_EResponse = 5
CMsgClientToGCOverworldTradeTokensResponse_k_eNodeLocked CMsgClientToGCOverworldTradeTokensResponse_EResponse = 6
CMsgClientToGCOverworldTradeTokensResponse_k_eInvalidOverworld CMsgClientToGCOverworldTradeTokensResponse_EResponse = 7
CMsgClientToGCOverworldTradeTokensResponse_k_eInvalidOffer CMsgClientToGCOverworldTradeTokensResponse_EResponse = 8
CMsgClientToGCOverworldTradeTokensResponse_k_eNotEnoughTokens CMsgClientToGCOverworldTradeTokensResponse_EResponse = 9
)
// Enum value maps for CMsgClientToGCOverworldTradeTokensResponse_EResponse.
var (
CMsgClientToGCOverworldTradeTokensResponse_EResponse_name = map[int32]string{
0: "k_eInternalError",
1: "k_eSuccess",
2: "k_eTooBusy",
3: "k_eDisabled",
4: "k_eTimeout",
5: "k_eNotAllowed",
6: "k_eNodeLocked",
7: "k_eInvalidOverworld",
8: "k_eInvalidOffer",
9: "k_eNotEnoughTokens",
}
CMsgClientToGCOverworldTradeTokensResponse_EResponse_value = map[string]int32{
"k_eInternalError": 0,
"k_eSuccess": 1,
"k_eTooBusy": 2,
"k_eDisabled": 3,
"k_eTimeout": 4,
"k_eNotAllowed": 5,
"k_eNodeLocked": 6,
"k_eInvalidOverworld": 7,
"k_eInvalidOffer": 8,
"k_eNotEnoughTokens": 9,
}
)
func (x CMsgClientToGCOverworldTradeTokensResponse_EResponse) Enum() *CMsgClientToGCOverworldTradeTokensResponse_EResponse {
p := new(CMsgClientToGCOverworldTradeTokensResponse_EResponse)
*p = x
return p
}
func (x CMsgClientToGCOverworldTradeTokensResponse_EResponse) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CMsgClientToGCOverworldTradeTokensResponse_EResponse) Descriptor() protoreflect.EnumDescriptor {
return file_dota_gcmessages_common_overworld_proto_enumTypes[6].Descriptor()
}
func (CMsgClientToGCOverworldTradeTokensResponse_EResponse) Type() protoreflect.EnumType {
return &file_dota_gcmessages_common_overworld_proto_enumTypes[6]
}
func (x CMsgClientToGCOverworldTradeTokensResponse_EResponse) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *CMsgClientToGCOverworldTradeTokensResponse_EResponse) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = CMsgClientToGCOverworldTradeTokensResponse_EResponse(num)
return nil
}
// Deprecated: Use CMsgClientToGCOverworldTradeTokensResponse_EResponse.Descriptor instead.
func (CMsgClientToGCOverworldTradeTokensResponse_EResponse) EnumDescriptor() ([]byte, []int) {
return file_dota_gcmessages_common_overworld_proto_rawDescGZIP(), []int{22, 0}
}
type CMsgClientToGCOverworldDevResetAllResponse_EResponse int32
const (
CMsgClientToGCOverworldDevResetAllResponse_k_eInternalError CMsgClientToGCOverworldDevResetAllResponse_EResponse = 0
CMsgClientToGCOverworldDevResetAllResponse_k_eSuccess CMsgClientToGCOverworldDevResetAllResponse_EResponse = 1
CMsgClientToGCOverworldDevResetAllResponse_k_eTooBusy CMsgClientToGCOverworldDevResetAllResponse_EResponse = 2
CMsgClientToGCOverworldDevResetAllResponse_k_eDisabled CMsgClientToGCOverworldDevResetAllResponse_EResponse = 3
CMsgClientToGCOverworldDevResetAllResponse_k_eTimeout CMsgClientToGCOverworldDevResetAllResponse_EResponse = 4
CMsgClientToGCOverworldDevResetAllResponse_k_eNotAllowed CMsgClientToGCOverworldDevResetAllResponse_EResponse = 5
CMsgClientToGCOverworldDevResetAllResponse_k_eInvalidOverworld CMsgClientToGCOverworldDevResetAllResponse_EResponse = 6
)
// Enum value maps for CMsgClientToGCOverworldDevResetAllResponse_EResponse.
var (
CMsgClientToGCOverworldDevResetAllResponse_EResponse_name = map[int32]string{
0: "k_eInternalError",
1: "k_eSuccess",
2: "k_eTooBusy",
3: "k_eDisabled",
4: "k_eTimeout",
5: "k_eNotAllowed",
6: "k_eInvalidOverworld",
}
CMsgClientToGCOverworldDevResetAllResponse_EResponse_value = map[string]int32{
"k_eInternalError": 0,
"k_eSuccess": 1,
"k_eTooBusy": 2,
"k_eDisabled": 3,
"k_eTimeout": 4,
"k_eNotAllowed": 5,
"k_eInvalidOverworld": 6,
}
)
func (x CMsgClientToGCOverworldDevResetAllResponse_EResponse) Enum() *CMsgClientToGCOverworldDevResetAllResponse_EResponse {
p := new(CMsgClientToGCOverworldDevResetAllResponse_EResponse)
*p = x
return p
}
func (x CMsgClientToGCOverworldDevResetAllResponse_EResponse) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CMsgClientToGCOverworldDevResetAllResponse_EResponse) Descriptor() protoreflect.EnumDescriptor {
return file_dota_gcmessages_common_overworld_proto_enumTypes[7].Descriptor()
}
func (CMsgClientToGCOverworldDevResetAllResponse_EResponse) Type() protoreflect.EnumType {
return &file_dota_gcmessages_common_overworld_proto_enumTypes[7]
}
func (x CMsgClientToGCOverworldDevResetAllResponse_EResponse) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *CMsgClientToGCOverworldDevResetAllResponse_EResponse) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = CMsgClientToGCOverworldDevResetAllResponse_EResponse(num)
return nil
}
// Deprecated: Use CMsgClientToGCOverworldDevResetAllResponse_EResponse.Descriptor instead.
func (CMsgClientToGCOverworldDevResetAllResponse_EResponse) EnumDescriptor() ([]byte, []int) {
return file_dota_gcmessages_common_overworld_proto_rawDescGZIP(), []int{24, 0}
}
type CMsgClientToGCOverworldDevResetNodeResponse_EResponse int32
const (
CMsgClientToGCOverworldDevResetNodeResponse_k_eInternalError CMsgClientToGCOverworldDevResetNodeResponse_EResponse = 0
CMsgClientToGCOverworldDevResetNodeResponse_k_eSuccess CMsgClientToGCOverworldDevResetNodeResponse_EResponse = 1
CMsgClientToGCOverworldDevResetNodeResponse_k_eTooBusy CMsgClientToGCOverworldDevResetNodeResponse_EResponse = 2
CMsgClientToGCOverworldDevResetNodeResponse_k_eDisabled CMsgClientToGCOverworldDevResetNodeResponse_EResponse = 3
CMsgClientToGCOverworldDevResetNodeResponse_k_eTimeout CMsgClientToGCOverworldDevResetNodeResponse_EResponse = 4
CMsgClientToGCOverworldDevResetNodeResponse_k_eNotAllowed CMsgClientToGCOverworldDevResetNodeResponse_EResponse = 5
CMsgClientToGCOverworldDevResetNodeResponse_k_eInvalidOverworld CMsgClientToGCOverworldDevResetNodeResponse_EResponse = 6
CMsgClientToGCOverworldDevResetNodeResponse_k_eInvalidNode CMsgClientToGCOverworldDevResetNodeResponse_EResponse = 7
)
// Enum value maps for CMsgClientToGCOverworldDevResetNodeResponse_EResponse.
var (
CMsgClientToGCOverworldDevResetNodeResponse_EResponse_name = map[int32]string{
0: "k_eInternalError",
1: "k_eSuccess",
2: "k_eTooBusy",
3: "k_eDisabled",
4: "k_eTimeout",
5: "k_eNotAllowed",
6: "k_eInvalidOverworld",
7: "k_eInvalidNode",
}
CMsgClientToGCOverworldDevResetNodeResponse_EResponse_value = map[string]int32{
"k_eInternalError": 0,
"k_eSuccess": 1,
"k_eTooBusy": 2,
"k_eDisabled": 3,
"k_eTimeout": 4,
"k_eNotAllowed": 5,
"k_eInvalidOverworld": 6,
"k_eInvalidNode": 7,
}
)
func (x CMsgClientToGCOverworldDevResetNodeResponse_EResponse) Enum() *CMsgClientToGCOverworldDevResetNodeResponse_EResponse {
p := new(CMsgClientToGCOverworldDevResetNodeResponse_EResponse)
*p = x
return p
}
func (x CMsgClientToGCOverworldDevResetNodeResponse_EResponse) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CMsgClientToGCOverworldDevResetNodeResponse_EResponse) Descriptor() protoreflect.EnumDescriptor {
return file_dota_gcmessages_common_overworld_proto_enumTypes[8].Descriptor()
}
func (CMsgClientToGCOverworldDevResetNodeResponse_EResponse) Type() protoreflect.EnumType {
return &file_dota_gcmessages_common_overworld_proto_enumTypes[8]
}
func (x CMsgClientToGCOverworldDevResetNodeResponse_EResponse) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *CMsgClientToGCOverworldDevResetNodeResponse_EResponse) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = CMsgClientToGCOverworldDevResetNodeResponse_EResponse(num)
return nil
}
// Deprecated: Use CMsgClientToGCOverworldDevResetNodeResponse_EResponse.Descriptor instead.
func (CMsgClientToGCOverworldDevResetNodeResponse_EResponse) EnumDescriptor() ([]byte, []int) {
return file_dota_gcmessages_common_overworld_proto_rawDescGZIP(), []int{26, 0}
}
type CMsgClientToGCOverworldDevGrantTokensResponse_EResponse int32
const (
CMsgClientToGCOverworldDevGrantTokensResponse_k_eInternalError CMsgClientToGCOverworldDevGrantTokensResponse_EResponse = 0
CMsgClientToGCOverworldDevGrantTokensResponse_k_eSuccess CMsgClientToGCOverworldDevGrantTokensResponse_EResponse = 1
CMsgClientToGCOverworldDevGrantTokensResponse_k_eTooBusy CMsgClientToGCOverworldDevGrantTokensResponse_EResponse = 2
CMsgClientToGCOverworldDevGrantTokensResponse_k_eDisabled CMsgClientToGCOverworldDevGrantTokensResponse_EResponse = 3
CMsgClientToGCOverworldDevGrantTokensResponse_k_eTimeout CMsgClientToGCOverworldDevGrantTokensResponse_EResponse = 4
CMsgClientToGCOverworldDevGrantTokensResponse_k_eNotAllowed CMsgClientToGCOverworldDevGrantTokensResponse_EResponse = 5
CMsgClientToGCOverworldDevGrantTokensResponse_k_eInvalidOverworld CMsgClientToGCOverworldDevGrantTokensResponse_EResponse = 6
)
// Enum value maps for CMsgClientToGCOverworldDevGrantTokensResponse_EResponse.
var (
CMsgClientToGCOverworldDevGrantTokensResponse_EResponse_name = map[int32]string{
0: "k_eInternalError",
1: "k_eSuccess",
2: "k_eTooBusy",
3: "k_eDisabled",
4: "k_eTimeout",
5: "k_eNotAllowed",
6: "k_eInvalidOverworld",
}
CMsgClientToGCOverworldDevGrantTokensResponse_EResponse_value = map[string]int32{
"k_eInternalError": 0,
"k_eSuccess": 1,
"k_eTooBusy": 2,
"k_eDisabled": 3,
"k_eTimeout": 4,
"k_eNotAllowed": 5,
"k_eInvalidOverworld": 6,
}
)
func (x CMsgClientToGCOverworldDevGrantTokensResponse_EResponse) Enum() *CMsgClientToGCOverworldDevGrantTokensResponse_EResponse {
p := new(CMsgClientToGCOverworldDevGrantTokensResponse_EResponse)
*p = x
return p
}
func (x CMsgClientToGCOverworldDevGrantTokensResponse_EResponse) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CMsgClientToGCOverworldDevGrantTokensResponse_EResponse) Descriptor() protoreflect.EnumDescriptor {
return file_dota_gcmessages_common_overworld_proto_enumTypes[9].Descriptor()
}
func (CMsgClientToGCOverworldDevGrantTokensResponse_EResponse) Type() protoreflect.EnumType {
return &file_dota_gcmessages_common_overworld_proto_enumTypes[9]
}
func (x CMsgClientToGCOverworldDevGrantTokensResponse_EResponse) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *CMsgClientToGCOverworldDevGrantTokensResponse_EResponse) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = CMsgClientToGCOverworldDevGrantTokensResponse_EResponse(num)
return nil
}
// Deprecated: Use CMsgClientToGCOverworldDevGrantTokensResponse_EResponse.Descriptor instead.
func (CMsgClientToGCOverworldDevGrantTokensResponse_EResponse) EnumDescriptor() ([]byte, []int) {
return file_dota_gcmessages_common_overworld_proto_rawDescGZIP(), []int{28, 0}
}
type CMsgClientToGCOverworldDevClearInventoryResponse_EResponse int32
const (
CMsgClientToGCOverworldDevClearInventoryResponse_k_eInternalError CMsgClientToGCOverworldDevClearInventoryResponse_EResponse = 0
CMsgClientToGCOverworldDevClearInventoryResponse_k_eSuccess CMsgClientToGCOverworldDevClearInventoryResponse_EResponse = 1
CMsgClientToGCOverworldDevClearInventoryResponse_k_eTooBusy CMsgClientToGCOverworldDevClearInventoryResponse_EResponse = 2
CMsgClientToGCOverworldDevClearInventoryResponse_k_eDisabled CMsgClientToGCOverworldDevClearInventoryResponse_EResponse = 3
CMsgClientToGCOverworldDevClearInventoryResponse_k_eTimeout CMsgClientToGCOverworldDevClearInventoryResponse_EResponse = 4
CMsgClientToGCOverworldDevClearInventoryResponse_k_eNotAllowed CMsgClientToGCOverworldDevClearInventoryResponse_EResponse = 5
CMsgClientToGCOverworldDevClearInventoryResponse_k_eInvalidOverworld CMsgClientToGCOverworldDevClearInventoryResponse_EResponse = 6
)
// Enum value maps for CMsgClientToGCOverworldDevClearInventoryResponse_EResponse.
var (
CMsgClientToGCOverworldDevClearInventoryResponse_EResponse_name = map[int32]string{
0: "k_eInternalError",
1: "k_eSuccess",
2: "k_eTooBusy",
3: "k_eDisabled",
4: "k_eTimeout",
5: "k_eNotAllowed",
6: "k_eInvalidOverworld",
}
CMsgClientToGCOverworldDevClearInventoryResponse_EResponse_value = map[string]int32{
"k_eInternalError": 0,
"k_eSuccess": 1,
"k_eTooBusy": 2,
"k_eDisabled": 3,
"k_eTimeout": 4,
"k_eNotAllowed": 5,
"k_eInvalidOverworld": 6,
}
)
func (x CMsgClientToGCOverworldDevClearInventoryResponse_EResponse) Enum() *CMsgClientToGCOverworldDevClearInventoryResponse_EResponse {
p := new(CMsgClientToGCOverworldDevClearInventoryResponse_EResponse)
*p = x
return p
}
func (x CMsgClientToGCOverworldDevClearInventoryResponse_EResponse) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CMsgClientToGCOverworldDevClearInventoryResponse_EResponse) Descriptor() protoreflect.EnumDescriptor {
return file_dota_gcmessages_common_overworld_proto_enumTypes[10].Descriptor()
}
func (CMsgClientToGCOverworldDevClearInventoryResponse_EResponse) Type() protoreflect.EnumType {
return &file_dota_gcmessages_common_overworld_proto_enumTypes[10]
}
func (x CMsgClientToGCOverworldDevClearInventoryResponse_EResponse) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *CMsgClientToGCOverworldDevClearInventoryResponse_EResponse) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = CMsgClientToGCOverworldDevClearInventoryResponse_EResponse(num)
return nil
}
// Deprecated: Use CMsgClientToGCOverworldDevClearInventoryResponse_EResponse.Descriptor instead.
func (CMsgClientToGCOverworldDevClearInventoryResponse_EResponse) EnumDescriptor() ([]byte, []int) {
return file_dota_gcmessages_common_overworld_proto_rawDescGZIP(), []int{30, 0}
}
type CMsgClientToGCOverworldFeedbackResponse_EResponse int32
const (
CMsgClientToGCOverworldFeedbackResponse_k_eInternalError CMsgClientToGCOverworldFeedbackResponse_EResponse = 0
CMsgClientToGCOverworldFeedbackResponse_k_eSuccess CMsgClientToGCOverworldFeedbackResponse_EResponse = 1
CMsgClientToGCOverworldFeedbackResponse_k_eTooBusy CMsgClientToGCOverworldFeedbackResponse_EResponse = 2
CMsgClientToGCOverworldFeedbackResponse_k_eDisabled CMsgClientToGCOverworldFeedbackResponse_EResponse = 3
CMsgClientToGCOverworldFeedbackResponse_k_eTimeout CMsgClientToGCOverworldFeedbackResponse_EResponse = 4
CMsgClientToGCOverworldFeedbackResponse_k_eNotAllowed CMsgClientToGCOverworldFeedbackResponse_EResponse = 5
CMsgClientToGCOverworldFeedbackResponse_k_eInvalidOverworld CMsgClientToGCOverworldFeedbackResponse_EResponse = 6
)
// Enum value maps for CMsgClientToGCOverworldFeedbackResponse_EResponse.
var (
CMsgClientToGCOverworldFeedbackResponse_EResponse_name = map[int32]string{
0: "k_eInternalError",
1: "k_eSuccess",
2: "k_eTooBusy",
3: "k_eDisabled",
4: "k_eTimeout",
5: "k_eNotAllowed",
6: "k_eInvalidOverworld",
}
CMsgClientToGCOverworldFeedbackResponse_EResponse_value = map[string]int32{
"k_eInternalError": 0,
"k_eSuccess": 1,
"k_eTooBusy": 2,
"k_eDisabled": 3,
"k_eTimeout": 4,
"k_eNotAllowed": 5,
"k_eInvalidOverworld": 6,
}
)
func (x CMsgClientToGCOverworldFeedbackResponse_EResponse) Enum() *CMsgClientToGCOverworldFeedbackResponse_EResponse {
p := new(CMsgClientToGCOverworldFeedbackResponse_EResponse)
*p = x
return p
}
func (x CMsgClientToGCOverworldFeedbackResponse_EResponse) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (CMsgClientToGCOverworldFeedbackResponse_EResponse) Descriptor() protoreflect.EnumDescriptor {
return file_dota_gcmessages_common_overworld_proto_enumTypes[11].Descriptor()
}
func (CMsgClientToGCOverworldFeedbackResponse_EResponse) Type() protoreflect.EnumType {
return &file_dota_gcmessages_common_overworld_proto_enumTypes[11]
}
func (x CMsgClientToGCOverworldFeedbackResponse_EResponse) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Do not use.
func (x *CMsgClientToGCOverworldFeedbackResponse_EResponse) UnmarshalJSON(b []byte) error {
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
if err != nil {
return err
}
*x = CMsgClientToGCOverworldFeedbackResponse_EResponse(num)
return nil
}
// Deprecated: Use CMsgClientToGCOverworldFeedbackResponse_EResponse.Descriptor instead.
func (CMsgClientToGCOverworldFeedbackResponse_EResponse) EnumDescriptor() ([]byte, []int) {
return file_dota_gcmessages_common_overworld_proto_rawDescGZIP(), []int{32, 0}
}
type CMsgOverworldTokenCount struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TokenId *uint32 `protobuf:"varint,1,opt,name=token_id,json=tokenId" json:"token_id,omitempty"`
TokenCount *uint32 `protobuf:"varint,2,opt,name=token_count,json=tokenCount" json:"token_count,omitempty"`
}
func (x *CMsgOverworldTokenCount) Reset() {
*x = CMsgOverworldTokenCount{}
if protoimpl.UnsafeEnabled {
mi := &file_dota_gcmessages_common_overworld_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CMsgOverworldTokenCount) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CMsgOverworldTokenCount) ProtoMessage() {}
func (x *CMsgOverworldTokenCount) ProtoReflect() protoreflect.Message {
mi := &file_dota_gcmessages_common_overworld_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CMsgOverworldTokenCount.ProtoReflect.Descriptor instead.
func (*CMsgOverworldTokenCount) Descriptor() ([]byte, []int) {
return file_dota_gcmessages_common_overworld_proto_rawDescGZIP(), []int{0}
}
func (x *CMsgOverworldTokenCount) GetTokenId() uint32 {
if x != nil && x.TokenId != nil {
return *x.TokenId
}
return 0
}
func (x *CMsgOverworldTokenCount) GetTokenCount() uint32 {
if x != nil && x.TokenCount != nil {
return *x.TokenCount
}
return 0
}
type CMsgOverworldTokenQuantity struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TokenCounts []*CMsgOverworldTokenCount `protobuf:"bytes,1,rep,name=token_counts,json=tokenCounts" json:"token_counts,omitempty"`
}
func (x *CMsgOverworldTokenQuantity) Reset() {
*x = CMsgOverworldTokenQuantity{}
if protoimpl.UnsafeEnabled {
mi := &file_dota_gcmessages_common_overworld_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}