forked from freeloop4032/douyin-live
-
Notifications
You must be signed in to change notification settings - Fork 0
/
4.js
5960 lines (5960 loc) · 410 KB
/
4.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([[6384], {
99222: function (e, t, a) {
var r = a(47865), o = r, s = function () {
return this ? this : "undefined" != typeof window ? window : void 0 !== s ? s : "undefined" != typeof self ? self : Function("return this")()
}.call(null), i = a(64925);
o.object.extend(proto, i);
var n = a(8411);
o.object.extend(proto, n), o.exportSymbol("proto.webcast.data.CombinedText", null, s), o.exportSymbol("proto.webcast.data.ComboInfo", null, s), o.exportSymbol("proto.webcast.data.DisplayItem", null, s), o.exportSymbol("proto.webcast.data.DisplayItemType", null, s), o.exportSymbol("proto.webcast.data.ImagesDispStyle", null, s), o.exportSymbol("proto.webcast.data.ImagesItem", null, s), o.exportSymbol("proto.webcast.data.PatternRef", null, s), o.exportSymbol("proto.webcast.data.SchemaInfo", null, s), o.exportSymbol("proto.webcast.data.Text", null, s), o.exportSymbol("proto.webcast.data.TextFormat", null, s), o.exportSymbol("proto.webcast.data.TextItem", null, s), o.exportSymbol("proto.webcast.data.TextPiece", null, s), o.exportSymbol("proto.webcast.data.TextPieceGift", null, s), o.exportSymbol("proto.webcast.data.TextPieceHeart", null, s), o.exportSymbol("proto.webcast.data.TextPieceImage", null, s), o.exportSymbol("proto.webcast.data.TextPiecePatternRef", null, s), o.exportSymbol("proto.webcast.data.TextPieceUser", null, s), proto.webcast.data.PatternRef = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.PatternRef, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.PatternRef.displayName = "proto.webcast.data.PatternRef"), proto.webcast.data.TextFormat = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.TextFormat, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.TextFormat.displayName = "proto.webcast.data.TextFormat"), proto.webcast.data.TextPieceUser = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.TextPieceUser, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.TextPieceUser.displayName = "proto.webcast.data.TextPieceUser"), proto.webcast.data.TextPieceGift = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.TextPieceGift, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.TextPieceGift.displayName = "proto.webcast.data.TextPieceGift"), proto.webcast.data.TextPieceHeart = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.TextPieceHeart, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.TextPieceHeart.displayName = "proto.webcast.data.TextPieceHeart"), proto.webcast.data.TextPiecePatternRef = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.TextPiecePatternRef, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.TextPiecePatternRef.displayName = "proto.webcast.data.TextPiecePatternRef"), proto.webcast.data.TextPieceImage = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.TextPieceImage, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.TextPieceImage.displayName = "proto.webcast.data.TextPieceImage"), proto.webcast.data.TextPiece = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.TextPiece, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.TextPiece.displayName = "proto.webcast.data.TextPiece"), proto.webcast.data.Text = function (e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.Text.repeatedFields_, null)
}, o.inherits(proto.webcast.data.Text, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.Text.displayName = "proto.webcast.data.Text"), proto.webcast.data.CombinedText = function (e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.CombinedText.repeatedFields_, null)
}, o.inherits(proto.webcast.data.CombinedText, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.CombinedText.displayName = "proto.webcast.data.CombinedText"), proto.webcast.data.DisplayItem = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.DisplayItem, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.DisplayItem.displayName = "proto.webcast.data.DisplayItem"), proto.webcast.data.ImagesItem = function (e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.ImagesItem.repeatedFields_, null)
}, o.inherits(proto.webcast.data.ImagesItem, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.ImagesItem.displayName = "proto.webcast.data.ImagesItem"), proto.webcast.data.TextItem = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.TextItem, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.TextItem.displayName = "proto.webcast.data.TextItem"), proto.webcast.data.SchemaInfo = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.SchemaInfo, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.SchemaInfo.displayName = "proto.webcast.data.SchemaInfo"), proto.webcast.data.ComboInfo = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.ComboInfo, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.ComboInfo.displayName = "proto.webcast.data.ComboInfo"), r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.PatternRef.prototype.toObject = function (e) {
return proto.webcast.data.PatternRef.toObject(e, this)
}, proto.webcast.data.PatternRef.toObject = function (e, t) {
var a = {
key: r.Message.getFieldWithDefault(t, 1, ""),
defaultPattern: r.Message.getFieldWithDefault(t, 2, "")
};
return e && (a.$jspbMessageInstance = t), a
}), proto.webcast.data.PatternRef.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), a = new proto.webcast.data.PatternRef;
return proto.webcast.data.PatternRef.deserializeBinaryFromReader(a, t)
}, proto.webcast.data.PatternRef.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setKey(a);
break;
case 2:
a = t.readString();
e.setDefaultPattern(a);
break;
default:
t.skipField()
}
}
return e
}, proto.webcast.data.PatternRef.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.data.PatternRef.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.data.PatternRef.serializeBinaryToWriter = function (e, t) {
var a = undefined;
(a = e.getKey()).length > 0 && t.writeString(1, a), (a = e.getDefaultPattern()).length > 0 && t.writeString(2, a)
}, proto.webcast.data.PatternRef.prototype.getKey = function () {
return r.Message.getFieldWithDefault(this, 1, "")
}, proto.webcast.data.PatternRef.prototype.setKey = function (e) {
return r.Message.setProto3StringField(this, 1, e)
}, proto.webcast.data.PatternRef.prototype.getDefaultPattern = function () {
return r.Message.getFieldWithDefault(this, 2, "")
}, proto.webcast.data.PatternRef.prototype.setDefaultPattern = function (e) {
return r.Message.setProto3StringField(this, 2, e)
}, r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.TextFormat.prototype.toObject = function (e) {
return proto.webcast.data.TextFormat.toObject(e, this)
}, proto.webcast.data.TextFormat.toObject = function (e, t) {
var a = {
color: r.Message.getFieldWithDefault(t, 1, ""),
bold: r.Message.getBooleanFieldWithDefault(t, 2, !1),
italic: r.Message.getBooleanFieldWithDefault(t, 3, !1),
weight: r.Message.getFieldWithDefault(t, 4, 0),
italicAngle: r.Message.getFieldWithDefault(t, 5, 0),
fontSize: r.Message.getFieldWithDefault(t, 6, 0),
useHeighLightColor: r.Message.getBooleanFieldWithDefault(t, 7, !1),
useRemoteClor: r.Message.getBooleanFieldWithDefault(t, 8, !1)
};
return e && (a.$jspbMessageInstance = t), a
}), proto.webcast.data.TextFormat.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), a = new proto.webcast.data.TextFormat;
return proto.webcast.data.TextFormat.deserializeBinaryFromReader(a, t)
}, proto.webcast.data.TextFormat.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setColor(a);
break;
case 2:
a = t.readBool();
e.setBold(a);
break;
case 3:
a = t.readBool();
e.setItalic(a);
break;
case 4:
a = t.readInt32();
e.setWeight(a);
break;
case 5:
a = t.readInt32();
e.setItalicAngle(a);
break;
case 6:
a = t.readInt32();
e.setFontSize(a);
break;
case 7:
a = t.readBool();
e.setUseHeighLightColor(a);
break;
case 8:
a = t.readBool();
e.setUseRemoteClor(a);
break;
default:
t.skipField()
}
}
return e
}, proto.webcast.data.TextFormat.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.data.TextFormat.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.data.TextFormat.serializeBinaryToWriter = function (e, t) {
var a = undefined;
(a = e.getColor()).length > 0 && t.writeString(1, a), (a = e.getBold()) && t.writeBool(2, a), (a = e.getItalic()) && t.writeBool(3, a), 0 !== (a = e.getWeight()) && t.writeInt32(4, a), 0 !== (a = e.getItalicAngle()) && t.writeInt32(5, a), 0 !== (a = e.getFontSize()) && t.writeInt32(6, a), (a = e.getUseHeighLightColor()) && t.writeBool(7, a), (a = e.getUseRemoteClor()) && t.writeBool(8, a)
}, proto.webcast.data.TextFormat.prototype.getColor = function () {
return r.Message.getFieldWithDefault(this, 1, "")
}, proto.webcast.data.TextFormat.prototype.setColor = function (e) {
return r.Message.setProto3StringField(this, 1, e)
}, proto.webcast.data.TextFormat.prototype.getBold = function () {
return r.Message.getBooleanFieldWithDefault(this, 2, !1)
}, proto.webcast.data.TextFormat.prototype.setBold = function (e) {
return r.Message.setProto3BooleanField(this, 2, e)
}, proto.webcast.data.TextFormat.prototype.getItalic = function () {
return r.Message.getBooleanFieldWithDefault(this, 3, !1)
}, proto.webcast.data.TextFormat.prototype.setItalic = function (e) {
return r.Message.setProto3BooleanField(this, 3, e)
}, proto.webcast.data.TextFormat.prototype.getWeight = function () {
return r.Message.getFieldWithDefault(this, 4, 0)
}, proto.webcast.data.TextFormat.prototype.setWeight = function (e) {
return r.Message.setProto3IntField(this, 4, e)
}, proto.webcast.data.TextFormat.prototype.getItalicAngle = function () {
return r.Message.getFieldWithDefault(this, 5, 0)
}, proto.webcast.data.TextFormat.prototype.setItalicAngle = function (e) {
return r.Message.setProto3IntField(this, 5, e)
}, proto.webcast.data.TextFormat.prototype.getFontSize = function () {
return r.Message.getFieldWithDefault(this, 6, 0)
}, proto.webcast.data.TextFormat.prototype.setFontSize = function (e) {
return r.Message.setProto3IntField(this, 6, e)
}, proto.webcast.data.TextFormat.prototype.getUseHeighLightColor = function () {
return r.Message.getBooleanFieldWithDefault(this, 7, !1)
}, proto.webcast.data.TextFormat.prototype.setUseHeighLightColor = function (e) {
return r.Message.setProto3BooleanField(this, 7, e)
}, proto.webcast.data.TextFormat.prototype.getUseRemoteClor = function () {
return r.Message.getBooleanFieldWithDefault(this, 8, !1)
}, proto.webcast.data.TextFormat.prototype.setUseRemoteClor = function (e) {
return r.Message.setProto3BooleanField(this, 8, e)
}, r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.TextPieceUser.prototype.toObject = function (e) {
return proto.webcast.data.TextPieceUser.toObject(e, this)
}, proto.webcast.data.TextPieceUser.toObject = function (e, t) {
var a, o = {
user: (a = t.getUser()) && i.User.toObject(e, a),
withColon: r.Message.getBooleanFieldWithDefault(t, 2, !1)
};
return e && (o.$jspbMessageInstance = t), o
}), proto.webcast.data.TextPieceUser.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), a = new proto.webcast.data.TextPieceUser;
return proto.webcast.data.TextPieceUser.deserializeBinaryFromReader(a, t)
}, proto.webcast.data.TextPieceUser.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var a = new i.User;
t.readMessage(a, i.User.deserializeBinaryFromReader), e.setUser(a);
break;
case 2:
a = t.readBool();
e.setWithColon(a);
break;
default:
t.skipField()
}
}
return e
}, proto.webcast.data.TextPieceUser.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.data.TextPieceUser.serializeBinaryToWriter(this, e), e.getResultBuffer()
}, proto.webcast.data.TextPieceUser.serializeBinaryToWriter = function (e, t) {
var a = undefined;
null != (a = e.getUser()) && t.writeMessage(1, a, i.User.serializeBinaryToWriter), (a = e.getWithColon()) && t.writeBool(2, a)
}, proto.webcast.data.TextPieceUser.prototype.getUser = function () {
return r.Message.getWrapperField(this, i.User, 1)
}, proto.webcast.data.TextPieceUser.prototype.setUser = function (e) {
return r.Message.setWrapperField(this, 1, e)
}, proto.webcast.data.TextPieceUser.prototype.clearUser = function () {
return this.setUser(undefined)
},proto.webcast.data.TextPieceUser.prototype.hasUser = function () {
return null != r.Message.getField(this, 1)
},proto.webcast.data.TextPieceUser.prototype.getWithColon = function () {
return r.Message.getBooleanFieldWithDefault(this, 2, !1)
},proto.webcast.data.TextPieceUser.prototype.setWithColon = function (e) {
return r.Message.setProto3BooleanField(this, 2, e)
},r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.TextPieceGift.prototype.toObject = function (e) {
return proto.webcast.data.TextPieceGift.toObject(e, this)
}, proto.webcast.data.TextPieceGift.toObject = function (e, t) {
var a, o = {
giftId: r.Message.getFieldWithDefault(t, 1, "0"),
nameRef: (a = t.getNameRef()) && proto.webcast.data.PatternRef.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t), o
}),proto.webcast.data.TextPieceGift.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), a = new proto.webcast.data.TextPieceGift;
return proto.webcast.data.TextPieceGift.deserializeBinaryFromReader(a, t)
},proto.webcast.data.TextPieceGift.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setGiftId(a);
break;
case 2:
a = new proto.webcast.data.PatternRef;
t.readMessage(a, proto.webcast.data.PatternRef.deserializeBinaryFromReader), e.setNameRef(a);
break;
default:
t.skipField()
}
}
return e
},proto.webcast.data.TextPieceGift.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.data.TextPieceGift.serializeBinaryToWriter(this, e), e.getResultBuffer()
},proto.webcast.data.TextPieceGift.serializeBinaryToWriter = function (e, t) {
var a = undefined;
a = e.getGiftId(), 0 !== parseInt(a, 10) && t.writeInt64String(1, a), null != (a = e.getNameRef()) && t.writeMessage(2, a, proto.webcast.data.PatternRef.serializeBinaryToWriter)
},proto.webcast.data.TextPieceGift.prototype.getGiftId = function () {
return r.Message.getFieldWithDefault(this, 1, "0")
},proto.webcast.data.TextPieceGift.prototype.setGiftId = function (e) {
return r.Message.setProto3StringIntField(this, 1, e)
},proto.webcast.data.TextPieceGift.prototype.getNameRef = function () {
return r.Message.getWrapperField(this, proto.webcast.data.PatternRef, 2)
},proto.webcast.data.TextPieceGift.prototype.setNameRef = function (e) {
return r.Message.setWrapperField(this, 2, e)
},proto.webcast.data.TextPieceGift.prototype.clearNameRef = function () {
return this.setNameRef(undefined)
},proto.webcast.data.TextPieceGift.prototype.hasNameRef = function () {
return null != r.Message.getField(this, 2)
},r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.TextPieceHeart.prototype.toObject = function (e) {
return proto.webcast.data.TextPieceHeart.toObject(e, this)
}, proto.webcast.data.TextPieceHeart.toObject = function (e, t) {
var a = {color: r.Message.getFieldWithDefault(t, 1, "")};
return e && (a.$jspbMessageInstance = t), a
}),proto.webcast.data.TextPieceHeart.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), a = new proto.webcast.data.TextPieceHeart;
return proto.webcast.data.TextPieceHeart.deserializeBinaryFromReader(a, t)
},proto.webcast.data.TextPieceHeart.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
if (1 === t.getFieldNumber()) {
var a = t.readString();
e.setColor(a)
} else t.skipField()
}
return e
},proto.webcast.data.TextPieceHeart.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.data.TextPieceHeart.serializeBinaryToWriter(this, e), e.getResultBuffer()
},proto.webcast.data.TextPieceHeart.serializeBinaryToWriter = function (e, t) {
var a = undefined;
(a = e.getColor()).length > 0 && t.writeString(1, a)
},proto.webcast.data.TextPieceHeart.prototype.getColor = function () {
return r.Message.getFieldWithDefault(this, 1, "")
},proto.webcast.data.TextPieceHeart.prototype.setColor = function (e) {
return r.Message.setProto3StringField(this, 1, e)
},r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.TextPiecePatternRef.prototype.toObject = function (e) {
return proto.webcast.data.TextPiecePatternRef.toObject(e, this)
}, proto.webcast.data.TextPiecePatternRef.toObject = function (e, t) {
var a = {
key: r.Message.getFieldWithDefault(t, 1, ""),
defaultPattern: r.Message.getFieldWithDefault(t, 2, "")
};
return e && (a.$jspbMessageInstance = t), a
}),proto.webcast.data.TextPiecePatternRef.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), a = new proto.webcast.data.TextPiecePatternRef;
return proto.webcast.data.TextPiecePatternRef.deserializeBinaryFromReader(a, t)
},proto.webcast.data.TextPiecePatternRef.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setKey(a);
break;
case 2:
a = t.readString();
e.setDefaultPattern(a);
break;
default:
t.skipField()
}
}
return e
},proto.webcast.data.TextPiecePatternRef.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.data.TextPiecePatternRef.serializeBinaryToWriter(this, e), e.getResultBuffer()
},proto.webcast.data.TextPiecePatternRef.serializeBinaryToWriter = function (e, t) {
var a = undefined;
(a = e.getKey()).length > 0 && t.writeString(1, a), (a = e.getDefaultPattern()).length > 0 && t.writeString(2, a)
},proto.webcast.data.TextPiecePatternRef.prototype.getKey = function () {
return r.Message.getFieldWithDefault(this, 1, "")
},proto.webcast.data.TextPiecePatternRef.prototype.setKey = function (e) {
return r.Message.setProto3StringField(this, 1, e)
},proto.webcast.data.TextPiecePatternRef.prototype.getDefaultPattern = function () {
return r.Message.getFieldWithDefault(this, 2, "")
},proto.webcast.data.TextPiecePatternRef.prototype.setDefaultPattern = function (e) {
return r.Message.setProto3StringField(this, 2, e)
},r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.TextPieceImage.prototype.toObject = function (e) {
return proto.webcast.data.TextPieceImage.toObject(e, this)
}, proto.webcast.data.TextPieceImage.toObject = function (e, t) {
var a, o = {
image: (a = t.getImage()) && n.Image.toObject(e, a),
scalingRate: r.Message.getFloatingPointFieldWithDefault(t, 2, 0)
};
return e && (o.$jspbMessageInstance = t), o
}),proto.webcast.data.TextPieceImage.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), a = new proto.webcast.data.TextPieceImage;
return proto.webcast.data.TextPieceImage.deserializeBinaryFromReader(a, t)
},proto.webcast.data.TextPieceImage.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var a = new n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader), e.setImage(a);
break;
case 2:
a = t.readFloat();
e.setScalingRate(a);
break;
default:
t.skipField()
}
}
return e
},proto.webcast.data.TextPieceImage.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.data.TextPieceImage.serializeBinaryToWriter(this, e), e.getResultBuffer()
},proto.webcast.data.TextPieceImage.serializeBinaryToWriter = function (e, t) {
var a = undefined;
null != (a = e.getImage()) && t.writeMessage(1, a, n.Image.serializeBinaryToWriter), 0 !== (a = e.getScalingRate()) && t.writeFloat(2, a)
},proto.webcast.data.TextPieceImage.prototype.getImage = function () {
return r.Message.getWrapperField(this, n.Image, 1)
},proto.webcast.data.TextPieceImage.prototype.setImage = function (e) {
return r.Message.setWrapperField(this, 1, e)
},proto.webcast.data.TextPieceImage.prototype.clearImage = function () {
return this.setImage(undefined)
},proto.webcast.data.TextPieceImage.prototype.hasImage = function () {
return null != r.Message.getField(this, 1)
},proto.webcast.data.TextPieceImage.prototype.getScalingRate = function () {
return r.Message.getFloatingPointFieldWithDefault(this, 2, 0)
},proto.webcast.data.TextPieceImage.prototype.setScalingRate = function (e) {
return r.Message.setProto3FloatField(this, 2, e)
},r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.TextPiece.prototype.toObject = function (e) {
return proto.webcast.data.TextPiece.toObject(e, this)
}, proto.webcast.data.TextPiece.toObject = function (e, t) {
var a, o = {
type: r.Message.getFieldWithDefault(t, 1, 0),
format: (a = t.getFormat()) && proto.webcast.data.TextFormat.toObject(e, a),
stringValue: r.Message.getFieldWithDefault(t, 11, ""),
userValue: (a = t.getUserValue()) && proto.webcast.data.TextPieceUser.toObject(e, a),
giftValue: (a = t.getGiftValue()) && proto.webcast.data.TextPieceGift.toObject(e, a),
heartValue: (a = t.getHeartValue()) && proto.webcast.data.TextPieceHeart.toObject(e, a),
patternRefValue: (a = t.getPatternRefValue()) && proto.webcast.data.TextPiecePatternRef.toObject(e, a),
imageValue: (a = t.getImageValue()) && proto.webcast.data.TextPieceImage.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t), o
}),proto.webcast.data.TextPiece.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), a = new proto.webcast.data.TextPiece;
return proto.webcast.data.TextPiece.deserializeBinaryFromReader(a, t)
},proto.webcast.data.TextPiece.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt32();
e.setType(a);
break;
case 2:
a = new proto.webcast.data.TextFormat;
t.readMessage(a, proto.webcast.data.TextFormat.deserializeBinaryFromReader), e.setFormat(a);
break;
case 11:
a = t.readString();
e.setStringValue(a);
break;
case 21:
a = new proto.webcast.data.TextPieceUser;
t.readMessage(a, proto.webcast.data.TextPieceUser.deserializeBinaryFromReader), e.setUserValue(a);
break;
case 22:
a = new proto.webcast.data.TextPieceGift;
t.readMessage(a, proto.webcast.data.TextPieceGift.deserializeBinaryFromReader), e.setGiftValue(a);
break;
case 23:
a = new proto.webcast.data.TextPieceHeart;
t.readMessage(a, proto.webcast.data.TextPieceHeart.deserializeBinaryFromReader), e.setHeartValue(a);
break;
case 24:
a = new proto.webcast.data.TextPiecePatternRef;
t.readMessage(a, proto.webcast.data.TextPiecePatternRef.deserializeBinaryFromReader), e.setPatternRefValue(a);
break;
case 25:
a = new proto.webcast.data.TextPieceImage;
t.readMessage(a, proto.webcast.data.TextPieceImage.deserializeBinaryFromReader), e.setImageValue(a);
break;
default:
t.skipField()
}
}
return e
},proto.webcast.data.TextPiece.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.data.TextPiece.serializeBinaryToWriter(this, e), e.getResultBuffer()
},proto.webcast.data.TextPiece.serializeBinaryToWriter = function (e, t) {
var a = undefined;
0 !== (a = e.getType()) && t.writeInt32(1, a), null != (a = e.getFormat()) && t.writeMessage(2, a, proto.webcast.data.TextFormat.serializeBinaryToWriter), (a = e.getStringValue()).length > 0 && t.writeString(11, a), null != (a = e.getUserValue()) && t.writeMessage(21, a, proto.webcast.data.TextPieceUser.serializeBinaryToWriter), null != (a = e.getGiftValue()) && t.writeMessage(22, a, proto.webcast.data.TextPieceGift.serializeBinaryToWriter), null != (a = e.getHeartValue()) && t.writeMessage(23, a, proto.webcast.data.TextPieceHeart.serializeBinaryToWriter), null != (a = e.getPatternRefValue()) && t.writeMessage(24, a, proto.webcast.data.TextPiecePatternRef.serializeBinaryToWriter), null != (a = e.getImageValue()) && t.writeMessage(25, a, proto.webcast.data.TextPieceImage.serializeBinaryToWriter)
},proto.webcast.data.TextPiece.prototype.getType = function () {
return r.Message.getFieldWithDefault(this, 1, 0)
},proto.webcast.data.TextPiece.prototype.setType = function (e) {
return r.Message.setProto3IntField(this, 1, e)
},proto.webcast.data.TextPiece.prototype.getFormat = function () {
return r.Message.getWrapperField(this, proto.webcast.data.TextFormat, 2)
},proto.webcast.data.TextPiece.prototype.setFormat = function (e) {
return r.Message.setWrapperField(this, 2, e)
},proto.webcast.data.TextPiece.prototype.clearFormat = function () {
return this.setFormat(undefined)
},proto.webcast.data.TextPiece.prototype.hasFormat = function () {
return null != r.Message.getField(this, 2)
},proto.webcast.data.TextPiece.prototype.getStringValue = function () {
return r.Message.getFieldWithDefault(this, 11, "")
},proto.webcast.data.TextPiece.prototype.setStringValue = function (e) {
return r.Message.setProto3StringField(this, 11, e)
},proto.webcast.data.TextPiece.prototype.getUserValue = function () {
return r.Message.getWrapperField(this, proto.webcast.data.TextPieceUser, 21)
},proto.webcast.data.TextPiece.prototype.setUserValue = function (e) {
return r.Message.setWrapperField(this, 21, e)
},proto.webcast.data.TextPiece.prototype.clearUserValue = function () {
return this.setUserValue(undefined)
},proto.webcast.data.TextPiece.prototype.hasUserValue = function () {
return null != r.Message.getField(this, 21)
},proto.webcast.data.TextPiece.prototype.getGiftValue = function () {
return r.Message.getWrapperField(this, proto.webcast.data.TextPieceGift, 22)
},proto.webcast.data.TextPiece.prototype.setGiftValue = function (e) {
return r.Message.setWrapperField(this, 22, e)
},proto.webcast.data.TextPiece.prototype.clearGiftValue = function () {
return this.setGiftValue(undefined)
},proto.webcast.data.TextPiece.prototype.hasGiftValue = function () {
return null != r.Message.getField(this, 22)
},proto.webcast.data.TextPiece.prototype.getHeartValue = function () {
return r.Message.getWrapperField(this, proto.webcast.data.TextPieceHeart, 23)
},proto.webcast.data.TextPiece.prototype.setHeartValue = function (e) {
return r.Message.setWrapperField(this, 23, e)
},proto.webcast.data.TextPiece.prototype.clearHeartValue = function () {
return this.setHeartValue(undefined)
},proto.webcast.data.TextPiece.prototype.hasHeartValue = function () {
return null != r.Message.getField(this, 23)
},proto.webcast.data.TextPiece.prototype.getPatternRefValue = function () {
return r.Message.getWrapperField(this, proto.webcast.data.TextPiecePatternRef, 24)
},proto.webcast.data.TextPiece.prototype.setPatternRefValue = function (e) {
return r.Message.setWrapperField(this, 24, e)
},proto.webcast.data.TextPiece.prototype.clearPatternRefValue = function () {
return this.setPatternRefValue(undefined)
},proto.webcast.data.TextPiece.prototype.hasPatternRefValue = function () {
return null != r.Message.getField(this, 24)
},proto.webcast.data.TextPiece.prototype.getImageValue = function () {
return r.Message.getWrapperField(this, proto.webcast.data.TextPieceImage, 25)
},proto.webcast.data.TextPiece.prototype.setImageValue = function (e) {
return r.Message.setWrapperField(this, 25, e)
},proto.webcast.data.TextPiece.prototype.clearImageValue = function () {
return this.setImageValue(undefined)
},proto.webcast.data.TextPiece.prototype.hasImageValue = function () {
return null != r.Message.getField(this, 25)
},proto.webcast.data.Text.repeatedFields_ = [4],r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.Text.prototype.toObject = function (e) {
return proto.webcast.data.Text.toObject(e, this)
}, proto.webcast.data.Text.toObject = function (e, t) {
var a, o = {
key: r.Message.getFieldWithDefault(t, 1, ""),
defaultPattern: r.Message.getFieldWithDefault(t, 2, ""),
defaultFormat: (a = t.getDefaultFormat()) && proto.webcast.data.TextFormat.toObject(e, a),
piecesList: r.Message.toObjectList(t.getPiecesList(), proto.webcast.data.TextPiece.toObject, e)
};
return e && (o.$jspbMessageInstance = t), o
}),proto.webcast.data.Text.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), a = new proto.webcast.data.Text;
return proto.webcast.data.Text.deserializeBinaryFromReader(a, t)
},proto.webcast.data.Text.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readString();
e.setKey(a);
break;
case 2:
a = t.readString();
e.setDefaultPattern(a);
break;
case 3:
a = new proto.webcast.data.TextFormat;
t.readMessage(a, proto.webcast.data.TextFormat.deserializeBinaryFromReader), e.setDefaultFormat(a);
break;
case 4:
a = new proto.webcast.data.TextPiece;
t.readMessage(a, proto.webcast.data.TextPiece.deserializeBinaryFromReader), e.addPieces(a);
break;
default:
t.skipField()
}
}
return e
},proto.webcast.data.Text.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.data.Text.serializeBinaryToWriter(this, e), e.getResultBuffer()
},proto.webcast.data.Text.serializeBinaryToWriter = function (e, t) {
var a = undefined;
(a = e.getKey()).length > 0 && t.writeString(1, a), (a = e.getDefaultPattern()).length > 0 && t.writeString(2, a), null != (a = e.getDefaultFormat()) && t.writeMessage(3, a, proto.webcast.data.TextFormat.serializeBinaryToWriter), (a = e.getPiecesList()).length > 0 && t.writeRepeatedMessage(4, a, proto.webcast.data.TextPiece.serializeBinaryToWriter)
},proto.webcast.data.Text.prototype.getKey = function () {
return r.Message.getFieldWithDefault(this, 1, "")
},proto.webcast.data.Text.prototype.setKey = function (e) {
return r.Message.setProto3StringField(this, 1, e)
},proto.webcast.data.Text.prototype.getDefaultPattern = function () {
return r.Message.getFieldWithDefault(this, 2, "")
},proto.webcast.data.Text.prototype.setDefaultPattern = function (e) {
return r.Message.setProto3StringField(this, 2, e)
},proto.webcast.data.Text.prototype.getDefaultFormat = function () {
return r.Message.getWrapperField(this, proto.webcast.data.TextFormat, 3)
},proto.webcast.data.Text.prototype.setDefaultFormat = function (e) {
return r.Message.setWrapperField(this, 3, e)
},proto.webcast.data.Text.prototype.clearDefaultFormat = function () {
return this.setDefaultFormat(undefined)
},proto.webcast.data.Text.prototype.hasDefaultFormat = function () {
return null != r.Message.getField(this, 3)
},proto.webcast.data.Text.prototype.getPiecesList = function () {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.TextPiece, 4)
},proto.webcast.data.Text.prototype.setPiecesList = function (e) {
return r.Message.setRepeatedWrapperField(this, 4, e)
},proto.webcast.data.Text.prototype.addPieces = function (e, t) {
return r.Message.addToRepeatedWrapperField(this, 4, e, proto.webcast.data.TextPiece, t)
},proto.webcast.data.Text.prototype.clearPiecesList = function () {
return this.setPiecesList([])
},proto.webcast.data.CombinedText.repeatedFields_ = [1],r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.CombinedText.prototype.toObject = function (e) {
return proto.webcast.data.CombinedText.toObject(e, this)
}, proto.webcast.data.CombinedText.toObject = function (e, t) {
var a, o = {
displayItemsList: r.Message.toObjectList(t.getDisplayItemsList(), proto.webcast.data.DisplayItem.toObject, e),
schemaInfo: (a = t.getSchemaInfo()) && proto.webcast.data.SchemaInfo.toObject(e, a),
comboInfo: (a = t.getComboInfo()) && proto.webcast.data.ComboInfo.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t), o
}),proto.webcast.data.CombinedText.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), a = new proto.webcast.data.CombinedText;
return proto.webcast.data.CombinedText.deserializeBinaryFromReader(a, t)
},proto.webcast.data.CombinedText.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var a = new proto.webcast.data.DisplayItem;
t.readMessage(a, proto.webcast.data.DisplayItem.deserializeBinaryFromReader), e.addDisplayItems(a);
break;
case 10:
a = new proto.webcast.data.SchemaInfo;
t.readMessage(a, proto.webcast.data.SchemaInfo.deserializeBinaryFromReader), e.setSchemaInfo(a);
break;
case 11:
a = new proto.webcast.data.ComboInfo;
t.readMessage(a, proto.webcast.data.ComboInfo.deserializeBinaryFromReader), e.setComboInfo(a);
break;
default:
t.skipField()
}
}
return e
},proto.webcast.data.CombinedText.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.data.CombinedText.serializeBinaryToWriter(this, e), e.getResultBuffer()
},proto.webcast.data.CombinedText.serializeBinaryToWriter = function (e, t) {
var a = undefined;
(a = e.getDisplayItemsList()).length > 0 && t.writeRepeatedMessage(1, a, proto.webcast.data.DisplayItem.serializeBinaryToWriter), null != (a = e.getSchemaInfo()) && t.writeMessage(10, a, proto.webcast.data.SchemaInfo.serializeBinaryToWriter), null != (a = e.getComboInfo()) && t.writeMessage(11, a, proto.webcast.data.ComboInfo.serializeBinaryToWriter)
},proto.webcast.data.CombinedText.prototype.getDisplayItemsList = function () {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.DisplayItem, 1)
},proto.webcast.data.CombinedText.prototype.setDisplayItemsList = function (e) {
return r.Message.setRepeatedWrapperField(this, 1, e)
},proto.webcast.data.CombinedText.prototype.addDisplayItems = function (e, t) {
return r.Message.addToRepeatedWrapperField(this, 1, e, proto.webcast.data.DisplayItem, t)
},proto.webcast.data.CombinedText.prototype.clearDisplayItemsList = function () {
return this.setDisplayItemsList([])
},proto.webcast.data.CombinedText.prototype.getSchemaInfo = function () {
return r.Message.getWrapperField(this, proto.webcast.data.SchemaInfo, 10)
},proto.webcast.data.CombinedText.prototype.setSchemaInfo = function (e) {
return r.Message.setWrapperField(this, 10, e)
},proto.webcast.data.CombinedText.prototype.clearSchemaInfo = function () {
return this.setSchemaInfo(undefined)
},proto.webcast.data.CombinedText.prototype.hasSchemaInfo = function () {
return null != r.Message.getField(this, 10)
},proto.webcast.data.CombinedText.prototype.getComboInfo = function () {
return r.Message.getWrapperField(this, proto.webcast.data.ComboInfo, 11)
},proto.webcast.data.CombinedText.prototype.setComboInfo = function (e) {
return r.Message.setWrapperField(this, 11, e)
},proto.webcast.data.CombinedText.prototype.clearComboInfo = function () {
return this.setComboInfo(undefined)
},proto.webcast.data.CombinedText.prototype.hasComboInfo = function () {
return null != r.Message.getField(this, 11)
},r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.DisplayItem.prototype.toObject = function (e) {
return proto.webcast.data.DisplayItem.toObject(e, this)
}, proto.webcast.data.DisplayItem.toObject = function (e, t) {
var a, o = {
displayItemType: r.Message.getFieldWithDefault(t, 1, 0),
comboFresh: r.Message.getBooleanFieldWithDefault(t, 20, !1),
schemaInfo: (a = t.getSchemaInfo()) && proto.webcast.data.SchemaInfo.toObject(e, a),
imagesItem: (a = t.getImagesItem()) && proto.webcast.data.ImagesItem.toObject(e, a),
textItem: (a = t.getTextItem()) && proto.webcast.data.TextItem.toObject(e, a)
};
return e && (o.$jspbMessageInstance = t), o
}),proto.webcast.data.DisplayItem.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), a = new proto.webcast.data.DisplayItem;
return proto.webcast.data.DisplayItem.deserializeBinaryFromReader(a, t)
},proto.webcast.data.DisplayItem.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readEnum();
e.setDisplayItemType(a);
break;
case 20:
a = t.readBool();
e.setComboFresh(a);
break;
case 21:
a = new proto.webcast.data.SchemaInfo;
t.readMessage(a, proto.webcast.data.SchemaInfo.deserializeBinaryFromReader), e.setSchemaInfo(a);
break;
case 50:
a = new proto.webcast.data.ImagesItem;
t.readMessage(a, proto.webcast.data.ImagesItem.deserializeBinaryFromReader), e.setImagesItem(a);
break;
case 51:
a = new proto.webcast.data.TextItem;
t.readMessage(a, proto.webcast.data.TextItem.deserializeBinaryFromReader), e.setTextItem(a);
break;
default:
t.skipField()
}
}
return e
},proto.webcast.data.DisplayItem.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.data.DisplayItem.serializeBinaryToWriter(this, e), e.getResultBuffer()
},proto.webcast.data.DisplayItem.serializeBinaryToWriter = function (e, t) {
var a = undefined;
0 !== (a = e.getDisplayItemType()) && t.writeEnum(1, a), (a = e.getComboFresh()) && t.writeBool(20, a), null != (a = e.getSchemaInfo()) && t.writeMessage(21, a, proto.webcast.data.SchemaInfo.serializeBinaryToWriter), null != (a = e.getImagesItem()) && t.writeMessage(50, a, proto.webcast.data.ImagesItem.serializeBinaryToWriter), null != (a = e.getTextItem()) && t.writeMessage(51, a, proto.webcast.data.TextItem.serializeBinaryToWriter)
},proto.webcast.data.DisplayItem.prototype.getDisplayItemType = function () {
return r.Message.getFieldWithDefault(this, 1, 0)
},proto.webcast.data.DisplayItem.prototype.setDisplayItemType = function (e) {
return r.Message.setProto3EnumField(this, 1, e)
},proto.webcast.data.DisplayItem.prototype.getComboFresh = function () {
return r.Message.getBooleanFieldWithDefault(this, 20, !1)
},proto.webcast.data.DisplayItem.prototype.setComboFresh = function (e) {
return r.Message.setProto3BooleanField(this, 20, e)
},proto.webcast.data.DisplayItem.prototype.getSchemaInfo = function () {
return r.Message.getWrapperField(this, proto.webcast.data.SchemaInfo, 21)
},proto.webcast.data.DisplayItem.prototype.setSchemaInfo = function (e) {
return r.Message.setWrapperField(this, 21, e)
},proto.webcast.data.DisplayItem.prototype.clearSchemaInfo = function () {
return this.setSchemaInfo(undefined)
},proto.webcast.data.DisplayItem.prototype.hasSchemaInfo = function () {
return null != r.Message.getField(this, 21)
},proto.webcast.data.DisplayItem.prototype.getImagesItem = function () {
return r.Message.getWrapperField(this, proto.webcast.data.ImagesItem, 50)
},proto.webcast.data.DisplayItem.prototype.setImagesItem = function (e) {
return r.Message.setWrapperField(this, 50, e)
},proto.webcast.data.DisplayItem.prototype.clearImagesItem = function () {
return this.setImagesItem(undefined)
},proto.webcast.data.DisplayItem.prototype.hasImagesItem = function () {
return null != r.Message.getField(this, 50)
},proto.webcast.data.DisplayItem.prototype.getTextItem = function () {
return r.Message.getWrapperField(this, proto.webcast.data.TextItem, 51)
},proto.webcast.data.DisplayItem.prototype.setTextItem = function (e) {
return r.Message.setWrapperField(this, 51, e)
},proto.webcast.data.DisplayItem.prototype.clearTextItem = function () {
return this.setTextItem(undefined)
},proto.webcast.data.DisplayItem.prototype.hasTextItem = function () {
return null != r.Message.getField(this, 51)
},proto.webcast.data.ImagesItem.repeatedFields_ = [1],r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ImagesItem.prototype.toObject = function (e) {
return proto.webcast.data.ImagesItem.toObject(e, this)
}, proto.webcast.data.ImagesItem.toObject = function (e, t) {
var a = {
imagesList: r.Message.toObjectList(t.getImagesList(), n.Image.toObject, e),
displayStyle: r.Message.getFieldWithDefault(t, 20, 0)
};
return e && (a.$jspbMessageInstance = t), a
}),proto.webcast.data.ImagesItem.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), a = new proto.webcast.data.ImagesItem;
return proto.webcast.data.ImagesItem.deserializeBinaryFromReader(a, t)
},proto.webcast.data.ImagesItem.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var a = new n.Image;
t.readMessage(a, n.Image.deserializeBinaryFromReader), e.addImages(a);
break;
case 20:
a = t.readEnum();
e.setDisplayStyle(a);
break;
default:
t.skipField()
}
}
return e
},proto.webcast.data.ImagesItem.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.data.ImagesItem.serializeBinaryToWriter(this, e), e.getResultBuffer()
},proto.webcast.data.ImagesItem.serializeBinaryToWriter = function (e, t) {
var a = undefined;
(a = e.getImagesList()).length > 0 && t.writeRepeatedMessage(1, a, n.Image.serializeBinaryToWriter), 0 !== (a = e.getDisplayStyle()) && t.writeEnum(20, a)
},proto.webcast.data.ImagesItem.prototype.getImagesList = function () {
return r.Message.getRepeatedWrapperField(this, n.Image, 1)
},proto.webcast.data.ImagesItem.prototype.setImagesList = function (e) {
return r.Message.setRepeatedWrapperField(this, 1, e)
},proto.webcast.data.ImagesItem.prototype.addImages = function (e, t) {
return r.Message.addToRepeatedWrapperField(this, 1, e, proto.webcast.data.Image, t)
},proto.webcast.data.ImagesItem.prototype.clearImagesList = function () {
return this.setImagesList([])
},proto.webcast.data.ImagesItem.prototype.getDisplayStyle = function () {
return r.Message.getFieldWithDefault(this, 20, 0)
},proto.webcast.data.ImagesItem.prototype.setDisplayStyle = function (e) {
return r.Message.setProto3EnumField(this, 20, e)
},r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.TextItem.prototype.toObject = function (e) {
return proto.webcast.data.TextItem.toObject(e, this)
}, proto.webcast.data.TextItem.toObject = function (e, t) {
var a, r = {text: (a = t.getText()) && proto.webcast.data.Text.toObject(e, a)};
return e && (r.$jspbMessageInstance = t), r
}),proto.webcast.data.TextItem.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), a = new proto.webcast.data.TextItem;
return proto.webcast.data.TextItem.deserializeBinaryFromReader(a, t)
},proto.webcast.data.TextItem.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
if (1 === t.getFieldNumber()) {
var a = new proto.webcast.data.Text;
t.readMessage(a, proto.webcast.data.Text.deserializeBinaryFromReader), e.setText(a)
} else t.skipField()
}
return e
},proto.webcast.data.TextItem.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.data.TextItem.serializeBinaryToWriter(this, e), e.getResultBuffer()
},proto.webcast.data.TextItem.serializeBinaryToWriter = function (e, t) {
var a = undefined;
null != (a = e.getText()) && t.writeMessage(1, a, proto.webcast.data.Text.serializeBinaryToWriter)
},proto.webcast.data.TextItem.prototype.getText = function () {
return r.Message.getWrapperField(this, proto.webcast.data.Text, 1)
},proto.webcast.data.TextItem.prototype.setText = function (e) {
return r.Message.setWrapperField(this, 1, e)
},proto.webcast.data.TextItem.prototype.clearText = function () {
return this.setText(undefined)
},proto.webcast.data.TextItem.prototype.hasText = function () {
return null != r.Message.getField(this, 1)
},r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.SchemaInfo.prototype.toObject = function (e) {
return proto.webcast.data.SchemaInfo.toObject(e, this)
}, proto.webcast.data.SchemaInfo.toObject = function (e, t) {
var a = {schemaUrl: r.Message.getFieldWithDefault(t, 1, "")};
return e && (a.$jspbMessageInstance = t), a
}),proto.webcast.data.SchemaInfo.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), a = new proto.webcast.data.SchemaInfo;
return proto.webcast.data.SchemaInfo.deserializeBinaryFromReader(a, t)
},proto.webcast.data.SchemaInfo.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
if (1 === t.getFieldNumber()) {
var a = t.readString();
e.setSchemaUrl(a)
} else t.skipField()
}
return e
},proto.webcast.data.SchemaInfo.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.data.SchemaInfo.serializeBinaryToWriter(this, e), e.getResultBuffer()
},proto.webcast.data.SchemaInfo.serializeBinaryToWriter = function (e, t) {
var a = undefined;
(a = e.getSchemaUrl()).length > 0 && t.writeString(1, a)
},proto.webcast.data.SchemaInfo.prototype.getSchemaUrl = function () {
return r.Message.getFieldWithDefault(this, 1, "")
},proto.webcast.data.SchemaInfo.prototype.setSchemaUrl = function (e) {
return r.Message.setProto3StringField(this, 1, e)
},r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.ComboInfo.prototype.toObject = function (e) {
return proto.webcast.data.ComboInfo.toObject(e, this)
}, proto.webcast.data.ComboInfo.toObject = function (e, t) {
var a = {
comboSeq: r.Message.getFieldWithDefault(t, 1, "0"),
comboOrder: r.Message.getFieldWithDefault(t, 2, "0")
};
return e && (a.$jspbMessageInstance = t), a
}),proto.webcast.data.ComboInfo.deserializeBinary = function (e) {
var t = new r.BinaryReader(e), a = new proto.webcast.data.ComboInfo;
return proto.webcast.data.ComboInfo.deserializeBinaryFromReader(a, t)
},proto.webcast.data.ComboInfo.deserializeBinaryFromReader = function (e, t) {
for (; t.nextField() && !t.isEndGroup();) {
switch (t.getFieldNumber()) {
case 1:
var a = t.readInt64String();
e.setComboSeq(a);
break;
case 2:
a = t.readInt64String();
e.setComboOrder(a);
break;
default:
t.skipField()
}
}
return e
},proto.webcast.data.ComboInfo.prototype.serializeBinary = function () {
var e = new r.BinaryWriter;
return proto.webcast.data.ComboInfo.serializeBinaryToWriter(this, e), e.getResultBuffer()
},proto.webcast.data.ComboInfo.serializeBinaryToWriter = function (e, t) {
var a = undefined;
a = e.getComboSeq(), 0 !== parseInt(a, 10) && t.writeInt64String(1, a), a = e.getComboOrder(), 0 !== parseInt(a, 10) && t.writeInt64String(2, a)
},proto.webcast.data.ComboInfo.prototype.getComboSeq = function () {
return r.Message.getFieldWithDefault(this, 1, "0")
},proto.webcast.data.ComboInfo.prototype.setComboSeq = function (e) {
return r.Message.setProto3StringIntField(this, 1, e)
},proto.webcast.data.ComboInfo.prototype.getComboOrder = function () {
return r.Message.getFieldWithDefault(this, 2, "0")
},proto.webcast.data.ComboInfo.prototype.setComboOrder = function (e) {
return r.Message.setProto3StringIntField(this, 2, e)
},proto.webcast.data.DisplayItemType = {
DISPLAYITEMTYPE_UNKNOWN: 0,
DISPLAYITEMTYPE_IMAGES: 1,
DISPLAYITEMTYPE_TEXTITEM: 2
},proto.webcast.data.ImagesDispStyle = {
IMAGESDISPSTYLE_UNKNOWN: 0,
IMAGESDISPSTYLE_STACK: 1
},o.object.extend(t, proto.webcast.data)
}, 64925: function (e, t, a) {
var r = a(47865), o = r, s = function () {
return this ? this : "undefined" != typeof window ? window : void 0 !== s ? s : "undefined" != typeof self ? self : Function("return this")()
}.call(null), i = a(8411);
o.object.extend(proto, i);
var n = a(15968);
o.object.extend(proto, n);
var d = a(61230);
o.object.extend(proto, d);
var c = a(25903);
o.object.extend(proto, c);
var p = a(7856);
o.object.extend(proto, p);
var l = a(56523);
o.object.extend(proto, l), o.exportSymbol("proto.webcast.data.IndustryCertification", null, s), o.exportSymbol("proto.webcast.data.IndustryCertificationProfile", null, s), o.exportSymbol("proto.webcast.data.IndustryCertificationRoom", null, s), o.exportSymbol("proto.webcast.data.IndustryCertificationRoom.RoomOwner", null, s), o.exportSymbol("proto.webcast.data.LivePushStatusEnum", null, s), o.exportSymbol("proto.webcast.data.LiveUser", null, s), o.exportSymbol("proto.webcast.data.User", null, s), o.exportSymbol("proto.webcast.data.User.ActivityInfo", null, s), o.exportSymbol("proto.webcast.data.User.AnchorInfo", null, s), o.exportSymbol("proto.webcast.data.User.AnchorLevel", null, s), o.exportSymbol("proto.webcast.data.User.AuthenticationInfo", null, s), o.exportSymbol("proto.webcast.data.User.AuthenticationInfo.AccountTypeInfo", null, s), o.exportSymbol("proto.webcast.data.User.AuthorStats", null, s), o.exportSymbol("proto.webcast.data.User.Border", null, s), o.exportSymbol("proto.webcast.data.User.BrotherhoodInfo", null, s), o.exportSymbol("proto.webcast.data.User.FansClub", null, s), o.exportSymbol("proto.webcast.data.User.FansClub.FansClubData", null, s), o.exportSymbol("proto.webcast.data.User.FansClub.FansClubData.BadgeIcon", null, s), o.exportSymbol("proto.webcast.data.User.FansClub.FansClubData.BadgeType", null, s), o.exportSymbol("proto.webcast.data.User.FansClub.FansClubData.UserBadge", null, s), o.exportSymbol("proto.webcast.data.User.FansClub.FansClubData.UserFansClubStatus", null, s), o.exportSymbol("proto.webcast.data.User.FansClub.PreferntialType", null, s), o.exportSymbol("proto.webcast.data.User.FansGroupInfo", null, s), o.exportSymbol("proto.webcast.data.User.FollowInfo", null, s), o.exportSymbol("proto.webcast.data.User.JAccreditInfo", null, s), o.exportSymbol("proto.webcast.data.User.NobleLevelInfo", null, s), o.exportSymbol("proto.webcast.data.User.OwnRoom", null, s), o.exportSymbol("proto.webcast.data.User.PayGrade", null, s), o.exportSymbol("proto.webcast.data.User.PayGrade.GradeIcon", null, s), o.exportSymbol("proto.webcast.data.User.PoiInfo", null, s), o.exportSymbol("proto.webcast.data.User.ProfileStyleParams", null, s), o.exportSymbol("proto.webcast.data.User.Subscribe", null, s), o.exportSymbol("proto.webcast.data.User.UserAttr", null, s), o.exportSymbol("proto.webcast.data.User.UserDressInfo", null, s), o.exportSymbol("proto.webcast.data.User.UserStats", null, s), o.exportSymbol("proto.webcast.data.User.XiguaParams", null, s), o.exportSymbol("proto.webcast.data.User.XiguaParams.UserExtendInfo", null, s), o.exportSymbol("proto.webcast.data.User.XiguaParams.UserExtendInfo.RocketSchema", null, s), o.exportSymbol("proto.webcast.data.WebUser", null, s), o.exportSymbol("proto.webcast.data.WebUser.FollowInfo", null, s), proto.webcast.data.User = function (e) {
r.Message.initialize(this, e, 0, 500, proto.webcast.data.User.repeatedFields_, null)
}, o.inherits(proto.webcast.data.User, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.displayName = "proto.webcast.data.User"), proto.webcast.data.User.FollowInfo = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.User.FollowInfo, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.FollowInfo.displayName = "proto.webcast.data.User.FollowInfo"), proto.webcast.data.User.PayGrade = function (e) {
r.Message.initialize(this, e, 0, 500, proto.webcast.data.User.PayGrade.repeatedFields_, null)
}, o.inherits(proto.webcast.data.User.PayGrade, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.PayGrade.displayName = "proto.webcast.data.User.PayGrade"), proto.webcast.data.User.PayGrade.GradeIcon = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.User.PayGrade.GradeIcon, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.PayGrade.GradeIcon.displayName = "proto.webcast.data.User.PayGrade.GradeIcon"), proto.webcast.data.User.FansClub = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.User.FansClub, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.FansClub.displayName = "proto.webcast.data.User.FansClub"), proto.webcast.data.User.FansClub.FansClubData = function (e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.User.FansClub.FansClubData.repeatedFields_, null)
}, o.inherits(proto.webcast.data.User.FansClub.FansClubData, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.FansClub.FansClubData.displayName = "proto.webcast.data.User.FansClub.FansClubData"), proto.webcast.data.User.FansClub.FansClubData.UserBadge = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.User.FansClub.FansClubData.UserBadge, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.FansClub.FansClubData.UserBadge.displayName = "proto.webcast.data.User.FansClub.FansClubData.UserBadge"), proto.webcast.data.User.Border = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.User.Border, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.Border.displayName = "proto.webcast.data.User.Border"), proto.webcast.data.User.UserAttr = function (e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.User.UserAttr.repeatedFields_, null)
}, o.inherits(proto.webcast.data.User.UserAttr, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.UserAttr.displayName = "proto.webcast.data.User.UserAttr"), proto.webcast.data.User.OwnRoom = function (e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.User.OwnRoom.repeatedFields_, null)
}, o.inherits(proto.webcast.data.User.OwnRoom, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.OwnRoom.displayName = "proto.webcast.data.User.OwnRoom"), proto.webcast.data.User.AnchorInfo = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.User.AnchorInfo, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.AnchorInfo.displayName = "proto.webcast.data.User.AnchorInfo"), proto.webcast.data.User.AnchorLevel = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.User.AnchorLevel, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.AnchorLevel.displayName = "proto.webcast.data.User.AnchorLevel"), proto.webcast.data.User.AuthorStats = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.User.AuthorStats, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.AuthorStats.displayName = "proto.webcast.data.User.AuthorStats"), proto.webcast.data.User.XiguaParams = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.User.XiguaParams, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.XiguaParams.displayName = "proto.webcast.data.User.XiguaParams"), proto.webcast.data.User.XiguaParams.UserExtendInfo = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.User.XiguaParams.UserExtendInfo, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.XiguaParams.UserExtendInfo.displayName = "proto.webcast.data.User.XiguaParams.UserExtendInfo"), proto.webcast.data.User.XiguaParams.UserExtendInfo.RocketSchema = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.User.XiguaParams.UserExtendInfo.RocketSchema, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.XiguaParams.UserExtendInfo.RocketSchema.displayName = "proto.webcast.data.User.XiguaParams.UserExtendInfo.RocketSchema"), proto.webcast.data.User.ActivityInfo = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.User.ActivityInfo, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.ActivityInfo.displayName = "proto.webcast.data.User.ActivityInfo"), proto.webcast.data.User.NobleLevelInfo = function (e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.User.NobleLevelInfo.repeatedFields_, null)
}, o.inherits(proto.webcast.data.User.NobleLevelInfo, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.NobleLevelInfo.displayName = "proto.webcast.data.User.NobleLevelInfo"), proto.webcast.data.User.BrotherhoodInfo = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
}, o.inherits(proto.webcast.data.User.BrotherhoodInfo, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.BrotherhoodInfo.displayName = "proto.webcast.data.User.BrotherhoodInfo"), proto.webcast.data.User.AuthenticationInfo = function (e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.User.AuthenticationInfo.repeatedFields_, null)
}, o.inherits(proto.webcast.data.User.AuthenticationInfo, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.User.AuthenticationInfo.displayName = "proto.webcast.data.User.AuthenticationInfo"),proto.webcast.data.User.AuthenticationInfo.AccountTypeInfo = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
},o.inherits(proto.webcast.data.User.AuthenticationInfo.AccountTypeInfo, r.Message),o.DEBUG && !COMPILED && (proto.webcast.data.User.AuthenticationInfo.AccountTypeInfo.displayName = "proto.webcast.data.User.AuthenticationInfo.AccountTypeInfo"),proto.webcast.data.User.PoiInfo = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
},o.inherits(proto.webcast.data.User.PoiInfo, r.Message),o.DEBUG && !COMPILED && (proto.webcast.data.User.PoiInfo.displayName = "proto.webcast.data.User.PoiInfo"),proto.webcast.data.User.FansGroupInfo = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
},o.inherits(proto.webcast.data.User.FansGroupInfo, r.Message),o.DEBUG && !COMPILED && (proto.webcast.data.User.FansGroupInfo.displayName = "proto.webcast.data.User.FansGroupInfo"),proto.webcast.data.User.JAccreditInfo = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
},o.inherits(proto.webcast.data.User.JAccreditInfo, r.Message),o.DEBUG && !COMPILED && (proto.webcast.data.User.JAccreditInfo.displayName = "proto.webcast.data.User.JAccreditInfo"),proto.webcast.data.User.Subscribe = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
},o.inherits(proto.webcast.data.User.Subscribe, r.Message),o.DEBUG && !COMPILED && (proto.webcast.data.User.Subscribe.displayName = "proto.webcast.data.User.Subscribe"),proto.webcast.data.User.ProfileStyleParams = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
},o.inherits(proto.webcast.data.User.ProfileStyleParams, r.Message),o.DEBUG && !COMPILED && (proto.webcast.data.User.ProfileStyleParams.displayName = "proto.webcast.data.User.ProfileStyleParams"),proto.webcast.data.User.UserDressInfo = function (e) {
r.Message.initialize(this, e, 0, -1, proto.webcast.data.User.UserDressInfo.repeatedFields_, null)
},o.inherits(proto.webcast.data.User.UserDressInfo, r.Message),o.DEBUG && !COMPILED && (proto.webcast.data.User.UserDressInfo.displayName = "proto.webcast.data.User.UserDressInfo"),proto.webcast.data.User.UserStats = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
},o.inherits(proto.webcast.data.User.UserStats, r.Message),o.DEBUG && !COMPILED && (proto.webcast.data.User.UserStats.displayName = "proto.webcast.data.User.UserStats"),proto.webcast.data.WebUser = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
},o.inherits(proto.webcast.data.WebUser, r.Message),o.DEBUG && !COMPILED && (proto.webcast.data.WebUser.displayName = "proto.webcast.data.WebUser"),proto.webcast.data.WebUser.FollowInfo = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
},o.inherits(proto.webcast.data.WebUser.FollowInfo, r.Message),o.DEBUG && !COMPILED && (proto.webcast.data.WebUser.FollowInfo.displayName = "proto.webcast.data.WebUser.FollowInfo"),proto.webcast.data.IndustryCertification = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
},o.inherits(proto.webcast.data.IndustryCertification, r.Message),o.DEBUG && !COMPILED && (proto.webcast.data.IndustryCertification.displayName = "proto.webcast.data.IndustryCertification"),proto.webcast.data.IndustryCertificationProfile = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
},o.inherits(proto.webcast.data.IndustryCertificationProfile, r.Message),o.DEBUG && !COMPILED && (proto.webcast.data.IndustryCertificationProfile.displayName = "proto.webcast.data.IndustryCertificationProfile"),proto.webcast.data.IndustryCertificationRoom = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
},o.inherits(proto.webcast.data.IndustryCertificationRoom, r.Message),o.DEBUG && !COMPILED && (proto.webcast.data.IndustryCertificationRoom.displayName = "proto.webcast.data.IndustryCertificationRoom"),proto.webcast.data.IndustryCertificationRoom.RoomOwner = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
},o.inherits(proto.webcast.data.IndustryCertificationRoom.RoomOwner, r.Message),o.DEBUG && !COMPILED && (proto.webcast.data.IndustryCertificationRoom.RoomOwner.displayName = "proto.webcast.data.IndustryCertificationRoom.RoomOwner"),proto.webcast.data.LiveUser = function (e) {
r.Message.initialize(this, e, 0, -1, null, null)
},o.inherits(proto.webcast.data.LiveUser, r.Message),o.DEBUG && !COMPILED && (proto.webcast.data.LiveUser.displayName = "proto.webcast.data.LiveUser"),proto.webcast.data.User.repeatedFields_ = [21, 29, 30, 45, 57, 60, 61],r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.User.prototype.toObject = function (e) {
return proto.webcast.data.User.toObject(e, this)
}, proto.webcast.data.User.toObject = function (e, t) {
var a, o = {
id: r.Message.getFieldWithDefault(t, 1, "0"),
shortId: r.Message.getFieldWithDefault(t, 2, "0"),
nickname: r.Message.getFieldWithDefault(t, 3, ""),
gender: r.Message.getFieldWithDefault(t, 4, 0),
signature: r.Message.getFieldWithDefault(t, 5, ""),
level: r.Message.getFieldWithDefault(t, 6, 0),
birthday: r.Message.getFieldWithDefault(t, 7, "0"),
telephone: r.Message.getFieldWithDefault(t, 8, ""),
avatarThumb: (a = t.getAvatarThumb()) && i.Image.toObject(e, a),
avatarMedium: (a = t.getAvatarMedium()) && i.Image.toObject(e, a),
avatarLarge: (a = t.getAvatarLarge()) && i.Image.toObject(e, a),
verified: r.Message.getBooleanFieldWithDefault(t, 12, !1),
experience: r.Message.getFieldWithDefault(t, 13, 0),
city: r.Message.getFieldWithDefault(t, 14, ""),
status: r.Message.getFieldWithDefault(t, 15, 0),
createTime: r.Message.getFieldWithDefault(t, 16, "0"),
modifyTime: r.Message.getFieldWithDefault(t, 17, "0"),
secret: r.Message.getFieldWithDefault(t, 18, 0),
shareQrcodeUri: r.Message.getFieldWithDefault(t, 19, ""),
incomeSharePercent: r.Message.getFieldWithDefault(t, 20, 0),
badgeImageListList: r.Message.toObjectList(t.getBadgeImageListList(), i.Image.toObject, e),
followInfo: (a = t.getFollowInfo()) && proto.webcast.data.User.FollowInfo.toObject(e, a),
payGrade: (a = t.getPayGrade()) && proto.webcast.data.User.PayGrade.toObject(e, a),
fansClub: (a = t.getFansClub()) && proto.webcast.data.User.FansClub.toObject(e, a),
border: (a = t.getBorder()) && proto.webcast.data.User.Border.toObject(e, a),
specialId: r.Message.getFieldWithDefault(t, 26, ""),
avatarBorder: (a = t.getAvatarBorder()) && i.Image.toObject(e, a),
medal: (a = t.getMedal()) && i.Image.toObject(e, a),
realTimeIconsList: r.Message.toObjectList(t.getRealTimeIconsList(), i.Image.toObject, e),
newRealTimeIconsList: r.Message.toObjectList(t.getNewRealTimeIconsList(), i.Image.toObject, e),
topVipNo: r.Message.getFieldWithDefault(t, 31, "0"),
userAttr: (a = t.getUserAttr()) && proto.webcast.data.User.UserAttr.toObject(e, a),
ownRoom: (a = t.getOwnRoom()) && proto.webcast.data.User.OwnRoom.toObject(e, a),
payScore: r.Message.getFieldWithDefault(t, 34, "0"),
ticketCount: r.Message.getFieldWithDefault(t, 35, "0"),
anchorInfo: (a = t.getAnchorInfo()) && proto.webcast.data.User.AnchorInfo.toObject(e, a),
linkMicStats: r.Message.getFieldWithDefault(t, 37, 0),
displayId: r.Message.getFieldWithDefault(t, 38, ""),
withCommercePermission: r.Message.getBooleanFieldWithDefault(t, 39, !1),
withFusionShopEntry: r.Message.getBooleanFieldWithDefault(t, 40, !1),
totalRechargeDiamondCount: r.Message.getFieldWithDefault(t, 41, "0"),
webcastAnchorLevel: (a = t.getWebcastAnchorLevel()) && proto.webcast.data.User.AnchorLevel.toObject(e, a),
verifiedContent: r.Message.getFieldWithDefault(t, 43, ""),
authorStats: (a = t.getAuthorStats()) && proto.webcast.data.User.AuthorStats.toObject(e, a),
topFansList: r.Message.toObjectList(t.getTopFansList(), proto.webcast.data.User.toObject, e),
secUid: r.Message.getFieldWithDefault(t, 46, ""),
userRole: r.Message.getFieldWithDefault(t, 47, 0),
xiguaInfo: (a = t.getXiguaInfo()) && proto.webcast.data.User.XiguaParams.toObject(e, a),
activityReward: (a = t.getActivityReward()) && proto.webcast.data.User.ActivityInfo.toObject(e, a),
nobleInfo: (a = t.getNobleInfo()) && proto.webcast.data.User.NobleLevelInfo.toObject(e, a),
brotherhoodInfo: (a = t.getBrotherhoodInfo()) && proto.webcast.data.User.BrotherhoodInfo.toObject(e, a),
personalCard: (a = t.getPersonalCard()) && i.Image.toObject(e, a),
authenticationInfo: (a = t.getAuthenticationInfo()) && proto.webcast.data.User.AuthenticationInfo.toObject(e, a),
authorizationInfo: r.Message.getFieldWithDefault(t, 54, 0),
adversaryAuthorizationInfo: r.Message.getFieldWithDefault(t, 55, 0),
poiInfo: (a = t.getPoiInfo()) && proto.webcast.data.User.PoiInfo.toObject(e, a),
mediaBadgeImageListList: r.Message.toObjectList(t.getMediaBadgeImageListList(), i.Image.toObject, e),
adversaryUserStatus: r.Message.getFieldWithDefault(t, 58, 0),
userVipInfo: (a = t.getUserVipInfo()) && d.UserVIPInfo.toObject(e, a),