Sfoglia il codice sorgente

auto config export

Hua 1 anno fa
parent
commit
bb8278b647
1 ha cambiato i file con 238 aggiunte e 238 eliminazioni
  1. 238 238
      schema/schema.ts

+ 238 - 238
schema/schema.ts

@@ -289,63 +289,103 @@ export class Cost {
289
 
289
 
290
 
290
 
291
 
291
 
292
-export class Item {
292
+export class SkillBuff {
293
 
293
 
294
     constructor(_buf_: ByteBuf) {
294
     constructor(_buf_: ByteBuf) {
295
         this.idx = _buf_.ReadInt()
295
         this.idx = _buf_.ReadInt()
296
+        this.remark = _buf_.ReadString()
296
         this.type = _buf_.ReadInt()
297
         this.type = _buf_.ReadInt()
297
-        this.name = _buf_.ReadString()
298
+        this.parameters = _buf_.ReadString()
299
+        this.probability = _buf_.ReadInt()
300
+        this.triggerCondition = _buf_.ReadString()
301
+        this.effectType = _buf_.ReadInt()
302
+        this.duration = _buf_.ReadInt()
303
+        this.overlapTimes = _buf_.ReadInt()
304
+        this.uniqueGain = _buf_.ReadBool()
305
+        this.halo = _buf_.ReadBool()
306
+        this.attributes = _buf_.ReadString()
307
+        this.mixBufficon = _buf_.ReadInt()
308
+        this.skillShowId = _buf_.ReadInt()
309
+        this.floatingTextId = _buf_.ReadInt()
298
     }
310
     }
299
 
311
 
300
     /**
312
     /**
301
-     * 道具ID
313
+     * buffid
302
      */
314
      */
303
     readonly idx: number
315
     readonly idx: number
304
     /**
316
     /**
305
-     * 类型
317
+     * 备注
318
+     */
319
+    readonly remark: string
320
+    /**
321
+     * buff类型
306
      */
322
      */
307
     readonly type: number
323
     readonly type: number
308
     /**
324
     /**
309
-     * 道具名
325
+     * buff参数
310
      */
326
      */
311
-    readonly name: string
312
-
313
-    resolve(tables:Tables) {
314
-        
315
-        
316
-        
317
-    }
318
-}
319
-
320
-
321
-
322
-
323
-
324
-export class System {
325
-
326
-    constructor(_buf_: ByteBuf) {
327
-        this.idx = _buf_.ReadInt()
328
-        this.mainKey = _buf_.ReadString()
329
-        this.value = _buf_.ReadString()
330
-    }
331
-
327
+    readonly parameters: string
332
     /**
328
     /**
333
-     * IDX
329
+     * 触发概率
334
      */
330
      */
335
-    readonly idx: number
331
+    readonly probability: number
336
     /**
332
     /**
337
-     * 常量主键
333
+     * 触发条件
338
      */
334
      */
339
-    readonly mainKey: string
335
+    readonly triggerCondition: string
340
     /**
336
     /**
341
-     * 常量值
337
+     * 效果类型
342
      */
338
      */
343
-    readonly value: string
339
+    readonly effectType: number
340
+    /**
341
+     * 持续时间
342
+     */
343
+    readonly duration: number
344
+    /**
345
+     * 叠加次数
346
+     */
347
+    readonly overlapTimes: number
348
+    /**
349
+     * 唯一增益
350
+     */
351
+    readonly uniqueGain: boolean
352
+    /**
353
+     * 是否是光环
354
+     */
355
+    readonly halo: boolean
356
+    /**
357
+     * buff增加的属性
358
+     */
359
+    readonly attributes: string
360
+    /**
361
+     * 是否合并
362
+     */
363
+    readonly mixBufficon: number
364
+    /**
365
+     * 效果id
366
+     */
367
+    readonly skillShowId: number
368
+    /**
369
+     * 飘字id
370
+     */
371
+    readonly floatingTextId: number
344
 
372
 
345
     resolve(tables:Tables) {
373
     resolve(tables:Tables) {
346
         
374
         
347
         
375
         
348
         
376
         
377
+        
378
+        
379
+        
380
+        
381
+        
382
+        
383
+        
384
+        
385
+        
386
+        
387
+        
388
+        
349
     }
389
     }
350
 }
390
 }
351
 
391
 
@@ -457,46 +497,56 @@ export class Skill {
457
 
497
 
458
 
498
 
459
 
499
 
460
-export class Hero {
500
+export class Attr {
461
 
501
 
462
     constructor(_buf_: ByteBuf) {
502
     constructor(_buf_: ByteBuf) {
463
-        this.id = _buf_.ReadInt()
464
-        this.quality = _buf_.ReadInt()
465
-        this.attacktype = _buf_.ReadInt()
466
-        this.name = _buf_.ReadString()
467
-        { let n = Math.min(_buf_.ReadSize(), _buf_.Size); this.skills = []; for(let i = 0 ; i < n ; i++) { let _e0; _e0 = _buf_.ReadInt(); this.skills.push(_e0);}}
468
-        { let n = Math.min(_buf_.ReadSize(), _buf_.Size); this.composeheros = []; for(let i = 0 ; i < n ; i++) { let _e0; _e0 = _buf_.ReadInt(); this.composeheros.push(_e0);}}
469
-        this.isShow = _buf_.ReadInt()
503
+        this.idx = _buf_.ReadInt()
504
+        this.type = _buf_.ReadString()
505
+        this.showLogic = _buf_.ReadInt()
506
+        this.sort = _buf_.ReadInt()
507
+        this.icon = _buf_.ReadString()
508
+        this.fightFactor = _buf_.ReadFloat()
509
+        this.scoreFactor = _buf_.ReadFloat()
510
+        this.showType = _buf_.ReadInt()
511
+        this.baseValue = _buf_.ReadLongAsNumber()
470
     }
512
     }
471
 
513
 
472
     /**
514
     /**
473
-     * 英雄ID
515
+     * 序列
474
      */
516
      */
475
-    readonly id: number
517
+    readonly idx: number
476
     /**
518
     /**
477
-     * 品质
519
+     * 属性ID
478
      */
520
      */
479
-    readonly quality: Quality
521
+    readonly type: string
480
     /**
522
     /**
481
-     * 攻击类型
523
+     * 显示逻辑
482
      */
524
      */
483
-    readonly attacktype: AttackType
525
+    readonly showLogic: number
484
     /**
526
     /**
485
-     * 名字
527
+     * 排序
486
      */
528
      */
487
-    readonly name: string
529
+    readonly sort: number
488
     /**
530
     /**
489
-     * 技能列表
531
+     * 图标
490
      */
532
      */
491
-    readonly skills: number[]
533
+    readonly icon: string
492
     /**
534
     /**
493
-     * 合成英雄公式
535
+     * 战力系数
494
      */
536
      */
495
-    readonly composeheros: number[]
537
+    readonly fightFactor: number
496
     /**
538
     /**
497
-     * 是否测试
539
+     * 评分系数
498
      */
540
      */
499
-    readonly isShow: number
541
+    readonly scoreFactor: number
542
+    /**
543
+     * 显示类型
544
+     */
545
+    readonly showType: number
546
+    /**
547
+     * 基础值
548
+     */
549
+    readonly baseValue: number
500
 
550
 
501
     resolve(tables:Tables) {
551
     resolve(tables:Tables) {
502
         
552
         
@@ -506,6 +556,8 @@ export class Hero {
506
         
556
         
507
         
557
         
508
         
558
         
559
+        
560
+        
509
     }
561
     }
510
 }
562
 }
511
 
563
 
@@ -513,12 +565,13 @@ export class Hero {
513
 
565
 
514
 
566
 
515
 
567
 
516
-export class BattleSummonWeight {
568
+export class HeroQualityWorth {
517
 
569
 
518
     constructor(_buf_: ByteBuf) {
570
     constructor(_buf_: ByteBuf) {
519
         this.idx = _buf_.ReadInt()
571
         this.idx = _buf_.ReadInt()
520
         this.quality = _buf_.ReadInt()
572
         this.quality = _buf_.ReadInt()
521
-        this.weight = _buf_.ReadInt()
573
+        this.gold = _buf_.ReadInt()
574
+        this.gem = _buf_.ReadInt()
522
     }
575
     }
523
 
576
 
524
     /**
577
     /**
@@ -530,14 +583,19 @@ export class BattleSummonWeight {
530
      */
583
      */
531
     readonly quality: Quality
584
     readonly quality: Quality
532
     /**
585
     /**
533
-     * 权重
586
+     * 局内金币
534
      */
587
      */
535
-    readonly weight: number
588
+    readonly gold: number
589
+    /**
590
+     * 局内宝石
591
+     */
592
+    readonly gem: number
536
 
593
 
537
     resolve(tables:Tables) {
594
     resolve(tables:Tables) {
538
         
595
         
539
         
596
         
540
         
597
         
598
+        
541
     }
599
     }
542
 }
600
 }
543
 
601
 
@@ -545,13 +603,44 @@ export class BattleSummonWeight {
545
 
603
 
546
 
604
 
547
 
605
 
548
-export class HeroQualityWorth {
606
+export class System {
607
+
608
+    constructor(_buf_: ByteBuf) {
609
+        this.idx = _buf_.ReadInt()
610
+        this.mainKey = _buf_.ReadString()
611
+        this.value = _buf_.ReadString()
612
+    }
613
+
614
+    /**
615
+     * IDX
616
+     */
617
+    readonly idx: number
618
+    /**
619
+     * 常量主键
620
+     */
621
+    readonly mainKey: string
622
+    /**
623
+     * 常量值
624
+     */
625
+    readonly value: string
626
+
627
+    resolve(tables:Tables) {
628
+        
629
+        
630
+        
631
+    }
632
+}
633
+
634
+
635
+
636
+
637
+
638
+export class BattleSummonWeight {
549
 
639
 
550
     constructor(_buf_: ByteBuf) {
640
     constructor(_buf_: ByteBuf) {
551
         this.idx = _buf_.ReadInt()
641
         this.idx = _buf_.ReadInt()
552
         this.quality = _buf_.ReadInt()
642
         this.quality = _buf_.ReadInt()
553
-        this.gold = _buf_.ReadInt()
554
-        this.gem = _buf_.ReadInt()
643
+        this.weight = _buf_.ReadInt()
555
     }
644
     }
556
 
645
 
557
     /**
646
     /**
@@ -563,19 +652,14 @@ export class HeroQualityWorth {
563
      */
652
      */
564
     readonly quality: Quality
653
     readonly quality: Quality
565
     /**
654
     /**
566
-     * 局内金币
567
-     */
568
-    readonly gold: number
569
-    /**
570
-     * 局内宝石
655
+     * 权重
571
      */
656
      */
572
-    readonly gem: number
657
+    readonly weight: number
573
 
658
 
574
     resolve(tables:Tables) {
659
     resolve(tables:Tables) {
575
         
660
         
576
         
661
         
577
         
662
         
578
-        
579
     }
663
     }
580
 }
664
 }
581
 
665
 
@@ -621,6 +705,38 @@ export class BattleSpacialSummon {
621
 
705
 
622
 
706
 
623
 
707
 
708
+export class Item {
709
+
710
+    constructor(_buf_: ByteBuf) {
711
+        this.idx = _buf_.ReadInt()
712
+        this.type = _buf_.ReadInt()
713
+        this.name = _buf_.ReadString()
714
+    }
715
+
716
+    /**
717
+     * 道具ID
718
+     */
719
+    readonly idx: number
720
+    /**
721
+     * 类型
722
+     */
723
+    readonly type: number
724
+    /**
725
+     * 道具名
726
+     */
727
+    readonly name: string
728
+
729
+    resolve(tables:Tables) {
730
+        
731
+        
732
+        
733
+    }
734
+}
735
+
736
+
737
+
738
+
739
+
624
 export class StrengthenLevel {
740
 export class StrengthenLevel {
625
 
741
 
626
     constructor(_buf_: ByteBuf) {
742
     constructor(_buf_: ByteBuf) {
@@ -709,66 +825,46 @@ export class WaveRewards {
709
 
825
 
710
 
826
 
711
 
827
 
712
-export class Wave {
828
+export class Hero {
713
 
829
 
714
     constructor(_buf_: ByteBuf) {
830
     constructor(_buf_: ByteBuf) {
715
-        this.idx = _buf_.ReadInt()
716
-        this.waveIndex = _buf_.ReadInt()
717
-        this.level = _buf_.ReadInt()
718
-        this.model = _buf_.ReadInt()
719
-        this.counter = _buf_.ReadInt()
720
-        this.hp = _buf_.ReadInt()
721
-        this.speed = _buf_.ReadInt()
722
-        this.gap = _buf_.ReadInt()
723
-        this.isboss = _buf_.ReadInt()
724
-        this.perAddCoid = _buf_.ReadInt()
725
-        this.perAddGem = _buf_.ReadInt()
831
+        this.id = _buf_.ReadInt()
832
+        this.quality = _buf_.ReadInt()
833
+        this.attacktype = _buf_.ReadInt()
834
+        this.name = _buf_.ReadString()
835
+        { let n = Math.min(_buf_.ReadSize(), _buf_.Size); this.skills = []; for(let i = 0 ; i < n ; i++) { let _e0; _e0 = _buf_.ReadInt(); this.skills.push(_e0);}}
836
+        { let n = Math.min(_buf_.ReadSize(), _buf_.Size); this.composeheros = []; for(let i = 0 ; i < n ; i++) { let _e0; _e0 = _buf_.ReadInt(); this.composeheros.push(_e0);}}
837
+        this.isShow = _buf_.ReadInt()
726
     }
838
     }
727
 
839
 
728
     /**
840
     /**
729
-     * 唯一id
730
-     */
731
-    readonly idx: number
732
-    /**
733
-     * 波数
734
-     */
735
-    readonly waveIndex: number
736
-    /**
737
-     * 难度
738
-     */
739
-    readonly level: number
740
-    /**
741
-     * 怪物模型
742
-     */
743
-    readonly model: number
744
-    /**
745
-     * 数量
841
+     * 英雄ID
746
      */
842
      */
747
-    readonly counter: number
843
+    readonly id: number
748
     /**
844
     /**
749
-     * 血量
845
+     * 品质
750
      */
846
      */
751
-    readonly hp: number
847
+    readonly quality: Quality
752
     /**
848
     /**
753
-     * 速度
849
+     * 攻击类型
754
      */
850
      */
755
-    readonly speed: number
851
+    readonly attacktype: AttackType
756
     /**
852
     /**
757
-     * 间距
853
+     * 名字
758
      */
854
      */
759
-    readonly gap: number
855
+    readonly name: string
760
     /**
856
     /**
761
-     * 是否是boss
857
+     * 技能列表
762
      */
858
      */
763
-    readonly isboss: number
859
+    readonly skills: number[]
764
     /**
860
     /**
765
-     * 每只怪增加局内金币
861
+     * 合成英雄公式
766
      */
862
      */
767
-    readonly perAddCoid: number
863
+    readonly composeheros: number[]
768
     /**
864
     /**
769
-     * 每只怪增加局内宝石
865
+     * 是否测试
770
      */
866
      */
771
-    readonly perAddGem: number
867
+    readonly isShow: number
772
 
868
 
773
     resolve(tables:Tables) {
869
     resolve(tables:Tables) {
774
         
870
         
@@ -778,10 +874,6 @@ export class Wave {
778
         
874
         
779
         
875
         
780
         
876
         
781
-        
782
-        
783
-        
784
-        
785
     }
877
     }
786
 }
878
 }
787
 
879
 
@@ -789,86 +881,66 @@ export class Wave {
789
 
881
 
790
 
882
 
791
 
883
 
792
-export class SkillBuff {
884
+export class Wave {
793
 
885
 
794
     constructor(_buf_: ByteBuf) {
886
     constructor(_buf_: ByteBuf) {
795
         this.idx = _buf_.ReadInt()
887
         this.idx = _buf_.ReadInt()
796
-        this.remark = _buf_.ReadString()
797
-        this.type = _buf_.ReadInt()
798
-        this.parameters = _buf_.ReadString()
799
-        this.probability = _buf_.ReadInt()
800
-        this.triggerCondition = _buf_.ReadString()
801
-        this.effectType = _buf_.ReadInt()
802
-        this.duration = _buf_.ReadInt()
803
-        this.overlapTimes = _buf_.ReadInt()
804
-        this.uniqueGain = _buf_.ReadBool()
805
-        this.halo = _buf_.ReadBool()
806
-        this.attributes = _buf_.ReadString()
807
-        this.mixBufficon = _buf_.ReadInt()
808
-        this.skillShowId = _buf_.ReadInt()
809
-        this.floatingTextId = _buf_.ReadInt()
888
+        this.waveIndex = _buf_.ReadInt()
889
+        this.level = _buf_.ReadInt()
890
+        this.model = _buf_.ReadInt()
891
+        this.counter = _buf_.ReadInt()
892
+        this.hp = _buf_.ReadInt()
893
+        this.speed = _buf_.ReadInt()
894
+        this.gap = _buf_.ReadInt()
895
+        this.isboss = _buf_.ReadInt()
896
+        this.perAddCoid = _buf_.ReadInt()
897
+        this.perAddGem = _buf_.ReadInt()
810
     }
898
     }
811
 
899
 
812
     /**
900
     /**
813
-     * buffid
901
+     * 唯一id
814
      */
902
      */
815
     readonly idx: number
903
     readonly idx: number
816
     /**
904
     /**
817
-     * 备注
818
-     */
819
-    readonly remark: string
820
-    /**
821
-     * buff类型
822
-     */
823
-    readonly type: number
824
-    /**
825
-     * buff参数
826
-     */
827
-    readonly parameters: string
828
-    /**
829
-     * 触发概率
830
-     */
831
-    readonly probability: number
832
-    /**
833
-     * 触发条件
905
+     * 波数
834
      */
906
      */
835
-    readonly triggerCondition: string
907
+    readonly waveIndex: number
836
     /**
908
     /**
837
-     * 效果类型
909
+     * 难度
838
      */
910
      */
839
-    readonly effectType: number
911
+    readonly level: number
840
     /**
912
     /**
841
-     * 持续时间
913
+     * 怪物模型
842
      */
914
      */
843
-    readonly duration: number
915
+    readonly model: number
844
     /**
916
     /**
845
-     * 叠加次
917
+     * 数量
846
      */
918
      */
847
-    readonly overlapTimes: number
919
+    readonly counter: number
848
     /**
920
     /**
849
-     * 唯一增益
921
+     * 血量
850
      */
922
      */
851
-    readonly uniqueGain: boolean
923
+    readonly hp: number
852
     /**
924
     /**
853
-     * 是否是光环
925
+     * 速度
854
      */
926
      */
855
-    readonly halo: boolean
927
+    readonly speed: number
856
     /**
928
     /**
857
-     * buff增加的属性
929
+     * 间距
858
      */
930
      */
859
-    readonly attributes: string
931
+    readonly gap: number
860
     /**
932
     /**
861
-     * 是否合并
933
+     * 是否是boss
862
      */
934
      */
863
-    readonly mixBufficon: number
935
+    readonly isboss: number
864
     /**
936
     /**
865
-     * 效果id
937
+     * 每只怪增加局内金币
866
      */
938
      */
867
-    readonly skillShowId: number
939
+    readonly perAddCoid: number
868
     /**
940
     /**
869
-     * 飘字id
941
+     * 每只怪增加局内宝石
870
      */
942
      */
871
-    readonly floatingTextId: number
943
+    readonly perAddGem: number
872
 
944
 
873
     resolve(tables:Tables) {
945
     resolve(tables:Tables) {
874
         
946
         
@@ -882,78 +954,6 @@ export class SkillBuff {
882
         
954
         
883
         
955
         
884
         
956
         
885
-        
886
-        
887
-        
888
-        
889
-    }
890
-}
891
-
892
-
893
-
894
-
895
-
896
-export class Attr {
897
-
898
-    constructor(_buf_: ByteBuf) {
899
-        this.idx = _buf_.ReadInt()
900
-        this.type = _buf_.ReadString()
901
-        this.showLogic = _buf_.ReadInt()
902
-        this.sort = _buf_.ReadInt()
903
-        this.icon = _buf_.ReadString()
904
-        this.fightFactor = _buf_.ReadFloat()
905
-        this.scoreFactor = _buf_.ReadFloat()
906
-        this.showType = _buf_.ReadInt()
907
-        this.baseValue = _buf_.ReadLongAsNumber()
908
-    }
909
-
910
-    /**
911
-     * 序列
912
-     */
913
-    readonly idx: number
914
-    /**
915
-     * 属性ID
916
-     */
917
-    readonly type: string
918
-    /**
919
-     * 显示逻辑
920
-     */
921
-    readonly showLogic: number
922
-    /**
923
-     * 排序
924
-     */
925
-    readonly sort: number
926
-    /**
927
-     * 图标
928
-     */
929
-    readonly icon: string
930
-    /**
931
-     * 战力系数
932
-     */
933
-    readonly fightFactor: number
934
-    /**
935
-     * 评分系数
936
-     */
937
-    readonly scoreFactor: number
938
-    /**
939
-     * 显示类型
940
-     */
941
-    readonly showType: number
942
-    /**
943
-     * 基础值
944
-     */
945
-    readonly baseValue: number
946
-
947
-    resolve(tables:Tables) {
948
-        
949
-        
950
-        
951
-        
952
-        
953
-        
954
-        
955
-        
956
-        
957
     }
957
     }
958
 }
958
 }
959
 
959