forked from freeloop4032/douyin-live
-
Notifications
You must be signed in to change notification settings - Fork 0
/
7.js
6199 lines (6199 loc) · 421 KB
/
7.js
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
(self.__LOADABLE_LOADED_CHUNKS__ = self.__LOADABLE_LOADED_CHUNKS__ || []).push([[3971], {
74402: function (e, t, o) {
var r = o(47865), i = r, s = function () {
return this ? this : "undefined" != typeof window ? window : void 0 !== s ? s : "undefined" != typeof self ? self : Function("return this")()
}.call(null), n = o(50684);
i.object.extend(proto, n), i.exportSymbol("proto.webcast.im.AnswerReviewMessage", null, s), i.exportSymbol("proto.webcast.im.AnswerReviewMsgTypeEnum", null, s), i.exportSymbol("proto.webcast.im.AnswerReviewResTypeEnum", null, s), proto.webcast.im.AnswerReviewMessage = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, i.inherits(proto.webcast.im.AnswerReviewMessage, r.Message), i.DEBUG && !COMPILED && (proto.webcast.im.AnswerReviewMessage.displayName = "proto.webcast.im.AnswerReviewMessage"), r.Message.GENERATE_TO_OBJECT && (proto.webcast.im.AnswerReviewMessage.prototype.toObject = function (e) {
return proto.webcast.im.AnswerReviewMessage.toObject(e, this)
}, proto.webcast.im.AnswerReviewMessage.toObject = function (e, t) {
var o, i = {
common: (o = t.getCommon()) && n.Common.toObject(e, o),
answerreviewmsgtypeenum: r.Message.getFieldWithDefault(t, 2, 0),
answerId: r.Message.getFieldWithDefault(t, 3, "0"),
chatId: r.Message.getFieldWithDefault(t, 4, "0"),
answerreviewrestypeenum: r.Message.getFieldWithDefault(t, 5, 0),
videoPinId: r.Message.getFieldWithDefault(t, 6, "0"),
originalMsgId: r.Message.getFieldWithDefault(t, 7, "0")
};
return e && (i.$jspbMessageInstance = t), i
}), proto.webcast.im.AnswerReviewMessage.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), o = new proto.webcast.im.AnswerReviewMessage;
return proto.webcast.im.AnswerReviewMessage.deserializeBinaryFromReader(o, t)
}, proto.webcast.im.AnswerReviewMessage.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var o = new n.Common;
t.readMessage(o, n.Common.deserializeBinaryFromReader), e.setCommon(o);
break;
case 2:
o = t.readEnum();
e.setAnswerreviewmsgtypeenum(o);
break;
case 3:
o = t.readInt64String();
e.setAnswerId(o);
break;
case 4:
o = t.readInt64String();
e.setChatId(o);
break;
case 5:
o = t.readEnum();
e.setAnswerreviewrestypeenum(o);
break;
case 6:
o = t.readInt64String();
e.setVideoPinId(o);
break;
case 7:
o = t.readInt64String();
e.setOriginalMsgId(o);
break;
default:
t.skipField()
}
}
return e
}, proto.webcast.im.AnswerReviewMessage.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.im.AnswerReviewMessage.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.im.AnswerReviewMessage.serializeBinaryToWriter = function (e, t) {
var o = undefined;
null != (o = e.getCommon()) && t.writeMessage(1, o, n.Common.serializeBinaryToWriter), 0 !== (o = e.getAnswerreviewmsgtypeenum()) && t.writeEnum(2, o), o = e.getAnswerId(), 0 !== parseInt(o, 10) && t.writeInt64String(3, o), o = e.getChatId(), 0 !== parseInt(o, 10) && t.writeInt64String(4, o), 0 !== (o = e.getAnswerreviewrestypeenum()) && t.writeEnum(5, o), o = e.getVideoPinId(), 0 !== parseInt(o, 10) && t.writeInt64String(6, o), o = e.getOriginalMsgId(), 0 !== parseInt(o, 10) && t.writeInt64String(7, o)
}, proto.webcast.im.AnswerReviewMessage.prototype.getCommon = function () {
return r.Message.getWrapperField(this, n.Common, 1)
}, proto.webcast.im.AnswerReviewMessage.prototype.setCommon = function (e) {
return r.Message.setWrapperField(this, 1, e)
}, proto.webcast.im.AnswerReviewMessage.prototype.clearCommon = function () {
return this.setCommon(undefined)
}, proto.webcast.im.AnswerReviewMessage.prototype.hasCommon = function () {
return null != r.Message.getField(this, 1)
}, proto.webcast.im.AnswerReviewMessage.prototype.getAnswerreviewmsgtypeenum = function () {
return r.Message.getFieldWithDefault(this, 2, 0)
}, proto.webcast.im.AnswerReviewMessage.prototype.setAnswerreviewmsgtypeenum = function (e) {
return r.Message.setProto3EnumField(this, 2, e)
}, proto.webcast.im.AnswerReviewMessage.prototype.getAnswerId = function () {
return r.Message.getFieldWithDefault(this, 3, "0")
}, proto.webcast.im.AnswerReviewMessage.prototype.setAnswerId = function (e) {
return r.Message.setProto3StringIntField(this, 3, e)
}, proto.webcast.im.AnswerReviewMessage.prototype.getChatId = function () {
return r.Message.getFieldWithDefault(this, 4, "0")
}, proto.webcast.im.AnswerReviewMessage.prototype.setChatId = function (e) {
return r.Message.setProto3StringIntField(this, 4, e)
}, proto.webcast.im.AnswerReviewMessage.prototype.getAnswerreviewrestypeenum = function () {
return r.Message.getFieldWithDefault(this, 5, 0)
}, proto.webcast.im.AnswerReviewMessage.prototype.setAnswerreviewrestypeenum = function (e) {
return r.Message.setProto3EnumField(this, 5, e)
}, proto.webcast.im.AnswerReviewMessage.prototype.getVideoPinId = function () {
return r.Message.getFieldWithDefault(this, 6, "0")
}, proto.webcast.im.AnswerReviewMessage.prototype.setVideoPinId = function (e) {
return r.Message.setProto3StringIntField(this, 6, e)
}, proto.webcast.im.AnswerReviewMessage.prototype.getOriginalMsgId = function () {
return r.Message.getFieldWithDefault(this, 7, "0")
}, proto.webcast.im.AnswerReviewMessage.prototype.setOriginalMsgId = function (e) {
return r.Message.setProto3StringIntField(this, 7, e)
}, proto.webcast.im.AnswerReviewMsgTypeEnum = {
DEFAULTREVIEWMSG: 0,
ANSWERREVIEWMSG: 1,
CHATREVIEWMSG: 2,
VIDEOREVIEWMSG: 3
}, proto.webcast.im.AnswerReviewResTypeEnum = {
DEFAULTREVIEWRES: 0,
REVIEWFAIL: 1,
REVIEWPASS: 2
}, i.object.extend(t, proto.webcast.im)
}, 21520: function (e, t, o) {
var r = o(47865), i = r, s = function () {
return this ? this : "undefined" != typeof window ? window : void 0 !== s ? s : "undefined" != typeof self ? self : Function("return this")()
}.call(null), n = o(50684);
i.object.extend(proto, n);
var a = o(8411);
i.object.extend(proto, a), i.exportSymbol("proto.webcast.im.BattleMultiMatchMessage", null, s), i.exportSymbol("proto.webcast.im.BattleMultiMatchMessage.MatchStatus", null, s), i.exportSymbol("proto.webcast.im.BattleMultiMatchMessage.PreviewUser", null, s), proto.webcast.im.BattleMultiMatchMessage = function (e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.im.BattleMultiMatchMessage.repeatedFields_, null)
}, i.inherits(proto.webcast.im.BattleMultiMatchMessage, r.Message), i.DEBUG && !COMPILED && (proto.webcast.im.BattleMultiMatchMessage.displayName = "proto.webcast.im.BattleMultiMatchMessage"), proto.webcast.im.BattleMultiMatchMessage.PreviewUser = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, i.inherits(proto.webcast.im.BattleMultiMatchMessage.PreviewUser, r.Message), i.DEBUG && !COMPILED && (proto.webcast.im.BattleMultiMatchMessage.PreviewUser.displayName = "proto.webcast.im.BattleMultiMatchMessage.PreviewUser"), proto.webcast.im.BattleMultiMatchMessage.repeatedFields_ = [4], r.Message.GENERATE_TO_OBJECT && (proto.webcast.im.BattleMultiMatchMessage.prototype.toObject = function (e) {
return proto.webcast.im.BattleMultiMatchMessage.toObject(e, this)
}, proto.webcast.im.BattleMultiMatchMessage.toObject = function (e, t) {
var o, i = {
common: (o = t.getCommon()) && n.Common.toObject(e, o),
matchStatus: r.Message.getFieldWithDefault(t, 2, 0),
expectTime: r.Message.getFieldWithDefault(t, 3, "0"),
previewUserListList: r.Message.toObjectList(t.getPreviewUserListList(), proto.webcast.im.BattleMultiMatchMessage.PreviewUser.toObject, e),
defaultWaitLimit: r.Message.getFieldWithDefault(t, 5, "0"),
inviteLimitSec: r.Message.getFieldWithDefault(t, 6, "0"),
matchType: r.Message.getFieldWithDefault(t, 7, "0")
};
return e && (i.$jspbMessageInstance = t), i
}), proto.webcast.im.BattleMultiMatchMessage.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), o = new proto.webcast.im.BattleMultiMatchMessage;
return proto.webcast.im.BattleMultiMatchMessage.deserializeBinaryFromReader(o, t)
}, proto.webcast.im.BattleMultiMatchMessage.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var o = new n.Common;
t.readMessage(o, n.Common.deserializeBinaryFromReader), e.setCommon(o);
break;
case 2:
o = t.readEnum();
e.setMatchStatus(o);
break;
case 3:
o = t.readInt64String();
e.setExpectTime(o);
break;
case 4:
o = new proto.webcast.im.BattleMultiMatchMessage.PreviewUser;
t.readMessage(o, proto.webcast.im.BattleMultiMatchMessage.PreviewUser.deserializeBinaryFromReader), e.addPreviewUserList(o);
break;
case 5:
o = t.readInt64String();
e.setDefaultWaitLimit(o);
break;
case 6:
o = t.readInt64String();
e.setInviteLimitSec(o);
break;
case 7:
o = t.readInt64String();
e.setMatchType(o);
break;
default:
t.skipField()
}
}
return e
}, proto.webcast.im.BattleMultiMatchMessage.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.im.BattleMultiMatchMessage.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.im.BattleMultiMatchMessage.serializeBinaryToWriter = function (e, t) {
var o = undefined;
null != (o = e.getCommon()) && t.writeMessage(1, o, n.Common.serializeBinaryToWriter), 0 !== (o = e.getMatchStatus()) && t.writeEnum(2, o), o = e.getExpectTime(), 0 !== parseInt(o, 10) && t.writeInt64String(3, o), (o = e.getPreviewUserListList()).length > 0 && t.writeRepeatedMessage(4, o, proto.webcast.im.BattleMultiMatchMessage.PreviewUser.serializeBinaryToWriter), o = e.getDefaultWaitLimit(), 0 !== parseInt(o, 10) && t.writeInt64String(5, o), o = e.getInviteLimitSec(), 0 !== parseInt(o, 10) && t.writeInt64String(6, o), o = e.getMatchType(), 0 !== parseInt(o, 10) && t.writeInt64String(7, o)
}, proto.webcast.im.BattleMultiMatchMessage.MatchStatus = {
STARTMATCH: 0,
CANCELMATCHACTIVELY: 1,
CANCELMATCHPASSIVELY: 2,
MATCHFAILED: 3
}, r.Message.GENERATE_TO_OBJECT && (proto.webcast.im.BattleMultiMatchMessage.PreviewUser.prototype.toObject = function (e) {
return proto.webcast.im.BattleMultiMatchMessage.PreviewUser.toObject(e, this)
}, proto.webcast.im.BattleMultiMatchMessage.PreviewUser.toObject = function (e, t) {
var o, i = {
nickname: r.Message.getFieldWithDefault(t, 1, ""),
avatar: (o = t.getAvatar()) && a.Image.toObject(e, o)
};
return e && (i.$jspbMessageInstance = t), i
}), proto.webcast.im.BattleMultiMatchMessage.PreviewUser.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), o = new proto.webcast.im.BattleMultiMatchMessage.PreviewUser;
return proto.webcast.im.BattleMultiMatchMessage.PreviewUser.deserializeBinaryFromReader(o, t)
}, proto.webcast.im.BattleMultiMatchMessage.PreviewUser.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var o = t.readString();
e.setNickname(o);
break;
case 2:
o = new a.Image;
t.readMessage(o, a.Image.deserializeBinaryFromReader), e.setAvatar(o);
break;
default:
t.skipField()
}
}
return e
}, proto.webcast.im.BattleMultiMatchMessage.PreviewUser.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.im.BattleMultiMatchMessage.PreviewUser.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.im.BattleMultiMatchMessage.PreviewUser.serializeBinaryToWriter = function (e, t) {
var o = undefined;
(o = e.getNickname()).length > 0 && t.writeString(1, o), null != (o = e.getAvatar()) && t.writeMessage(2, o, a.Image.serializeBinaryToWriter)
}, proto.webcast.im.BattleMultiMatchMessage.PreviewUser.prototype.getNickname = function () {
return r.Message.getFieldWithDefault(this, 1, "")
}, proto.webcast.im.BattleMultiMatchMessage.PreviewUser.prototype.setNickname = function (e) {
return r.Message.setProto3StringField(this, 1, e)
}, proto.webcast.im.BattleMultiMatchMessage.PreviewUser.prototype.getAvatar = function () {
return r.Message.getWrapperField(this, a.Image, 2)
}, proto.webcast.im.BattleMultiMatchMessage.PreviewUser.prototype.setAvatar = function (e) {
return r.Message.setWrapperField(this, 2, e)
}, proto.webcast.im.BattleMultiMatchMessage.PreviewUser.prototype.clearAvatar = function () {
return this.setAvatar(undefined)
}, proto.webcast.im.BattleMultiMatchMessage.PreviewUser.prototype.hasAvatar = function () {
return null != r.Message.getField(this, 2)
}, proto.webcast.im.BattleMultiMatchMessage.prototype.getCommon = function () {
return r.Message.getWrapperField(this, n.Common, 1)
}, proto.webcast.im.BattleMultiMatchMessage.prototype.setCommon = function (e) {
return r.Message.setWrapperField(this, 1, e)
}, proto.webcast.im.BattleMultiMatchMessage.prototype.clearCommon = function () {
return this.setCommon(undefined)
}, proto.webcast.im.BattleMultiMatchMessage.prototype.hasCommon = function () {
return null != r.Message.getField(this, 1)
}, proto.webcast.im.BattleMultiMatchMessage.prototype.getMatchStatus = function () {
return r.Message.getFieldWithDefault(this, 2, 0)
}, proto.webcast.im.BattleMultiMatchMessage.prototype.setMatchStatus = function (e) {
return r.Message.setProto3EnumField(this, 2, e)
}, proto.webcast.im.BattleMultiMatchMessage.prototype.getExpectTime = function () {
return r.Message.getFieldWithDefault(this, 3, "0")
}, proto.webcast.im.BattleMultiMatchMessage.prototype.setExpectTime = function (e) {
return r.Message.setProto3StringIntField(this, 3, e)
}, proto.webcast.im.BattleMultiMatchMessage.prototype.getPreviewUserListList = function () {
return r.Message.getRepeatedWrapperField(this, proto.webcast.im.BattleMultiMatchMessage.PreviewUser, 4)
}, proto.webcast.im.BattleMultiMatchMessage.prototype.setPreviewUserListList = function (e) {
return r.Message.setRepeatedWrapperField(this, 4, e)
}, proto.webcast.im.BattleMultiMatchMessage.prototype.addPreviewUserList = function (e, t) {
return r.Message.addToRepeatedWrapperField(this, 4, e, proto.webcast.im.BattleMultiMatchMessage.PreviewUser, t)
}, proto.webcast.im.BattleMultiMatchMessage.prototype.clearPreviewUserListList = function () {
return this.setPreviewUserListList([])
}, proto.webcast.im.BattleMultiMatchMessage.prototype.getDefaultWaitLimit = function () {
return r.Message.getFieldWithDefault(this, 5, "0")
}, proto.webcast.im.BattleMultiMatchMessage.prototype.setDefaultWaitLimit = function (e) {
return r.Message.setProto3StringIntField(this, 5, e)
}, proto.webcast.im.BattleMultiMatchMessage.prototype.getInviteLimitSec = function () {
return r.Message.getFieldWithDefault(this, 6, "0")
}, proto.webcast.im.BattleMultiMatchMessage.prototype.setInviteLimitSec = function (e) {
return r.Message.setProto3StringIntField(this, 6, e)
}, proto.webcast.im.BattleMultiMatchMessage.prototype.getMatchType = function () {
return r.Message.getFieldWithDefault(this, 7, "0")
}, proto.webcast.im.BattleMultiMatchMessage.prototype.setMatchType = function (e) {
return r.Message.setProto3StringIntField(this, 7, e)
}, i.object.extend(t, proto.webcast.im)
}, 91807: function (e, t, o) {
var r = o(47865), i = r, s = function () {
return this ? this : "undefined" != typeof window ? window : void 0 !== s ? s : "undefined" != typeof self ? self : Function("return this")()
}.call(null), n = o(50684);
i.object.extend(proto, n);
var a = o(8411);
i.object.extend(proto, a), i.exportSymbol("proto.webcast.im.CNYATaskMessage", null, s), i.exportSymbol("proto.webcast.im.CNYReward", null, s), proto.webcast.im.CNYReward = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, i.inherits(proto.webcast.im.CNYReward, r.Message), i.DEBUG && !COMPILED && (proto.webcast.im.CNYReward.displayName = "proto.webcast.im.CNYReward"), proto.webcast.im.CNYATaskMessage = function (e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.im.CNYATaskMessage.repeatedFields_, null)
}, i.inherits(proto.webcast.im.CNYATaskMessage, r.Message), i.DEBUG && !COMPILED && (proto.webcast.im.CNYATaskMessage.displayName = "proto.webcast.im.CNYATaskMessage"), r.Message.GENERATE_TO_OBJECT && (proto.webcast.im.CNYReward.prototype.toObject = function (e) {
return proto.webcast.im.CNYReward.toObject(e, this)
}, proto.webcast.im.CNYReward.toObject = function (e, t) {
var o, i = {
common: (o = t.getCommon()) && n.Common.toObject(e, o),
awardContent: r.Message.getFieldWithDefault(t, 2, ""),
bannerContent: r.Message.getFieldWithDefault(t, 3, "")
};
return e && (i.$jspbMessageInstance = t), i
}), proto.webcast.im.CNYReward.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), o = new proto.webcast.im.CNYReward;
return proto.webcast.im.CNYReward.deserializeBinaryFromReader(o, t)
}, proto.webcast.im.CNYReward.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var o = new n.Common;
t.readMessage(o, n.Common.deserializeBinaryFromReader), e.setCommon(o);
break;
case 2:
o = t.readString();
e.setAwardContent(o);
break;
case 3:
o = t.readString();
e.setBannerContent(o);
break;
default:
t.skipField()
}
}
return e
}, proto.webcast.im.CNYReward.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.im.CNYReward.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.im.CNYReward.serializeBinaryToWriter = function (e, t) {
var o = undefined;
null != (o = e.getCommon()) && t.writeMessage(1, o, n.Common.serializeBinaryToWriter), (o = e.getAwardContent()).length > 0 && t.writeString(2, o), (o = e.getBannerContent()).length > 0 && t.writeString(3, o)
}, proto.webcast.im.CNYReward.prototype.getCommon = function () {
return r.Message.getWrapperField(this, n.Common, 1)
}, proto.webcast.im.CNYReward.prototype.setCommon = function (e) {
return r.Message.setWrapperField(this, 1, e)
}, proto.webcast.im.CNYReward.prototype.clearCommon = function () {
return this.setCommon(undefined)
}, proto.webcast.im.CNYReward.prototype.hasCommon = function () {
return null != r.Message.getField(this, 1)
}, proto.webcast.im.CNYReward.prototype.getAwardContent = function () {
return r.Message.getFieldWithDefault(this, 2, "")
}, proto.webcast.im.CNYReward.prototype.setAwardContent = function (e) {
return r.Message.setProto3StringField(this, 2, e)
}, proto.webcast.im.CNYReward.prototype.getBannerContent = function () {
return r.Message.getFieldWithDefault(this, 3, "")
}, proto.webcast.im.CNYReward.prototype.setBannerContent = function (e) {
return r.Message.setProto3StringField(this, 3, e)
}, proto.webcast.im.CNYATaskMessage.repeatedFields_ = [9], r.Message.GENERATE_TO_OBJECT && (proto.webcast.im.CNYATaskMessage.prototype.toObject = function (e) {
return proto.webcast.im.CNYATaskMessage.toObject(e, this)
}, proto.webcast.im.CNYATaskMessage.toObject = function (e, t) {
var o, i = {
common: (o = t.getCommon()) && n.Common.toObject(e, o),
watchDuration: r.Message.getFieldWithDefault(t, 2, "0"),
watchTotal: r.Message.getFieldWithDefault(t, 3, "0"),
currentRound: r.Message.getFieldWithDefault(t, 7, 0),
pct: r.Message.getFieldWithDefault(t, 8, 0),
roundTargetList: null == (o = r.Message.getRepeatedField(t, 9)) ? undefined : o,
allDescMap: (o = t.getAllDescMap()) ? o.toObject(e, undefined) : [],
allImageMap: (o = t.getAllImageMap()) ? o.toObject(e, proto.webcast.data.Image.toObject) : []
};
return e && (i.$jspbMessageInstance = t), i
}), proto.webcast.im.CNYATaskMessage.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), o = new proto.webcast.im.CNYATaskMessage;
return proto.webcast.im.CNYATaskMessage.deserializeBinaryFromReader(o, t)
}, proto.webcast.im.CNYATaskMessage.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var o = new n.Common;
t.readMessage(o, n.Common.deserializeBinaryFromReader), e.setCommon(o);
break;
case 2:
o = t.readInt64String();
e.setWatchDuration(o);
break;
case 3:
o = t.readInt64String();
e.setWatchTotal(o);
break;
case 7:
o = t.readInt32();
e.setCurrentRound(o);
break;
case 8:
o = t.readInt32();
e.setPct(o);
break;
case 9:
for (var i = t.isDelimited() ? t.readPackedInt64String() : [t.readInt64String()], s = 0; s < i.length; s++) e.addRoundTarget(i[s]);
break;
case 10:
o = e.getAllDescMap();
t.readMessage(o, (function (e, t) {
r.Map.deserializeBinary(e, t, r.BinaryReader.prototype.readString, r.BinaryReader.prototype.readString, null, "", "")
}));
break;
case 11:
o = e.getAllImageMap();
t.readMessage(o, (function (e, t) {
r.Map.deserializeBinary(e, t, r.BinaryReader.prototype.readString, r.BinaryReader.prototype.readMessage, proto.webcast.data.Image.deserializeBinaryFromReader, "", new proto.webcast.data.Image)
}));
break;
default:
t.skipField()
}
}
return e
}, proto.webcast.im.CNYATaskMessage.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.im.CNYATaskMessage.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.im.CNYATaskMessage.serializeBinaryToWriter = function (e, t) {
var o = undefined;
null != (o = e.getCommon()) && t.writeMessage(1, o, n.Common.serializeBinaryToWriter), o = e.getWatchDuration(), 0 !== parseInt(o, 10) && t.writeInt64String(2, o), o = e.getWatchTotal(), 0 !== parseInt(o, 10) && t.writeInt64String(3, o), 0 !== (o = e.getCurrentRound()) && t.writeInt32(7, o), 0 !== (o = e.getPct()) && t.writeInt32(8, o), (o = e.getRoundTargetList()).length > 0 && t.writePackedInt64String(9, o), (o = e.getAllDescMap(!0)) && o.getLength() > 0 && o.serializeBinary(10, t, r.BinaryWriter.prototype.writeString, r.BinaryWriter.prototype.writeString), (o = e.getAllImageMap(!0)) && o.getLength() > 0 && o.serializeBinary(11, t, r.BinaryWriter.prototype.writeString, r.BinaryWriter.prototype.writeMessage, proto.webcast.data.Image.serializeBinaryToWriter)
}, proto.webcast.im.CNYATaskMessage.prototype.getCommon = function () {
return r.Message.getWrapperField(this, n.Common, 1)
}, proto.webcast.im.CNYATaskMessage.prototype.setCommon = function (e) {
return r.Message.setWrapperField(this, 1, e)
}, proto.webcast.im.CNYATaskMessage.prototype.clearCommon = function () {
return this.setCommon(undefined)
}, proto.webcast.im.CNYATaskMessage.prototype.hasCommon = function () {
return null != r.Message.getField(this, 1)
}, proto.webcast.im.CNYATaskMessage.prototype.getWatchDuration = function () {
return r.Message.getFieldWithDefault(this, 2, "0")
}, proto.webcast.im.CNYATaskMessage.prototype.setWatchDuration = function (e) {
return r.Message.setProto3StringIntField(this, 2, e)
}, proto.webcast.im.CNYATaskMessage.prototype.getWatchTotal = function () {
return r.Message.getFieldWithDefault(this, 3, "0")
}, proto.webcast.im.CNYATaskMessage.prototype.setWatchTotal = function (e) {
return r.Message.setProto3StringIntField(this, 3, e)
}, proto.webcast.im.CNYATaskMessage.prototype.getCurrentRound = function () {
return r.Message.getFieldWithDefault(this, 7, 0)
}, proto.webcast.im.CNYATaskMessage.prototype.setCurrentRound = function (e) {
return r.Message.setProto3IntField(this, 7, e)
}, proto.webcast.im.CNYATaskMessage.prototype.getPct = function () {
return r.Message.getFieldWithDefault(this, 8, 0)
}, proto.webcast.im.CNYATaskMessage.prototype.setPct = function (e) {
return r.Message.setProto3IntField(this, 8, e)
}, proto.webcast.im.CNYATaskMessage.prototype.getRoundTargetList = function () {
return r.Message.getRepeatedField(this, 9)
}, proto.webcast.im.CNYATaskMessage.prototype.setRoundTargetList = function (e) {
return r.Message.setField(this, 9, e || [])
}, proto.webcast.im.CNYATaskMessage.prototype.addRoundTarget = function (e, t) {
return r.Message.addToRepeatedField(this, 9, e, t)
}, proto.webcast.im.CNYATaskMessage.prototype.clearRoundTargetList = function () {
return this.setRoundTargetList([])
}, proto.webcast.im.CNYATaskMessage.prototype.getAllDescMap = function (e) {
return r.Message.getMapField(this, 10, e, null)
}, proto.webcast.im.CNYATaskMessage.prototype.clearAllDescMap = function () {
return this.getAllDescMap().clear(), this
}, proto.webcast.im.CNYATaskMessage.prototype.getAllImageMap = function (e) {
return r.Message.getMapField(this, 11, e, proto.webcast.data.Image)
}, proto.webcast.im.CNYATaskMessage.prototype.clearAllImageMap = function () {
return this.getAllImageMap().clear(), this
}, i.object.extend(t, proto.webcast.im)
}, 64002: function (e, t, o) {
var r = o(47865), i = r, s = function () {
return this ? this : "undefined" != typeof window ? window : void 0 !== s ? s : "undefined" != typeof self ? self : Function("return this")()
}.call(null), n = o(50684);
i.object.extend(proto, n);
var a = o(44262);
i.object.extend(proto, a), i.exportSymbol("proto.webcast.im.CommonCardAreaMessage", null, s), i.exportSymbol("proto.webcast.im.CommonCardAreaMessage.MessageType", null, s), proto.webcast.im.CommonCardAreaMessage = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, i.inherits(proto.webcast.im.CommonCardAreaMessage, r.Message), i.DEBUG && !COMPILED && (proto.webcast.im.CommonCardAreaMessage.displayName = "proto.webcast.im.CommonCardAreaMessage"), r.Message.GENERATE_TO_OBJECT && (proto.webcast.im.CommonCardAreaMessage.prototype.toObject = function (e) {
return proto.webcast.im.CommonCardAreaMessage.toObject(e, this)
}, proto.webcast.im.CommonCardAreaMessage.toObject = function (e, t) {
var o, i = {
common: (o = t.getCommon()) && n.Common.toObject(e, o),
messageType: r.Message.getFieldWithDefault(t, 2, 0),
bottomRightCardData: (o = t.getBottomRightCardData()) && a.BottomRightCardArea.toObject(e, o)
};
return e && (i.$jspbMessageInstance = t), i
}), proto.webcast.im.CommonCardAreaMessage.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), o = new proto.webcast.im.CommonCardAreaMessage;
return proto.webcast.im.CommonCardAreaMessage.deserializeBinaryFromReader(o, t)
}, proto.webcast.im.CommonCardAreaMessage.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var o = new n.Common;
t.readMessage(o, n.Common.deserializeBinaryFromReader), e.setCommon(o);
break;
case 2:
o = t.readEnum();
e.setMessageType(o);
break;
case 3:
o = new a.BottomRightCardArea;
t.readMessage(o, a.BottomRightCardArea.deserializeBinaryFromReader), e.setBottomRightCardData(o);
break;
default:
t.skipField()
}
}
return e
}, proto.webcast.im.CommonCardAreaMessage.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.im.CommonCardAreaMessage.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.im.CommonCardAreaMessage.serializeBinaryToWriter = function (e, t) {
var o = undefined;
null != (o = e.getCommon()) && t.writeMessage(1, o, n.Common.serializeBinaryToWriter), 0 !== (o = e.getMessageType()) && t.writeEnum(2, o), null != (o = e.getBottomRightCardData()) && t.writeMessage(3, o, a.BottomRightCardArea.serializeBinaryToWriter)
}, proto.webcast.im.CommonCardAreaMessage.MessageType = {
UNKNOWNMESSAGETYPE: 0,
REFRESH: 1,
DESTROY: 2
}, proto.webcast.im.CommonCardAreaMessage.prototype.getCommon = function () {
return r.Message.getWrapperField(this, n.Common, 1)
}, proto.webcast.im.CommonCardAreaMessage.prototype.setCommon = function (e) {
return r.Message.setWrapperField(this, 1, e)
}, proto.webcast.im.CommonCardAreaMessage.prototype.clearCommon = function () {
return this.setCommon(undefined)
}, proto.webcast.im.CommonCardAreaMessage.prototype.hasCommon = function () {
return null != r.Message.getField(this, 1)
}, proto.webcast.im.CommonCardAreaMessage.prototype.getMessageType = function () {
return r.Message.getFieldWithDefault(this, 2, 0)
}, proto.webcast.im.CommonCardAreaMessage.prototype.setMessageType = function (e) {
return r.Message.setProto3EnumField(this, 2, e)
}, proto.webcast.im.CommonCardAreaMessage.prototype.getBottomRightCardData = function () {
return r.Message.getWrapperField(this, a.BottomRightCardArea, 3)
}, proto.webcast.im.CommonCardAreaMessage.prototype.setBottomRightCardData = function (e) {
return r.Message.setWrapperField(this, 3, e)
}, proto.webcast.im.CommonCardAreaMessage.prototype.clearBottomRightCardData = function () {
return this.setBottomRightCardData(undefined)
}, proto.webcast.im.CommonCardAreaMessage.prototype.hasBottomRightCardData = function () {
return null != r.Message.getField(this, 3)
}, i.object.extend(t, proto.webcast.im)
}, 4791: function (e, t, o) {
var r = o(47865), i = r, s = function () {
return this ? this : "undefined" != typeof window ? window : void 0 !== s ? s : "undefined" != typeof self ? self : Function("return this")()
}.call(null), n = o(50684);
i.object.extend(proto, n);
var a = o(57561);
i.object.extend(proto, a), i.exportSymbol("proto.webcast.im.DecorationUpdateMessage", null, s), proto.webcast.im.DecorationUpdateMessage = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, i.inherits(proto.webcast.im.DecorationUpdateMessage, r.Message), i.DEBUG && !COMPILED && (proto.webcast.im.DecorationUpdateMessage.displayName = "proto.webcast.im.DecorationUpdateMessage"), r.Message.GENERATE_TO_OBJECT && (proto.webcast.im.DecorationUpdateMessage.prototype.toObject = function (e) {
return proto.webcast.im.DecorationUpdateMessage.toObject(e, this)
}, proto.webcast.im.DecorationUpdateMessage.toObject = function (e, t) {
var o, r = {
common: (o = t.getCommon()) && n.Common.toObject(e, o),
detai: (o = t.getDetai()) && a.DecotationDetail.toObject(e, o)
};
return e && (r.$jspbMessageInstance = t), r
}), proto.webcast.im.DecorationUpdateMessage.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), o = new proto.webcast.im.DecorationUpdateMessage;
return proto.webcast.im.DecorationUpdateMessage.deserializeBinaryFromReader(o, t)
}, proto.webcast.im.DecorationUpdateMessage.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var o = new n.Common;
t.readMessage(o, n.Common.deserializeBinaryFromReader), e.setCommon(o);
break;
case 2:
o = new a.DecotationDetail;
t.readMessage(o, a.DecotationDetail.deserializeBinaryFromReader), e.setDetai(o);
break;
default:
t.skipField()
}
}
return e
}, proto.webcast.im.DecorationUpdateMessage.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.im.DecorationUpdateMessage.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.im.DecorationUpdateMessage.serializeBinaryToWriter = function (e, t) {
var o = undefined;
null != (o = e.getCommon()) && t.writeMessage(1, o, n.Common.serializeBinaryToWriter), null != (o = e.getDetai()) && t.writeMessage(2, o, a.DecotationDetail.serializeBinaryToWriter)
}, proto.webcast.im.DecorationUpdateMessage.prototype.getCommon = function () {
return r.Message.getWrapperField(this, n.Common, 1)
}, proto.webcast.im.DecorationUpdateMessage.prototype.setCommon = function (e) {
return r.Message.setWrapperField(this, 1, e)
}, proto.webcast.im.DecorationUpdateMessage.prototype.clearCommon = function () {
return this.setCommon(undefined)
}, proto.webcast.im.DecorationUpdateMessage.prototype.hasCommon = function () {
return null != r.Message.getField(this, 1)
}, proto.webcast.im.DecorationUpdateMessage.prototype.getDetai = function () {
return r.Message.getWrapperField(this, a.DecotationDetail, 2)
}, proto.webcast.im.DecorationUpdateMessage.prototype.setDetai = function (e) {
return r.Message.setWrapperField(this, 2, e)
}, proto.webcast.im.DecorationUpdateMessage.prototype.clearDetai = function () {
return this.setDetai(undefined)
}, proto.webcast.im.DecorationUpdateMessage.prototype.hasDetai = function () {
return null != r.Message.getField(this, 2)
}, i.object.extend(t, proto.webcast.im)
}, 24531: function (e, t, o) {
var r = o(47865), i = r, s = function () {
return this ? this : "undefined" != typeof window ? window : void 0 !== s ? s : "undefined" != typeof self ? self : Function("return this")()
}.call(null), n = o(50684);
i.object.extend(proto, n), i.exportSymbol("proto.webcast.im.DressAssetMessage", null, s), proto.webcast.im.DressAssetMessage = function (e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.im.DressAssetMessage.repeatedFields_, null)
}, i.inherits(proto.webcast.im.DressAssetMessage, r.Message), i.DEBUG && !COMPILED && (proto.webcast.im.DressAssetMessage.displayName = "proto.webcast.im.DressAssetMessage"), proto.webcast.im.DressAssetMessage.repeatedFields_ = [2], r.Message.GENERATE_TO_OBJECT && (proto.webcast.im.DressAssetMessage.prototype.toObject = function (e) {
return proto.webcast.im.DressAssetMessage.toObject(e, this)
}, proto.webcast.im.DressAssetMessage.toObject = function (e, t) {
var o, i = {
common: (o = t.getCommon()) && n.Common.toObject(e, o),
dressIdList: null == (o = r.Message.getRepeatedField(t, 2)) ? undefined : o
};
return e && (i.$jspbMessageInstance = t), i
}), proto.webcast.im.DressAssetMessage.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), o = new proto.webcast.im.DressAssetMessage;
return proto.webcast.im.DressAssetMessage.deserializeBinaryFromReader(o, t)
}, proto.webcast.im.DressAssetMessage.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var o = new n.Common;
t.readMessage(o, n.Common.deserializeBinaryFromReader), e.setCommon(o);
break;
case 2:
o = t.readString();
e.addDressId(o);
break;
default:
t.skipField()
}
}
return e
}, proto.webcast.im.DressAssetMessage.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.im.DressAssetMessage.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.im.DressAssetMessage.serializeBinaryToWriter = function (e, t) {
var o = undefined;
null != (o = e.getCommon()) && t.writeMessage(1, o, n.Common.serializeBinaryToWriter), (o = e.getDressIdList()).length > 0 && t.writeRepeatedString(2, o)
}, proto.webcast.im.DressAssetMessage.prototype.getCommon = function () {
return r.Message.getWrapperField(this, n.Common, 1)
}, proto.webcast.im.DressAssetMessage.prototype.setCommon = function (e) {
return r.Message.setWrapperField(this, 1, e)
}, proto.webcast.im.DressAssetMessage.prototype.clearCommon = function () {
return this.setCommon(undefined)
}, proto.webcast.im.DressAssetMessage.prototype.hasCommon = function () {
return null != r.Message.getField(this, 1)
}, proto.webcast.im.DressAssetMessage.prototype.getDressIdList = function () {
return r.Message.getRepeatedField(this, 2)
}, proto.webcast.im.DressAssetMessage.prototype.setDressIdList = function (e) {
return r.Message.setField(this, 2, e || [])
}, proto.webcast.im.DressAssetMessage.prototype.addDressId = function (e, t) {
return r.Message.addToRepeatedField(this, 2, e, t)
}, proto.webcast.im.DressAssetMessage.prototype.clearDressIdList = function () {
return this.setDressIdList([])
}, i.object.extend(t, proto.webcast.im)
}, 86303: function (e, t, o) {
var r = o(47865), i = r, s = function () {
return this ? this : "undefined" != typeof window ? window : void 0 !== s ? s : "undefined" != typeof self ? self : Function("return this")()
}.call(null), n = o(50684);
i.object.extend(proto, n), i.exportSymbol("proto.webcast.im.DrumMessage", null, s), i.exportSymbol("proto.webcast.im.DrumMsgType", null, s), i.exportSymbol("proto.webcast.im.DrumMsgType.Enum", null, s), i.exportSymbol("proto.webcast.im.DrumResult", null, s), i.exportSymbol("proto.webcast.im.DrumResult.Enum", null, s), proto.webcast.im.DrumMsgType = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, i.inherits(proto.webcast.im.DrumMsgType, r.Message), i.DEBUG && !COMPILED && (proto.webcast.im.DrumMsgType.displayName = "proto.webcast.im.DrumMsgType"), proto.webcast.im.DrumResult = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, i.inherits(proto.webcast.im.DrumResult, r.Message), i.DEBUG && !COMPILED && (proto.webcast.im.DrumResult.displayName = "proto.webcast.im.DrumResult"), proto.webcast.im.DrumMessage = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, i.inherits(proto.webcast.im.DrumMessage, r.Message), i.DEBUG && !COMPILED && (proto.webcast.im.DrumMessage.displayName = "proto.webcast.im.DrumMessage"), r.Message.GENERATE_TO_OBJECT && (proto.webcast.im.DrumMsgType.prototype.toObject = function (e) {
return proto.webcast.im.DrumMsgType.toObject(e, this)
}, proto.webcast.im.DrumMsgType.toObject = function (e, t) {
var o = {};
return e && (o.$jspbMessageInstance = t), o
}), proto.webcast.im.DrumMsgType.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), o = new proto.webcast.im.DrumMsgType;
return proto.webcast.im.DrumMsgType.deserializeBinaryFromReader(o, t)
}, proto.webcast.im.DrumMsgType.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
t.getFieldNumber();
t.skipField()
}
return e
}, proto.webcast.im.DrumMsgType.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.im.DrumMsgType.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.im.DrumMsgType.serializeBinaryToWriter = function (e, t) {
undefined
}, proto.webcast.im.DrumMsgType.Enum = {
UNKNOWN: 0,
SYNCDRUMCOUNT: 1,
DRUMRESULT: 2
}, r.Message.GENERATE_TO_OBJECT && (proto.webcast.im.DrumResult.prototype.toObject = function (e) {
return proto.webcast.im.DrumResult.toObject(e, this)
}, proto.webcast.im.DrumResult.toObject = function (e, t) {
var o = {};
return e && (o.$jspbMessageInstance = t), o
}), proto.webcast.im.DrumResult.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), o = new proto.webcast.im.DrumResult;
return proto.webcast.im.DrumResult.deserializeBinaryFromReader(o, t)
}, proto.webcast.im.DrumResult.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
t.getFieldNumber();
t.skipField()
}
return e
}, proto.webcast.im.DrumResult.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.im.DrumResult.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.im.DrumResult.serializeBinaryToWriter = function (e, t) {
undefined
}, proto.webcast.im.DrumResult.Enum = {
UNKNOWN: 0,
SUCCESS: 1,
FAILED: 2
}, r.Message.GENERATE_TO_OBJECT && (proto.webcast.im.DrumMessage.prototype.toObject = function (e) {
return proto.webcast.im.DrumMessage.toObject(e, this)
}, proto.webcast.im.DrumMessage.toObject = function (e, t) {
var o, i = {
common: (o = t.getCommon()) && n.Common.toObject(e, o),
drumResult: r.Message.getFieldWithDefault(t, 2, 0),
dumpMsgType: r.Message.getFieldWithDefault(t, 3, 0),
drumCount: r.Message.getFieldWithDefault(t, 4, "0"),
reportTimeGap: r.Message.getFieldWithDefault(t, 5, "0"),
pushId: r.Message.getFieldWithDefault(t, 6, "0"),
pushIdStr: r.Message.getFieldWithDefault(t, 7, "")
};
return e && (i.$jspbMessageInstance = t), i
}), proto.webcast.im.DrumMessage.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), o = new proto.webcast.im.DrumMessage;
return proto.webcast.im.DrumMessage.deserializeBinaryFromReader(o, t)
}, proto.webcast.im.DrumMessage.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var o = new n.Common;
t.readMessage(o, n.Common.deserializeBinaryFromReader), e.setCommon(o);
break;
case 2:
o = t.readEnum();
e.setDrumResult(o);
break;
case 3:
o = t.readEnum();
e.setDumpMsgType(o);
break;
case 4:
o = t.readInt64String();
e.setDrumCount(o);
break;
case 5:
o = t.readInt64String();
e.setReportTimeGap(o);
break;
case 6:
o = t.readInt64String();
e.setPushId(o);
break;
case 7:
o = t.readString();
e.setPushIdStr(o);
break;
default:
t.skipField()
}
}
return e
}, proto.webcast.im.DrumMessage.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.im.DrumMessage.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.im.DrumMessage.serializeBinaryToWriter = function (e, t) {
var o = undefined;
null != (o = e.getCommon()) && t.writeMessage(1, o, n.Common.serializeBinaryToWriter), 0 !== (o = e.getDrumResult()) && t.writeEnum(2, o), 0 !== (o = e.getDumpMsgType()) && t.writeEnum(3, o), o = e.getDrumCount(), 0 !== parseInt(o, 10) && t.writeInt64String(4, o), o = e.getReportTimeGap(), 0 !== parseInt(o, 10) && t.writeInt64String(5, o), o = e.getPushId(), 0 !== parseInt(o, 10) && t.writeInt64String(6, o), (o = e.getPushIdStr()).length > 0 && t.writeString(7, o)
}, proto.webcast.im.DrumMessage.prototype.getCommon = function () {
return r.Message.getWrapperField(this, n.Common, 1)
}, proto.webcast.im.DrumMessage.prototype.setCommon = function (e) {
return r.Message.setWrapperField(this, 1, e)
}, proto.webcast.im.DrumMessage.prototype.clearCommon = function () {
return this.setCommon(undefined)
}, proto.webcast.im.DrumMessage.prototype.hasCommon = function () {
return null != r.Message.getField(this, 1)
}, proto.webcast.im.DrumMessage.prototype.getDrumResult = function () {
return r.Message.getFieldWithDefault(this, 2, 0)
}, proto.webcast.im.DrumMessage.prototype.setDrumResult = function (e) {
return r.Message.setProto3EnumField(this, 2, e)
}, proto.webcast.im.DrumMessage.prototype.getDumpMsgType = function () {
return r.Message.getFieldWithDefault(this, 3, 0)
}, proto.webcast.im.DrumMessage.prototype.setDumpMsgType = function (e) {
return r.Message.setProto3EnumField(this, 3, e)
}, proto.webcast.im.DrumMessage.prototype.getDrumCount = function () {
return r.Message.getFieldWithDefault(this, 4, "0")
}, proto.webcast.im.DrumMessage.prototype.setDrumCount = function (e) {
return r.Message.setProto3StringIntField(this, 4, e)
}, proto.webcast.im.DrumMessage.prototype.getReportTimeGap = function () {
return r.Message.getFieldWithDefault(this, 5, "0")
}, proto.webcast.im.DrumMessage.prototype.setReportTimeGap = function (e) {
return r.Message.setProto3StringIntField(this, 5, e)
}, proto.webcast.im.DrumMessage.prototype.getPushId = function () {
return r.Message.getFieldWithDefault(this, 6, "0")
}, proto.webcast.im.DrumMessage.prototype.setPushId = function (e) {
return r.Message.setProto3StringIntField(this, 6, e)
}, proto.webcast.im.DrumMessage.prototype.getPushIdStr = function () {
return r.Message.getFieldWithDefault(this, 7, "")
}, proto.webcast.im.DrumMessage.prototype.setPushIdStr = function (e) {
return r.Message.setProto3StringField(this, 7, e)
}, i.object.extend(t, proto.webcast.im)
}, 57294: function (e, t, o) {
var r = o(47865), i = r, s = function () {
return this ? this : "undefined" != typeof window ? window : void 0 !== s ? s : "undefined" != typeof self ? self : Function("return this")()
}.call(null), n = o(50684);
i.object.extend(proto, n), i.exportSymbol("proto.webcast.im.EcomFansClubMessage", null, s), i.exportSymbol("proto.webcast.im.UserInfo", null, s), proto.webcast.im.EcomFansClubMessage = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, i.inherits(proto.webcast.im.EcomFansClubMessage, r.Message), i.DEBUG && !COMPILED && (proto.webcast.im.EcomFansClubMessage.displayName = "proto.webcast.im.EcomFansClubMessage"), proto.webcast.im.UserInfo = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, i.inherits(proto.webcast.im.UserInfo, r.Message), i.DEBUG && !COMPILED && (proto.webcast.im.UserInfo.displayName = "proto.webcast.im.UserInfo"), r.Message.GENERATE_TO_OBJECT && (proto.webcast.im.EcomFansClubMessage.prototype.toObject = function (e) {
return proto.webcast.im.EcomFansClubMessage.toObject(e, this)
}, proto.webcast.im.EcomFansClubMessage.toObject = function (e, t) {
var o, i = {
common: (o = t.getCommon()) && n.Common.toObject(e, o),
action: r.Message.getFieldWithDefault(t, 2, 0),
user: (o = t.getUser()) && proto.webcast.im.UserInfo.toObject(e, o)
};
return e && (i.$jspbMessageInstance = t), i
}), proto.webcast.im.EcomFansClubMessage.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), o = new proto.webcast.im.EcomFansClubMessage;
return proto.webcast.im.EcomFansClubMessage.deserializeBinaryFromReader(o, t)
}, proto.webcast.im.EcomFansClubMessage.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var o = new n.Common;
t.readMessage(o, n.Common.deserializeBinaryFromReader), e.setCommon(o);
break;
case 2:
o = t.readInt32();
e.setAction(o);
break;
case 3:
o = new proto.webcast.im.UserInfo;
t.readMessage(o, proto.webcast.im.UserInfo.deserializeBinaryFromReader), e.setUser(o);
break;
default:
t.skipField()
}
}
return e
}, proto.webcast.im.EcomFansClubMessage.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.im.EcomFansClubMessage.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.im.EcomFansClubMessage.serializeBinaryToWriter = function (e, t) {
var o = undefined;
null != (o = e.getCommon()) && t.writeMessage(1, o, n.Common.serializeBinaryToWriter), 0 !== (o = e.getAction()) && t.writeInt32(2, o), null != (o = e.getUser()) && t.writeMessage(3, o, proto.webcast.im.UserInfo.serializeBinaryToWriter)
}, proto.webcast.im.EcomFansClubMessage.prototype.getCommon = function () {
return r.Message.getWrapperField(this, n.Common, 1)
}, proto.webcast.im.EcomFansClubMessage.prototype.setCommon = function (e) {
return r.Message.setWrapperField(this, 1, e)
}, proto.webcast.im.EcomFansClubMessage.prototype.clearCommon = function () {
return this.setCommon(undefined)
}, proto.webcast.im.EcomFansClubMessage.prototype.hasCommon = function () {
return null != r.Message.getField(this, 1)
}, proto.webcast.im.EcomFansClubMessage.prototype.getAction = function () {
return r.Message.getFieldWithDefault(this, 2, 0)
}, proto.webcast.im.EcomFansClubMessage.prototype.setAction = function (e) {
return r.Message.setProto3IntField(this, 2, e)
}, proto.webcast.im.EcomFansClubMessage.prototype.getUser = function () {
return r.Message.getWrapperField(this, proto.webcast.im.UserInfo, 3)
}, proto.webcast.im.EcomFansClubMessage.prototype.setUser = function (e) {
return r.Message.setWrapperField(this, 3, e)
}, proto.webcast.im.EcomFansClubMessage.prototype.clearUser = function () {
return this.setUser(undefined)
}, proto.webcast.im.EcomFansClubMessage.prototype.hasUser = function () {
return null != r.Message.getField(this, 3)
}, r.Message.GENERATE_TO_OBJECT && (proto.webcast.im.UserInfo.prototype.toObject = function (e) {
return proto.webcast.im.UserInfo.toObject(e, this)
}, proto.webcast.im.UserInfo.toObject = function (e, t) {
var o = {userId: r.Message.getFieldWithDefault(t, 1, "0"), level: r.Message.getFieldWithDefault(t, 2, 0)};
return e && (o.$jspbMessageInstance = t), o
}), proto.webcast.im.UserInfo.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), o = new proto.webcast.im.UserInfo;
return proto.webcast.im.UserInfo.deserializeBinaryFromReader(o, t)
}, proto.webcast.im.UserInfo.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var o = t.readInt64String();
e.setUserId(o);
break;
case 2:
o = t.readInt32();
e.setLevel(o);
break;
default:
t.skipField()
}
}
return e
}, proto.webcast.im.UserInfo.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.im.UserInfo.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.im.UserInfo.serializeBinaryToWriter = function (e, t) {
var o = undefined;
o = e.getUserId(), 0 !== parseInt(o, 10) && t.writeInt64String(1, o), 0 !== (o = e.getLevel()) && t.writeInt32(2, o)
}, proto.webcast.im.UserInfo.prototype.getUserId = function () {
return r.Message.getFieldWithDefault(this, 1, "0")
}, proto.webcast.im.UserInfo.prototype.setUserId = function (e) {
return r.Message.setProto3StringIntField(this, 1, e)
}, proto.webcast.im.UserInfo.prototype.getLevel = function () {
return r.Message.getFieldWithDefault(this, 2, 0)
}, proto.webcast.im.UserInfo.prototype.setLevel = function (e) {
return r.Message.setProto3IntField(this, 2, e)
}, i.object.extend(t, proto.webcast.im)
}, 10473: function (e, t, o) {
var r = o(47865), i = r, s = function () {
return this ? this : "undefined" != typeof window ? window : void 0 !== s ? s : "undefined" != typeof self ? self : Function("return this")()
}.call(null), n = o(50684);
i.object.extend(proto, n), i.exportSymbol("proto.webcast.im.FireworkMultiMessage", null, s), proto.webcast.im.FireworkMultiMessage = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, i.inherits(proto.webcast.im.FireworkMultiMessage, r.Message), i.DEBUG && !COMPILED && (proto.webcast.im.FireworkMultiMessage.displayName = "proto.webcast.im.FireworkMultiMessage"), r.Message.GENERATE_TO_OBJECT && (proto.webcast.im.FireworkMultiMessage.prototype.toObject = function (e) {
return proto.webcast.im.FireworkMultiMessage.toObject(e, this)
}, proto.webcast.im.FireworkMultiMessage.toObject = function (e, t) {
var o, r = {common: (o = t.getCommon()) && n.Common.toObject(e, o), bizMsg: t.getBizMsg_asB64()};
return e && (r.$jspbMessageInstance = t), r
}), proto.webcast.im.FireworkMultiMessage.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), o = new proto.webcast.im.FireworkMultiMessage;
return proto.webcast.im.FireworkMultiMessage.deserializeBinaryFromReader(o, t)
}, proto.webcast.im.FireworkMultiMessage.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var o = new n.Common;
t.readMessage(o, n.Common.deserializeBinaryFromReader), e.setCommon(o);
break;
case 2:
o = t.readBytes();
e.setBizMsg(o);
break;
default:
t.skipField()
}
}
return e
}, proto.webcast.im.FireworkMultiMessage.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.im.FireworkMultiMessage.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.im.FireworkMultiMessage.serializeBinaryToWriter = function (e, t) {
var o = undefined;
null != (o = e.getCommon()) && t.writeMessage(1, o, n.Common.serializeBinaryToWriter), (o = e.getBizMsg_asU8()).length > 0 && t.writeBytes(2, o)
}, proto.webcast.im.FireworkMultiMessage.prototype.getCommon = function () {
return r.Message.getWrapperField(this, n.Common, 1)
}, proto.webcast.im.FireworkMultiMessage.prototype.setCommon = function (e) {
return r.Message.setWrapperField(this, 1, e)
}, proto.webcast.im.FireworkMultiMessage.prototype.clearCommon = function () {
return this.setCommon(undefined)
}, proto.webcast.im.FireworkMultiMessage.prototype.hasCommon = function () {
return null != r.Message.getField(this, 1)
}, proto.webcast.im.FireworkMultiMessage.prototype.getBizMsg = function () {
return r.Message.getFieldWithDefault(this, 2, "")
}, proto.webcast.im.FireworkMultiMessage.prototype.getBizMsg_asB64 = function () {
return r.Message.bytesAsB64(this.getBizMsg())
}, proto.webcast.im.FireworkMultiMessage.prototype.getBizMsg_asU8 = function () {
return r.Message.bytesAsU8(this.getBizMsg())
}, proto.webcast.im.FireworkMultiMessage.prototype.setBizMsg = function (e) {
return r.Message.setProto3BytesField(this, 2, e)
}, i.object.extend(t, proto.webcast.im)
}, 12862: function (e, t, o) {
var r = o(47865), i = r, s = function () {
return this ? this : "undefined" != typeof window ? window : void 0 !== s ? s : "undefined" != typeof self ? self : Function("return this")()
}.call(null), n = o(50684);
i.object.extend(proto, n);
var a = o(58440);
i.object.extend(proto, a), i.exportSymbol("proto.webcast.im.GameCPAnchorPromoteInfoMessage", null, s), i.exportSymbol("proto.webcast.im.SimpleGameInfo", null, s), proto.webcast.im.GameCPAnchorPromoteInfoMessage = function (e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.im.GameCPAnchorPromoteInfoMessage.repeatedFields_, null)
}, i.inherits(proto.webcast.im.GameCPAnchorPromoteInfoMessage, r.Message), i.DEBUG && !COMPILED && (proto.webcast.im.GameCPAnchorPromoteInfoMessage.displayName = "proto.webcast.im.GameCPAnchorPromoteInfoMessage"), proto.webcast.im.SimpleGameInfo = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, i.inherits(proto.webcast.im.SimpleGameInfo, r.Message), i.DEBUG && !COMPILED && (proto.webcast.im.SimpleGameInfo.displayName = "proto.webcast.im.SimpleGameInfo"), proto.webcast.im.GameCPAnchorPromoteInfoMessage.repeatedFields_ = [2], r.Message.GENERATE_TO_OBJECT && (proto.webcast.im.GameCPAnchorPromoteInfoMessage.prototype.toObject = function (e) {
return proto.webcast.im.GameCPAnchorPromoteInfoMessage.toObject(e, this)
}, proto.webcast.im.GameCPAnchorPromoteInfoMessage.toObject = function (e, t) {
var o, i = {
common: (o = t.getCommon()) && n.Common.toObject(e, o),
gameInfoList: r.Message.toObjectList(t.getGameInfoList(), proto.webcast.im.SimpleGameInfo.toObject, e)
};
return e && (i.$jspbMessageInstance = t), i
}), proto.webcast.im.GameCPAnchorPromoteInfoMessage.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), o = new proto.webcast.im.GameCPAnchorPromoteInfoMessage;
return proto.webcast.im.GameCPAnchorPromoteInfoMessage.deserializeBinaryFromReader(o, t)
}, proto.webcast.im.GameCPAnchorPromoteInfoMessage.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var o = new n.Common;
t.readMessage(o, n.Common.deserializeBinaryFromReader), e.setCommon(o);
break;
case 2:
o = new proto.webcast.im.SimpleGameInfo;
t.readMessage(o, proto.webcast.im.SimpleGameInfo.deserializeBinaryFromReader), e.addGameInfo(o);
break;
default:
t.skipField()
}
}
return e
}, proto.webcast.im.GameCPAnchorPromoteInfoMessage.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.im.GameCPAnchorPromoteInfoMessage.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.im.GameCPAnchorPromoteInfoMessage.serializeBinaryToWriter = function (e, t) {
var o = undefined;
null != (o = e.getCommon()) && t.writeMessage(1, o, n.Common.serializeBinaryToWriter), (o = e.getGameInfoList()).length > 0 && t.writeRepeatedMessage(2, o, proto.webcast.im.SimpleGameInfo.serializeBinaryToWriter)
}, proto.webcast.im.GameCPAnchorPromoteInfoMessage.prototype.getCommon = function () {
return r.Message.getWrapperField(this, n.Common, 1)
}, proto.webcast.im.GameCPAnchorPromoteInfoMessage.prototype.setCommon = function (e) {
return r.Message.setWrapperField(this, 1, e)
}, proto.webcast.im.GameCPAnchorPromoteInfoMessage.prototype.clearCommon = function () {
return this.setCommon(undefined)
}, proto.webcast.im.GameCPAnchorPromoteInfoMessage.prototype.hasCommon = function () {
return null != r.Message.getField(this, 1)
}, proto.webcast.im.GameCPAnchorPromoteInfoMessage.prototype.getGameInfoList = function () {
return r.Message.getRepeatedWrapperField(this, proto.webcast.im.SimpleGameInfo, 2)
}, proto.webcast.im.GameCPAnchorPromoteInfoMessage.prototype.setGameInfoList = function (e) {
return r.Message.setRepeatedWrapperField(this, 2, e)
}, proto.webcast.im.GameCPAnchorPromoteInfoMessage.prototype.addGameInfo = function (e, t) {
return r.Message.addToRepeatedWrapperField(this, 2, e, proto.webcast.im.SimpleGameInfo, t)
}, proto.webcast.im.GameCPAnchorPromoteInfoMessage.prototype.clearGameInfoList = function () {
return this.setGameInfoList([])
}, r.Message.GENERATE_TO_OBJECT && (proto.webcast.im.SimpleGameInfo.prototype.toObject = function (e) {
return proto.webcast.im.SimpleGameInfo.toObject(e, this)
}, proto.webcast.im.SimpleGameInfo.toObject = function (e, t) {
var o = {
gameId: r.Message.getFieldWithDefault(t, 1, ""),
stage: r.Message.getFieldWithDefault(t, 2, 0),
bizType: r.Message.getFieldWithDefault(t, 3, 0),
bizId: r.Message.getFieldWithDefault(t, 4, ""),
bizMode: r.Message.getFieldWithDefault(t, 5, ""),
bizExtra: r.Message.getFieldWithDefault(t, 6, ""),
gameAttr: r.Message.getFieldWithDefault(t, 7, ""),
componentExtra: r.Message.getFieldWithDefault(t, 8, "")
};
return e && (o.$jspbMessageInstance = t), o
}), proto.webcast.im.SimpleGameInfo.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), o = new proto.webcast.im.SimpleGameInfo;
return proto.webcast.im.SimpleGameInfo.deserializeBinaryFromReader(o, t)
}, proto.webcast.im.SimpleGameInfo.deserializeBinaryFromReader = function (e, t) {