-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathprotocol.gsd.xml
3918 lines (3424 loc) · 163 KB
/
protocol.gsd.xml
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
<?xml version="1.0" encoding="utf8"?>
<application name="lx" shareHome="../../share" pvids="100,101">
<import file="lib/gnet.xml"/>
<import file="map/map.xml"/>
<provider name="gs" pvid="100">
<protocol name="Dummy" type="18" >无用,纯粹为了引用那些不在协议中,但又被使用的bean
<variable name="generalrankinfo" type="lx.gs.rank.msg.GeneralRankInfo"/>
<variable name="findback" type="lx.gs.dailyactivity.msg.Findbacktype"/>
<variable name="familyrankinfo" type="lx.gs.rank.msg.FamilyRankInfo"/>
<variable name="equip" type="lx.gs.equip.Equip"/>
<variable name="item" type="lx.gs.item.Item"/>
<variable name="fragment" type="lx.gs.fragment.Fragment"/>
<variable name="talisman" type="lx.gs.talisman.Talisman"/>
<variable name="pet" type="lx.gs.pet.Pet"/>
</protocol>
<protocol name="SError" type="2600" >
<enum name="OK" value="0"/>
<variable name="errcode" type="int"/>
</protocol>
<protocol name="SError2">
<variable name="err" type="string"/>
</protocol>
<protocol name="STips">
<variable name="location" type="int"/> 弹出位置 see cfg.tips.LocationType
<variable name="contentid" type="int"/> tips索引,优先用这个找tips,如果id小于等于0或者策划数据里没有,就用下面的tips
<variable name="content" type="string"/> 内容,碰到括弧"{}"需要按顺序去参数列表里取参数
<variable name="param" type="vector" value="string"/> 参数
</protocol>
<protocol name="CPing">
<variable name="sendclienttime" type="long"/>
<variable name="receivedmessagecount" type="long"/>
</protocol>
<protocol name="SPing">
<variable name="sendclienttime" type="long"/>
<variable name="sendservertime" type="long"/>
<variable name="recvclienttime" type="long"/>
<variable name="sendmessagecount" type="long"/>
</protocol>
<namespace name="login">
<protocol name="CGetRoleList" type="1" />
<protocol name="SGetRoleList" type="2" >
<variable name="prevloginroleid" type="long"/>
<variable name="roles" type="vector" value="lx.gs.role.msg.RoleBrief"/>
<variable name="deleteinfo" type="map" key="long" value="long"/>
</protocol>
<protocol name="CCancelDelteRole" >
<variable name="roleid" type="long"/>
</protocol>
<protocol name="SCancelDelteRole" >
<variable name="roleid" type="long"/>
</protocol>
<protocol name="CCreateRole" type="3" >
<variable name="name" type="string"/>
<variable name="profession" type="int"/>
<variable name="gender" type="int"/>
</protocol>
<protocol name="SCreateRole" type="4" >
<variable name="err" type="int"/>
<variable name="newInfo" type="lx.gs.role.msg.RoleBrief"/>
<variable name="servertime" type="long"/>
</protocol>
<protocol name="CDeleteRole" type="5" >
<variable name="roleid" type="long"/>
</protocol>
<protocol name="SDeleteRole" type="6" >
<enum name="OK" value="0"/>
<enum name="DELETE_TOO_MANY_ROLE" value="1"/>
<enum name="ERR" value="2"/>
<variable name="err" type="int"/>
<variable name="roleid" type="long"/>
</protocol>
<bean name="RoleDetail" >
<variable name="roleid" type="long"/>
<variable name="serverid" type="int"/>
<variable name="rolename" type="string"/>
<variable name="profession" type="int"/>
<variable name="gender" type="int"/>
<variable name="level" type="int"/>
<variable name="vipexp" type="long"/>
<variable name="viplevel" type="int"/>
<variable name="familyid" type="long"/>
<variable name="currencys" type="map" key="int" value="long"/> cfg.currency.CurrencyType -> num
<variable name="combatpower" type="int"/>
<variable name="attrs" type="map" key="int" value="float"/>
<variable name="todaytotaladdmonsterexp" type="long"/>
<variable name="changenametimes" type="int"/>
<variable name="creatroletime" type="long"/>
</bean>
<protocol name="CRoleLogin" type="7" >
<variable name="roleid" type="long"/>
</protocol>
<protocol name="SRoleLogin" type="8" >
<enum name="OK" value="0"/>
<enum name="ROLEID_NOT_IN_USER" value="1"/>
<enum name="ROLEINFO_NOT_FOUND" value="2"/>
<enum name="USER_NOT_FOUND" value="3"/>
<enum name="ROLE_LOGIN_IS_FORBIDDEN" value="4"/>
<enum name="ROLE_NOT_LOGIN" value="5"/>
<enum name="SESSION_CORRUPT" value="6"/>
<enum name="TOOMANY_ONLINES_ROLE" value="7"/> 超过最大在线人数
<enum name="SERVER_LOADAVG_BUSY" value="8"/> 服务器忙,cpu利用率达到8成
<variable name="err" type="int"/>
<variable name="roledetail" type="RoleDetail"/>
<variable name="servertime" type="long"/>
<variable name="servertimezone" type="string"/>
<variable name="isservermerge" type="int"/>是否合服
<variable name="forbiddesc" type="string"/>禁止登陆描述,错误码为4时显示
</protocol>
<protocol name="SKickRole">
<variable name="desc" type="string"/>
</protocol>
<protocol name="CRoleRelogin">
<variable name="roleid" type="long"/>
<variable name="receivedmessagecount" type="long"/>
</protocol>
<protocol name="SRoleRelogin">
<variable name="err" type="int"/>
<variable name="roleid" type="long"/>
</protocol>
<protocol name="CRoleLogout" type="17" />
<protocol name="CRandomName" type="9" >
<variable name="gender" type="int"/>
</protocol>
<protocol name="SRandomName" type="10" >
<variable name="name" type="string"/>
</protocol>
</namespace>
<namespace name="role">
<namespace name="msg">
<protocol name="CUseCode">
<variable name="code" type="string"/>
</protocol>
<protocol name="SUseCode" type="2606">
<variable name="retcode" type="int"/> // 错误码见 ActivationCodeErr
<variable name="code" type="string"/>
<variable name="bonus" type="map.msg.Bonus"/>
</protocol>
<protocol name="SLevelChange">
<variable name="level" type="int"/>
</protocol>
<bean name="PetExp">
<variable name="modelid" type="int"/>
<variable name="level" type="int"/>
<variable name="exp" type="long"/>
</bean>
<protocol name="SKillMonster">
<variable name="todaytotaladdmonsterexp" type="long"/>
<variable name="petexps" type="vector" value="PetExp"/>
<variable name="currencys" type="vector" value="CurrencyAddRecord"/>
</protocol>
<protocol name="SCurrencyChange" type="2602" >
<variable name="currencys" type="map" key="int" value="long"/>
</protocol>
<bean name="CurrencyAddRecord">
<variable name="ctype" type="int"/>
<variable name="add" type="int"/>
</bean>
<protocol name="SCurrencyAlert">
<variable name="currencys" type="vector" value="CurrencyAddRecord"/>
</protocol>
<protocol name="SVipExpChange" type="2603" >
<variable name="exp" type="long"/>
<variable name="level" type="int"/>
</protocol>
<bean name="RoleBrief">
<variable name="roleid" type="long"/>
<variable name="serverid" type="int"/>
<variable name="rolename" type="string"/>
<variable name="profession" type="int"/>
<variable name="level" type="int"/>
<variable name="viplevel" type="int"/>
<variable name="gender" type="int"/>
<variable name="dressid" type="int"/>
<variable name="equips" type="vector" value="map.msg.EquipBrief"/>
</bean>
<bean name="PetBrief">
<variable name="petkey" type="int"/>
</bean>
<bean name="RoleShowInfo1">
<variable name="roleid" type="long"/>
<variable name="serverid" type="int"/>
<variable name="name" type="string"/>
<variable name="profession" type="int"/>
<variable name="gender" type="int"/>
<variable name="level" type="int" comment="级别"/>
<variable name="viplevel" type="int" comment="vip等级"/>
<variable name="equips" type="vector" value="map.msg.EquipBrief"/>
<variable name="dressid" type="int"/>
<variable name="combatpower" type="int"/>
</bean>
<bean name="RoleShowInfo2">
<variable name="roleid" type="long"/>
<variable name="serverid" type="int"/>
<variable name="name" type="string"/>
<variable name="profession" type="int"/>
<variable name="gender" type="int"/>
<variable name="level" type="int" comment="级别"/>
<variable name="viplevel" type="int" comment="vip等级"/>
<variable name="combatpower" type="int"/>
<variable name="equips" type="vector" value="map.msg.EquipBrief"/>
<variable name="dressid" type="int"/>
<variable name="familyname" type="string" comment="家族名字"/>
<variable name="familyjob" type="int" comment="家族职位"/>
<variable name="familylevel" type="int" comment="家族等级"/>
</bean>
<bean name="RoleShowInfo3">
<variable name="roleid" type="long"/>
<variable name="serverid" type="int"/>
<variable name="name" type="string"/>
<variable name="profession" type="int"/>
<variable name="gender" type="int"/>
<variable name="level" type="int" comment="级别"/>
<variable name="viplevel" type="int" comment="vip等级"/>
<variable name="combatpower" type="int"/>
<variable name="equips" type="vector" value="map.msg.EquipBrief"/>
<variable name="dressid" type="int"/>
<variable name="title" type="int" comment="称号的key"/>
<variable name="familyname" type="string" comment="家族名字"/>
<variable name="familyjob" type="int" comment="家族职位"/>
<variable name="familylevel" type="int" comment="家族等级"/>
<variable name="lovername" type="string" comment="情人的角色id"/>
<variable name="fightattrs" type="map" key="int" value="float" comment="战斗属性值"/>
<variable name="lastonlinetime" type="long" comment="上次在线时间"/>
</bean>
<bean name="RoleShowInfo4">
<variable name="roleid" type="long"/>
<variable name="serverid" type="int"/>
<variable name="name" type="string"/>
<variable name="profession" type="int"/>
<variable name="viplevel" type="int" comment="vip等级"/>
<variable name="level" type="int"/>
<variable name="gender" type="int"/>
<variable name="combatpower" type="int"/>
<variable name="lastonlinetime" type="long" comment="上次在线时间"/>
<variable name="familyid" type="long" comment="家族"/>
</bean>
<bean name="EquipInfo">
<variable name="modelid" type="int" comment="model id"/>
<variable name="normalequip" type="lx.gs.equip.NormalEquipProp" comment="普通装备的属性"/>
<variable name="accessory" type="lx.gs.equip.AccessoryProp" comment="饰品类装备的属性"/>
</bean>
<bean name="RoleShowInfo5">
<variable name="roleid" type="long"/>
<variable name="serverid" type="int"/>
<variable name="name" type="string"/>
<variable name="profession" type="int"/>
<variable name="gender" type="int"/>
<variable name="level" type="int" comment="级别"/>
<variable name="viplevel" type="int" comment="vip等级"/>
<variable name="combatpower" type="int"/>
<variable name="equips" type="vector" value="EquipInfo"/>
<variable name="dressid" type="int"/>
<variable name="title" type="int" comment="称号的key"/>
<variable name="familyname" type="string" comment="家族名字"/>
<variable name="familyjob" type="int" comment="家族职位"/>
<variable name="familylevel" type="int" comment="家族等级"/>
<variable name="lovername" type="string" comment="情人的角色id"/>
<variable name="fightattrs" type="map" key="int" value="float" comment="战斗属性值"/>
<variable name="lastonlinetime" type="long" comment="上次在线时间"/>
</bean>
<protocol name="CGetRoleInfo" type="2604" >
<variable name="roleid" type="long" comment="对方角色信息"/>
</protocol>
<protocol name="SGetRoleInfo" type="2605" >
<variable name="roleid" type="long"/>
<variable name="roleinfo" type="RoleShowInfo5"/>
</protocol>
<protocol name="SGetConfigures">
<variable name="datas" type="map" key="string" value="string"/>
</protocol>
<protocol name="CSetConfigure">
<variable name="key" type="string"/>
<variable name="data" type="string"/>
</protocol>
<protocol name="SCombatPowerChange">
<variable name="combatpower" type="int"/>
</protocol>
<protocol name="SChangeAttrs">
<variable name="combatpower" type="int"/>
<variable name="attrs" type="map" key="int" value="float"/>
</protocol>
<protocol name="SDayOver"/>
<protocol name="CBuyTili"/>
<protocol name="SBuyTili"/>
<protocol name="CChangeName">
<variable name="newname" type="string"/>
</protocol>
<protocol name="SChangeName">
<variable name="changetimes" type="int"/>
<variable name="newname" type="string"/>
</protocol>
</namespace>
<!-- ========== 称号模块定义开始,协议从4300开始 =========== -->
<namespace name="title">
<namespace name="msg">
<bean name="Title">
<enum name="STATE_GET" value="1"/>
<enum name="STATE_ACTIVED" value="2"/>
<variable name="titlekey" type="int" comment="称号id"/>
<variable name="titletype" type="int" comment="称号所属类型,战力榜,竞技场榜,财富榜等"/>
<variable name="state" type="int" comment="称号的状态,0为未获得,1为获得,2为激活"/>
<variable name="gettime" type="long" comment="称号获得的时间"/>
<variable name="activetime" type="long" comment="称号激活的时间"/>
<variable name="expiretime" type="long" comment="称号到期的时间"/>
</bean>
<bean name="GroupTitle">
<variable name="titleinfo" type="vector" value="Title" comment="称号信息"/>
</bean>
<bean name="RoleTitle">
<variable name="activekey" type="int" comment="当前激活的称号id"/>
<variable name="activetype" type="int" comment="当前激活的称号类型"/>
<variable name="titles" type="map" key="int" value="GroupTitle" comment="称号信息,key为不同的类型,如战力榜,竞技场榜"/>
</bean>
<protocol name="CGetTitleInfo" type="4301" comment="获取">
</protocol>
<protocol name="SGetTitleInfo" type="4302">
<variable name="titleinfo" type="RoleTitle"/>
</protocol>
<protocol name="CActiveTitle" type="4303" >
<variable name="titlekey" type="int" comment="要激活的title的key"/>
<variable name="titletype" type="int" comment="要激活的title的类型,属于哪个模块"/>
</protocol>
<protocol name="SActiveTitle" type="4304" >
<variable name="titlekey" type="int" comment="要激活的title的key"/>
<variable name="titletype" type="int" comment="要激活的title的类型,属于哪个模块"/>
</protocol>
<protocol name="STitleGetNotify" type="4305" >
<variable name="title" type="Title" comment="获取到的称号"/>
</protocol>
<protocol name="STitleTimeOutNotify" type="4306" >
<variable name="title" type="Title" comment="到时间的称号"/>
</protocol>
<protocol name="CDeActiveTitle" type="4307" >
<variable name="titlekey" type="int" comment="要卸载的title的key"/>
<variable name="titletype" type="int" comment="要卸载的title的类型,属于哪个模块"/>
</protocol>
<protocol name="SDeActiveTitle" type="4308" >
<variable name="titlekey" type="int" comment="要卸载的title的key"/>
<variable name="titletype" type="int" comment="要卸载的title的类型,属于哪个模块"/>
</protocol>
</namespace>
</namespace>
<!-- ========== 称号模块定义结束,协议从4200开始=========== -->
</namespace>
<namespace name="map"><namespace name="msg">
<!-- 世界地图相关 -->
<!-- 地图分线相关协议 -->
<bean name="LineInfo">
<variable name="lineid" type="int"/>
<variable name="rolenum" type="int"/>
</bean>
<protocol name="CGetWorldLines" >
<variable name="worldid" type="int"/>
</protocol>
<protocol name="SGetWorldLines" >
<variable name="worldid" type="int"/>
<variable name="lines" type="vector" value="LineInfo"/>
</protocol>
<protocol name="CEnterWorld">
<variable name="worldid" type="int"/>
<variable name="lineid" type="int" />
</protocol>
<protocol name="CLeaveMap"/>
<protocol name="SLeaveMap"/>
<protocol name="CSetPKState">
<variable name="worldid" type="int"/>
<variable name="pkstate" type="int"/>
</protocol>
<protocol name="CTransferWorldUseItem">
<variable name="worldid" type="int"/>
<variable name="position" type="map.msg.Vector3"/>
</protocol>
<protocol name="CGetPlayerLocation">
<variable name="roleid" type="long"/>
</protocol>
<protocol name="SGetPlayerLocation">
<variable name="roleid" type="long"/>
<variable name="maptype" type="int"/>
<variable name="worldid" type="int"/>
<variable name="lineid" type="int"/>
<variable name="position" type="map.msg.Vector3" />
</protocol>
<bean name="ClimbTowerInfo">
<variable name="maxfloorid" type="int"/>
<variable name="costtime" type="int"/>秒数
</bean>
<bean name="ChapterInfo">
<variable name="sectionstars" type="vector" value="int"/> 对应关卡1,2,,,,
<variable name="obtainrewardindexs" type="vector" value="int"/>
</bean>
<bean name="DailyInfo">
<variable name="maxvalue" type="int"/>日常副本里最好成绩
</bean>
<bean name="MultiStoryInfo">
<variable name="bestStar" type="int"/>
</bean>
<bean name="TeamFightInfo">
<variable name="weekscore" type="int"/>本周积分
<variable name="todaywinnum" type="int"/>本日胜利次数
<variable name="obtaintodaywinreward" type="byte"/>是否领过今日奖励
<variable name="todayfightnum" type="int"/>本日参加次数
<variable name="obtainscorerewards" type="vector" value="int"/>本周已领积分奖励
</bean>
<protocol name="SEctypeInfo">
<variable name="climbtowers" type="map" key="int" value="ClimbTowerInfo"/>
<variable name="chapters" type="map" key="int" value="ChapterInfo"/>
<variable name="dailys" type="map" key="int" value="DailyInfo"/> key -> ectypetype
<variable name="teamfight" type="TeamFightInfo"/>
<variable name="multistory" type="map" key="int" value="MultiStoryInfo"/>
<variable name="matchtype" type="int"/> cfg.ectype.MatchType
<variable name="nextmatchtime" type="long"/>允许参与下一次匹配的时间
</protocol>
<protocol name="SChangeClimbTower">
<variable name="ectypeid" type="int"/>
<variable name="info" type="ClimbTowerInfo"/>
</protocol>
<protocol name="SChangeSection">
<variable name="chapterid" type="int"/>
<variable name="sectionid" type="int"/>
<variable name="star" type="int"/>
</protocol>
<protocol name="CObtainChapterReward">
<variable name="chapterid" type="int"/>
<variable name="rewardindex" type="int"/>
</protocol>
<protocol name="SObtainChapterReward">
<variable name="chapterid" type="int"/>
<variable name="rewardindex" type="int"/>
</protocol>
<protocol name="SChangeMatch">
<variable name="matchtype" type="int"/>
<variable name="nextmatchtime" type="long"/>
</protocol>
<!-- 剧情副本 -->
<protocol name="COpenStoryEctype">
<variable name="ectypeid" type="int"/>
</protocol>
<protocol name="CSweepStoryEctype">
<variable name="ectypeid" type="int"/>
</protocol>
<protocol name="SSweepStoryEctype">
<variable name="ectypeid" type="int"/>
<variable name="bonus" type="map.msg.Bonus"/>
</protocol>
<protocol name="CSweepChapterAllStoryEctype">
<variable name="chapterid" type="int"/>
</protocol>
<protocol name="SSweepChapterAllStoryEctype">
<variable name="chapterid" type="int"/>
<variable name="bonus" type="map" key="int" value="map.msg.Bonus"/>
</protocol>
<protocol name="CResetStoryEctypeOpenCount">
<variable name="ectypeid" type="int"/>
</protocol>
<protocol name="SResetStoryEctypeOpenCount">
<variable name="ectypeid" type="int"/>
</protocol>
<!-- 多人组队剧情副本 匹配模式-->
<protocol name="CEnrollMultiStoryEctype" comment="报名组队剧情副本">
<enum name="SINGLE" value="1"/>
<enum name="TEAM" value="2"/>
<variable name="ectypeid" type="int"/>
<variable name="enrolltype" type="int"/>
</protocol>
<protocol name="SEnrollMultiStoryEctype">
<variable name="ectypeid" type="int"/>
<variable name="enrolltype" type="int"/>
</protocol>
<protocol name="SStartEnrollMultiStoryNotify" comment="开始匹配后通知所有玩家">
<variable name="ectypeid" type="int" comment="匹配中的副本"/>
<variable name="roleinfos" type="vector" value="EnrollBriefInfo"/>
</protocol>
<protocol name="CLeaveTeamAndEnrollSingle" comment="离开当前队伍并单人报名">
<variable name="ectypeid" type="int"/>
</protocol>
<protocol name="SLeaveTeamAndEnrollSingle">
<variable name="ectypeid" type="int"/>
</protocol>
<protocol name="CCancelEnrollMultiStoryEctype" comment="取消报名"/>
<protocol name="SCancelEnrollMultiStoryEctype">
<variable name="result" type="int"/>
</protocol>
<protocol name="SCancelEnrollMultiStorySuccessNotify" comment="取消报名成功后通知玩家">
</protocol>
<bean name="EnrollBriefInfo">
<variable name="roleid" type="long"/>
<variable name="gender" type="int"/>
<variable name="name" type="string"/>
<variable name="profession" type="int"/>
</bean>
<bean name="MatchMultiStroyInfo">
<variable name="roleid" type="long"/>
<variable name="gender" type="int"/>
<variable name="name" type="string"/>
<variable name="profession" type="int"/>
<variable name="star" type="int"/>
<variable name="usedtimes" type="int"/>
<variable name="level" type="int"/>
</bean>
<protocol name="SEnrollMultiStoryEctypeSuccessNotify">
<variable name="lefttime" type="int" comment="匹配成功,通知剩余开启时间"/>
<variable name="roleinfos" type="vector" value="EnrollBriefInfo"/>
</protocol>
<protocol name="SPrepareMultiStoryEctypeFailNotify" comment="在匹配成功后,扣体力或者减次数失败时发送">
<variable name="reason" type="string"/>
</protocol>
<!-- 鸿蒙争霸 3v3竞速副本 开始 -->
<bean name="TimeRange"> 一天中的时间范围,小时:分:秒
<variable name="start" type="string"/>格式 HH:mm:ss
<variable name="end" type="string"/>格式 HH:mm:ss
</bean>
<protocol name="STeamSpeedTimeInfo">
<variable name="opentime" type="vector" value="TimeRange"/>开放时间
<variable name="applytime" type="int" /> 报名时间
<variable name="competitiontime" type="int" /> 比赛持续时间
</protocol>
<protocol name="CTeamApplyTeamSpeed">组队报名,只有队长才能使用
</protocol>
<protocol name="CPersonalApplyTeamSpeed">个人报名,会脱离原有队伍,需要弹出二次确认提示
</protocol>
<protocol name="SApplyTeamSpeedSucc">报名成功,进入副本地图
</protocol>
<protocol name="CCancelTeamSpeedApply" > 取消报名
</protocol>
<protocol name="SCancelTeamSpeedApply" > 取消报名
</protocol>
<protocol name="CLeaveTeamSpeed">离开副本
</protocol>
<protocol name="SLeaveTeamSpeed">离开副本
</protocol>
<!-- 鸿蒙争霸 3v3竞速副本 结束 -->
<!-- 爬塔副本 -->
<protocol name="COpenClimbTowerEctype">
<variable name="ectypeid" type="int"/>
</protocol>
<protocol name="CSweepClimbTower">
</protocol>
<protocol name="SSweepClimbTower">
<variable name="bonus" type="map.msg.Bonus"/>
</protocol>
<!-- 血战青云 -->
<protocol name="CGuardTowerMatchStart">
<variable name="minpower" type="int"/>
</protocol>
<protocol name="SGuardTowerMatchStart"/>
<protocol name="CGuardTowerMatchCancel"/>
<protocol name="SGuardTowerMatchCancel">
<variable name="retcode" type="int"/>
</protocol>
<protocol name="SGuardTowerMatchError">
<variable name="retcode" type="int"/>
</protocol>
<protocol name="SGuardTowerMatcherUpdate">
<variable name="matched" type="int"/> 0 尚未匹配成功 1 匹配成功
<variable name="teaminfo" type="MatchTeamInfo"/>
<variable name="countdown" type="int"/>匹配成功之后的倒计时s
</protocol>
<protocol name="SGuardTowerMatchMemberOut">
<variable name="roleid" type="long"/>退出匹配的玩家roleid
</protocol>
<!-- 青云英雄录 -->
<bean name="HeroesGroupInfo">
<variable id="1" name="refreshtime" type="int" comment="已经进行过的刷新次数"/>
<variable id="2" name="ectypeid" type="int" comment="上次随机到的副本id,为0或空则取默认值"/>
</bean>
<protocol name="CGetHeroEctypeInfo">
</protocol>
<protocol name="SGetHeroEctypeInfo">
<variable name="herogroups" type="map" key="int" value="HeroesGroupInfo"/>groupid->HeroesGroupInfo
</protocol>
<protocol name="CHeroChangeEctype">
<variable name="groupid" type="int"/>
</protocol>
<protocol name="SHeroChangeEctype">
<variable name="groupid" type="int"/>
<variable name="ectypeid" type="int"/>
</protocol>
<protocol name="SHeroGroupSyncInfo">
<variable id="1" name="groupid" type="int"/>
<variable id="2" name="groupinfo" type="HeroesGroupInfo"/>
</protocol>
<protocol name="COpenHeroEctype">
<variable name="groupid" type="int"/>
<variable name="ectypeid" type="int"/>
</protocol>
<protocol name="CHeroRefreshAward">
<variable name="groupid" type="int"/>
<variable name="ectypeid" type="int"/>
</protocol>
<protocol name="SHeroRefreshAward">
<variable name="awardinfo" type="map.msg.HeroesAwardInfo"/>
</protocol>
<protocol name="CHeroGainAward">
<variable name="groupid" type="int"/>
<variable name="ectypeid" type="int"/>
</protocol>
<protocol name="SHeroGainAward" type="6001"/>
<bean name="MatchTeamInfo">
<variable name="members" type="vector" value="lx.gs.role.msg.RoleShowInfo4"/>
</bean>
<protocol name="SChangeTeamFight">
<variable name="info" type="TeamFightInfo"/>
</protocol>
<protocol name="CBeginMatchTeamFight"/>
<protocol name="SBeginMatchTeamFight">
<variable name="errcode" type="int"/>
</protocol>
<protocol name="CCancelMatchTeamFight"/>
<protocol name="SCancelMatchTeamFight">
<variable name="errcode" type="int"/>
</protocol>
<protocol name="SOtherMemberCancelMatchTeamFight">
<variable name="roleid" type="long"/>
</protocol>
<protocol name="CObtainTeamFightDayReward"/>
<protocol name="SObtainTeamFightDayReward"/>
<protocol name="CObtainTeamFightWeekReward">
<variable name="rewardid" type="int"/>
</protocol>
<protocol name="SObtainTeamFightWeekReward">
<variable name="rewardid" type="int"/>
</protocol>
<protocol name="SMatchTeamFightSucc">
<variable name="countdown" type="int"/>倒计时
<variable name="team1" type="MatchTeamInfo"/>
<variable name="team2" type="MatchTeamInfo"/>
</protocol>
<!-- 日常经验金钱造化副本 -->
<protocol name="COpenDailyEctype">
<variable name="ectypetype" type="int"/> cfg.ectype.EctypeType
</protocol>
<protocol name="CResetDailyEctypeOpenCount">
<variable name="ectypetype" type="int"/> cfg.ectype.EctypeType
</protocol>
<protocol name="SResetDailyEctypeOpenCount">
<variable name="ectypetype" type="int"/> cfg.ectype.EctypeType
</protocol>
<protocol name="CGetDailyBestRecord">
<variable name="ectypetype" type="int"/>
</protocol>
<protocol name="SGetDailyBestRecord">
<variable name="ectypetype" type="int"/>
<variable name="name" type="string"/>
<variable name="mincosttime" type="int"/>秒数
<variable name="mymincosttime" type="int"/>秒数ss
</protocol>
<protocol name="COpenPersonalBossEctype">
<variable name="ectypeid" type="int"/>
</protocol>
<protocol name="CGetAttackCityInfo"/>
<protocol name="SGetAttackCityInfo">
<variable name="stage" type="int"/> cfg.ectype.AttackCityStage
<variable name="signup" type="byte"/> 是否报名
</protocol>
<protocol name="CEnrollAttackCity"/>
<protocol name="SEnrollAttackCity"/>
<protocol name="SChangeAttackCityStage">
<variable name="stage" type="int"/> cfg.ectype.AttackCityStage
</protocol>
<protocol name="CEnterAttackCity"/>
<protocol name="COpenFamilyTeamEctype"/>
<protocol name="SKillOther">
<variable name="defencername" type="string"/>
</protocol>
<protocol name="SBekillByOther">
<variable name="attackername" type="string"/>
<variable name="defencer" type="long"/>
</protocol>
</namespace></namespace>
<namespace name="rank"><namespace name="msg">
<bean name="GeneralRankInfo">
<variable name="roleid" type="long"/>
<variable name="name" type="string"/>
<variable name="level" type="int"/>
<variable name="value" type="long"/>
</bean>
<bean name="FamilyRankInfo">
<variable name="id" type="long"/>
<variable name="name" type="string"/>
<variable name="level" type="int"/>
<variable name="value" type="long" comment="家族建设度"/>
<variable name="chiefid" type="long"/>族长id
</bean>
<protocol name="CGetRank">
<variable name="ranktype" type="int"/>
<variable name="rankstart" type="int"/>
<variable name="rankend" type="int"/> 从rankstart到rankend的数据(包括rankend)
</protocol>
<protocol name="SGetRank">
<variable name="ranktype" type="int"/>
<variable name="ranksize" type="int"/>
<variable name="rankstart" type="int"/>
<variable name="data" type="octets"/>
<variable name="mycurrank" type="int"/>
</protocol>
<protocol name="CGetReward" type="5021">
<variable name="ranktype" type="int"/>
</protocol>
<protocol name="SGetReward">
<variable name="ranktype" type="int"/>
</protocol>
<protocol name="CGetMyRank">
<variable name="ranktype" type="int"/>
</protocol>
<protocol name="SGetMyRank">
<variable name="ranktype" type="int"/>
<variable name="currank" type="int"/>
</protocol>
<bean name="RankInfo">
<variable name="ranktype" type="int"/>
<variable name="snaprank" type="int"/>
</bean>
<protocol name="SInfo">
<variable name="ranks" type="vector" value="RankInfo"/>
</protocol>
</namespace></namespace>
<namespace name="leaderboard"><namespace name="msg">
<bean name="BoardEntry">
<variable name="id" type="long"/>
<variable name="name" type="string"/>
<variable name="val1" type="long"/>
<variable name="val2" type="int"/>
</bean>
<bean name="BoardInfo">
<variable name="info" type="vector" value="BoardEntry"/>
</bean>
<protocol name="SLatestLeaderBoard">
<variable name="latestbord" type="map" key="int" value="BoardInfo"/>
</protocol>
<protocol name="SRoleRanking">
<variable name="info" type="map" key="int" value="int"/>
</protocol>
<protocol name="SYesterdayRanking">
<variable name="info" type="map" key="int" value="int"/>
</protocol>
<protocol name="CGetRankReward" >
<variable name="ranktype" type="int"/>
</protocol>
</namespace></namespace>
<namespace name="task"><namespace name="msg">
<bean name="FamilyTaskInfo">
<variable name="taskid" type="int"/>
<variable name="npcid" type="int"/>
</bean>
<bean name="TaskInfo">
<variable name="taskid" type="int"/>
<variable name="counter" type="map" key="int" value="int"/>
</bean>
<protocol name="STask" type="700">
<variable name="variables" type="map" key="int" value="int"/>
<variable name="completehistory" type="map" key="int" value="int"/>
<variable name="acceptedtasks" type="vector" value="TaskInfo" comment="正在做的任务信息"/>
<variable name="curfamtasks" type="vector" value="FamilyTaskInfo" comment="当前已经获取的所有环任务"/>
<variable name="completefamtasknum" type="int" comment="在一组环任务内已经完成的环数"/>
<variable name="comdaycycle" type="int" comment="已经完成的日环任务组数"/>
<variable name="comweeksmallcycle" type="int" comment="已经完成的周环任务组数"/>
<variable name="lastgiveuofamtime" type="long" comment="上次放弃家族任务的时间"/>
<variable name="shownpcs" type="set" value="int" comment="需要显示的npc集合"/>
<variable name="hidemines" type="set" value="int" comment="需要隐藏的矿物集合"/>
<variable name="isuseyuanbaocomtask" type="int" comment="标识是否使用元宝完成家族环任务,0:否;1:是"/>
<variable name="iscanclefamtask" type="int" comment="标识是否放弃过家族环任务,0:否;1:是"/>
<variable name="receivedweekbonus" type="vector" value="int" comment="已经领取过的周完成环数奖励情况"/>
<variable name="guideBranchTaskID" type="int" comment="主界面上要显示支线任务"/>
<variable name="allcandobranch" type="vector" value="int" comment="所有满足条件的支线的第一个任务"/>
<variable name="unlockcomtasks" type="vector" value="int" comment="客户端解锁模块中已经完成的任务"/>
</protocol>
<protocol name="SAddNewBranchTaskNotify" comment="新增的支线">
<variable name="newtask" type="vector" value="int"/>
</protocol>
<protocol name="SChangeHistory" type="701" >
<variable name="changes" type="map" key="int" value="int"/>
<variable name="removes" type="vector" value="int"/>
</protocol>
<protocol name="SChangeTask" type="702" >
<variable name="task" type="TaskInfo"/>
</protocol>
<protocol name="CAcceptTask" type="704" >
<variable name="npcid" type="int"/>
<variable name="taskid" type="int"/>
</protocol>
<protocol name="SAcceptTask" type="705" >
<variable name="npcid" type="int"/>
<variable name="taskid" type="int"/>
</protocol>
<protocol name="CChooseShowBranchTask" type="712">
<variable name="guideBranchTaskID" type="int"/>
</protocol>
<protocol name="SChooseShowBranchTask" type="713">
<variable name="guideBranchTaskID" type="int"/>
</protocol>
<protocol name="CCancelTask" type="706" >
<variable name="taskid" type="int"/>
</protocol>
<protocol name="SCancelTask" type="707" >
<variable name="taskid" type="int"/>
</protocol>
<protocol name="CCompleteTask" type="708" >
<variable name="npcid" type="int"/>
<variable name="taskid" type="int"/>
</protocol>
<protocol name="SCompleteTask" type="709" >
<variable name="npcid" type="int"/>
<variable name="taskid" type="int"/>
</protocol>
<protocol name="SChangeVariable" type="711" >
<variable name="changes" type="map" key="int" value="int"/>
<variable name="removes" type="vector" value="int"/>
</protocol>
<protocol name="COpenTaskEctype">
<variable name="taskid" type="int"/>
</protocol>
<protocol name="SOpenTaskEctype">
<variable name="taskid" type="int"/>
</protocol>
<!--环任务协议-->
<protocol name="CGetFamilyTask">
<variable name="npcid" type="int" comment="环任务最开始都是在家族npc处获取,放弃任务后,再接取任务也是去家族npc接取"/>
</protocol>
<protocol name="SGetFamilyTask">
<variable name="npcid" type="int"/>
<variable name="taskinfo" type="FamilyTaskInfo" comment="获取到的环任务信息"/>
</protocol>
<protocol name="CAcceptFamilyTask" >
<variable name="npcid" type="int" comment=""/>
<variable name="taskid" type="int" comment=""/>
</protocol>
<protocol name="SAcceptFamilyTask">
<variable name="npcid" type="int"/>
<variable name="taskid" type="int"/>
</protocol>
<protocol name="CCancelFamilyTask">
<variable name="curtaskorder" type="int" comment="当前正在做第几环"/>
<variable name="taskid" type="int" comment="当前做的任务的id"/>
</protocol>
<protocol name="SCancelFamilyTask" type="715">
<variable name="curtaskorder" type="int" comment="当前正在做第几环"/>
<variable name="taskid" type="int" comment="当前做的环任务id"/>
</protocol>
<protocol name="CCompleteFamilyTask">
<variable name="curtaskorder" type="int" comment="当前提交的是第几环"/>
<variable name="taskid" type="int"/>
<variable name="npcid" type="int"/>
</protocol>
<protocol name="SCompleteFamilyTask">
<variable name="curtaskorder" type="int" comment="当前提交的是第几环"/>
<variable name="taskid" type="int"/>
<variable name="comdaycycle" type="int" comment="已经完成的日环任务组数"/>
<variable name="completefamtasknum" type="int" comment="在一组环任务内已经完成的环数"/>
<variable name="comweeksmallcycle" type="int" comment="已经完成的周环任务组数"/>
<variable name="bonus" type="map.msg.Bonus"/>
<variable name="nextfamtask" type="FamilyTaskInfo" comment="提交当前环后,返回下一环将要做的,如果是完成一组了,该返回为空"/>
</protocol>
<protocol name="CCompleteFamTaskWithYuanbao" comment="使用元宝快速完成当前小环任务,但是还要去完成npc处提交任务">
<variable name="curtaskorder" type="int" comment="当前正在做第几环"/>
</protocol>
<protocol name="SCompleteFamTaskWithYuanbao">
<variable name="curtaskorder" type="int" comment="当前正在做第几环"/>
</protocol>
<protocol name="CClearFamTask" comment="一键清环,使用元宝完成前十环任务,不用去家族提交,当天完成已经超过十环,不能一键清">
</protocol>
<protocol name="SClearFamTask">
<variable name="bonus" type="map.msg.Bonus" comment="一键清环的奖励"/>
<variable name="acceptedtasks" type="vector" value="TaskInfo" comment="正在做的任务信息"/>
<variable name="curfamtasks" type="vector" value="FamilyTaskInfo" comment="当前已经获取的所有环任务"/>
<variable name="completefamtasknum" type="int" comment="在一组环任务内已经完成的环数"/>
<variable name="comdaycycle" type="int" comment="已经完成的日环任务组数"/>
<variable name="comweeksmallcycle" type="int" comment="已经完成的周环任务组数"/>
<variable name="isuseyuanbaocomtask" type="int" comment="标识是否使用元宝完成家族环任务,0:否;1:是"/>
<variable name="iscanclefamtask" type="int" comment="标识是否放弃过家族环任务,0:否;1:是"/>
</protocol>
<protocol name="CGetWeekCompleteBonus" comment="每周完成一定小环环任务数后领奖,目前完成10,20,40,70环数后会有奖励">
<variable name="bonuslvl" type="int" comment="要领取的档位,用0,1,2,3...表示"/>
</protocol>
<protocol name="SGetWeekCompleteBonus">
<variable name="bonuslvl" type="int"/>
<variable name="bonus" type="map.msg.Bonus"/>
</protocol>
<protocol name="SDailyResetFamTaskNotify" comment="每天重置家族环任务信息">
<variable name="comdaycycle" type="int" comment="已经完成的日环任务组数"/>
<variable name="comweeksmallcycle" type="int" comment="已经完成的周环任务组数"/>
</protocol>
<protocol name="SCancelHideMinesNotify" comment="取消隐藏矿物通知">
<variable name="unhideminse" type="set" value="int"/>