浏览代码

auto config export

Hua 11 月之前
父节点
当前提交
b09e882c8b
共有 1 个文件被更改,包括 182 次插入182 次删除
  1. 182 182
      schema/schema.ts

+ 182 - 182
schema/schema.ts

@@ -333,103 +333,86 @@ export class Hero {
333
 
333
 
334
 
334
 
335
 
335
 
336
-export class Item {
336
+export class SkillBuff {
337
 
337
 
338
     constructor(_buf_: ByteBuf) {
338
     constructor(_buf_: ByteBuf) {
339
         this.idx = _buf_.ReadInt()
339
         this.idx = _buf_.ReadInt()
340
+        this.remark = _buf_.ReadString()
340
         this.type = _buf_.ReadInt()
341
         this.type = _buf_.ReadInt()
341
-        this.name = _buf_.ReadString()
342
+        this.parameters = _buf_.ReadString()
343
+        this.probability = _buf_.ReadInt()
344
+        this.triggerCondition = _buf_.ReadString()
345
+        this.effectType = _buf_.ReadInt()
346
+        this.duration = _buf_.ReadInt()
347
+        this.overlapTimes = _buf_.ReadInt()
348
+        this.uniqueGain = _buf_.ReadBool()
349
+        this.halo = _buf_.ReadBool()
350
+        this.attributes = _buf_.ReadString()
351
+        this.mixBufficon = _buf_.ReadInt()
352
+        this.skillShowId = _buf_.ReadInt()
353
+        this.floatingTextId = _buf_.ReadInt()
342
     }
354
     }
343
 
355
 
344
     /**
356
     /**
345
-     * 道具ID
357
+     * buffid
346
      */
358
      */
347
     readonly idx: number
359
     readonly idx: number
348
     /**
360
     /**
349
-     * 类型
361
+     * 备注
350
      */
362
      */
351
-    readonly type: number
363
+    readonly remark: string
352
     /**
364
     /**
353
-     * 道具名
365
+     * buff类型
354
      */
366
      */
355
-    readonly name: string
356
-
357
-    resolve(tables:Tables) {
358
-        
359
-        
360
-        
361
-    }
362
-}
363
-
364
-
365
-
366
-
367
-
368
-export class Skill {
369
-
370
-    constructor(_buf_: ByteBuf) {
371
-        this.idx = _buf_.ReadInt()
372
-        this.remark = _buf_.ReadString()
373
-        this.skillId = _buf_.ReadInt()
374
-        this.level = _buf_.ReadInt()
375
-        this.skillType = _buf_.ReadInt()
376
-        this.cd = _buf_.ReadInt()
377
-        this.triggerCondition = _buf_.ReadString()
378
-        this.effects = _buf_.ReadString()
379
-        this.buffId = _buf_.ReadString()
380
-        this.skillName = _buf_.ReadString()
381
-        this.desc = _buf_.ReadString()
382
-        this.conflictSkillId = _buf_.ReadInt()
383
-    }
384
-
367
+    readonly type: number
385
     /**
368
     /**
386
-     * 主键id
369
+     * buff参数
387
      */
370
      */
388
-    readonly idx: number
371
+    readonly parameters: string
389
     /**
372
     /**
390
-     * 备注
373
+     * 触发概率
391
      */
374
      */
392
-    readonly remark: string
375
+    readonly probability: number
393
     /**
376
     /**
394
-     * 技能ID
377
+     * 触发条件
395
      */
378
      */
396
-    readonly skillId: number
379
+    readonly triggerCondition: string
397
     /**
380
     /**
398
-     * 等级
381
+     * 效果类型
399
      */
382
      */
400
-    readonly level: number
383
+    readonly effectType: number
401
     /**
384
     /**
402
-     * 类型
385
+     * 持续时间
403
      */
386
      */
404
-    readonly skillType: number
387
+    readonly duration: number
405
     /**
388
     /**
406
-     * 冷却时间
389
+     * 叠加次数
407
      */
390
      */
408
-    readonly cd: number
391
+    readonly overlapTimes: number
409
     /**
392
     /**
410
-     * 技能触发条件
393
+     * 唯一增益
411
      */
394
      */
412
-    readonly triggerCondition: string
395
+    readonly uniqueGain: boolean
413
     /**
396
     /**
414
-     * 效果列表
397
+     * 是否是光环
415
      */
398
      */
416
-    readonly effects: string
399
+    readonly halo: boolean
417
     /**
400
     /**
418
-     * buff
401
+     * buff增加的属性
419
      */
402
      */
420
-    readonly buffId: string
403
+    readonly attributes: string
421
     /**
404
     /**
422
-     * 技能名字
405
+     * 是否合并
423
      */
406
      */
424
-    readonly skillName: string
407
+    readonly mixBufficon: number
425
     /**
408
     /**
426
-     * 技能描述
409
+     * 效果id
427
      */
410
      */
428
-    readonly desc: string
411
+    readonly skillShowId: number
429
     /**
412
     /**
430
-     * 冲突的技能id
413
+     * 飘字id
431
      */
414
      */
432
-    readonly conflictSkillId: number
415
+    readonly floatingTextId: number
433
 
416
 
434
     resolve(tables:Tables) {
417
     resolve(tables:Tables) {
435
         
418
         
@@ -444,6 +427,9 @@ export class Skill {
444
         
427
         
445
         
428
         
446
         
429
         
430
+        
431
+        
432
+        
447
     }
433
     }
448
 }
434
 }
449
 
435
 
@@ -513,66 +499,71 @@ export class HeroLevel {
513
 
499
 
514
 
500
 
515
 
501
 
516
-export class Wave {
502
+export class Skill {
517
 
503
 
518
     constructor(_buf_: ByteBuf) {
504
     constructor(_buf_: ByteBuf) {
519
         this.idx = _buf_.ReadInt()
505
         this.idx = _buf_.ReadInt()
520
-        this.waveIndex = _buf_.ReadInt()
506
+        this.remark = _buf_.ReadString()
507
+        this.skillId = _buf_.ReadInt()
521
         this.level = _buf_.ReadInt()
508
         this.level = _buf_.ReadInt()
522
-        this.model = _buf_.ReadInt()
523
-        this.counter = _buf_.ReadInt()
524
-        this.hp = _buf_.ReadInt()
525
-        this.speed = _buf_.ReadInt()
526
-        this.gap = _buf_.ReadInt()
527
-        this.isboss = _buf_.ReadInt()
528
-        this.perAddCoid = _buf_.ReadInt()
529
-        this.perAddGem = _buf_.ReadInt()
509
+        this.skillType = _buf_.ReadInt()
510
+        this.cd = _buf_.ReadInt()
511
+        this.triggerCondition = _buf_.ReadString()
512
+        this.effects = _buf_.ReadString()
513
+        this.buffId = _buf_.ReadString()
514
+        this.skillName = _buf_.ReadString()
515
+        this.desc = _buf_.ReadString()
516
+        this.conflictSkillId = _buf_.ReadInt()
530
     }
517
     }
531
 
518
 
532
     /**
519
     /**
533
-     * 唯一id
520
+     * 主键id
534
      */
521
      */
535
     readonly idx: number
522
     readonly idx: number
536
     /**
523
     /**
537
-     * 波数
524
+     * 备注
538
      */
525
      */
539
-    readonly waveIndex: number
526
+    readonly remark: string
540
     /**
527
     /**
541
-     * 难度
528
+     * 技能ID
529
+     */
530
+    readonly skillId: number
531
+    /**
532
+     * 等级
542
      */
533
      */
543
     readonly level: number
534
     readonly level: number
544
     /**
535
     /**
545
-     * 怪物模型
536
+     * 
546
      */
537
      */
547
-    readonly model: number
538
+    readonly skillType: number
548
     /**
539
     /**
549
-     * 数量
540
+     * 冷却时间
550
      */
541
      */
551
-    readonly counter: number
542
+    readonly cd: number
552
     /**
543
     /**
553
-     * 血量
544
+     * 技能触发条件
554
      */
545
      */
555
-    readonly hp: number
546
+    readonly triggerCondition: string
556
     /**
547
     /**
557
-     * 速度
548
+     * 效果列表
558
      */
549
      */
559
-    readonly speed: number
550
+    readonly effects: string
560
     /**
551
     /**
561
-     * 间距
552
+     * buff
562
      */
553
      */
563
-    readonly gap: number
554
+    readonly buffId: string
564
     /**
555
     /**
565
-     * 是否是boss
556
+     * 技能名字
566
      */
557
      */
567
-    readonly isboss: number
558
+    readonly skillName: string
568
     /**
559
     /**
569
-     * 每只怪增加局内金币
560
+     * 技能描述
570
      */
561
      */
571
-    readonly perAddCoid: number
562
+    readonly desc: string
572
     /**
563
     /**
573
-     * 每只怪增加局内宝石
564
+     * 冲突的技能id
574
      */
565
      */
575
-    readonly perAddGem: number
566
+    readonly conflictSkillId: number
576
 
567
 
577
     resolve(tables:Tables) {
568
     resolve(tables:Tables) {
578
         
569
         
@@ -586,6 +577,51 @@ export class Wave {
586
         
577
         
587
         
578
         
588
         
579
         
580
+        
581
+    }
582
+}
583
+
584
+
585
+
586
+
587
+
588
+export class WaveRewards {
589
+
590
+    constructor(_buf_: ByteBuf) {
591
+        this.idx = _buf_.ReadInt()
592
+        this.waveMin = _buf_.ReadInt()
593
+        this.waveMax = _buf_.ReadInt()
594
+        this.level = _buf_.ReadInt()
595
+        { let n = Math.min(_buf_.ReadSize(), _buf_.Size); this.rewards = []; for(let i = 0 ; i < n ; i++) { let _e0; _e0 = new Common.Reward(_buf_); this.rewards.push(_e0);}}
596
+    }
597
+
598
+    /**
599
+     * idx
600
+     */
601
+    readonly idx: number
602
+    /**
603
+     * 波数下限
604
+     */
605
+    readonly waveMin: number
606
+    /**
607
+     * 波数上限
608
+     */
609
+    readonly waveMax: number
610
+    /**
611
+     * 难度
612
+     */
613
+    readonly level: number
614
+    /**
615
+     * 奖励列表
616
+     */
617
+    readonly rewards: Common.Reward[]
618
+
619
+    resolve(tables:Tables) {
620
+        
621
+        
622
+        
623
+        
624
+        for (let _e of this.rewards) { _e?.resolve(tables); }
589
     }
625
     }
590
 }
626
 }
591
 
627
 
@@ -625,103 +661,31 @@ export class System {
625
 
661
 
626
 
662
 
627
 
663
 
628
-export class SkillBuff {
664
+export class Item {
629
 
665
 
630
     constructor(_buf_: ByteBuf) {
666
     constructor(_buf_: ByteBuf) {
631
         this.idx = _buf_.ReadInt()
667
         this.idx = _buf_.ReadInt()
632
-        this.remark = _buf_.ReadString()
633
         this.type = _buf_.ReadInt()
668
         this.type = _buf_.ReadInt()
634
-        this.parameters = _buf_.ReadString()
635
-        this.probability = _buf_.ReadInt()
636
-        this.triggerCondition = _buf_.ReadString()
637
-        this.effectType = _buf_.ReadInt()
638
-        this.duration = _buf_.ReadInt()
639
-        this.overlapTimes = _buf_.ReadInt()
640
-        this.uniqueGain = _buf_.ReadBool()
641
-        this.halo = _buf_.ReadBool()
642
-        this.attributes = _buf_.ReadString()
643
-        this.mixBufficon = _buf_.ReadInt()
644
-        this.skillShowId = _buf_.ReadInt()
645
-        this.floatingTextId = _buf_.ReadInt()
669
+        this.name = _buf_.ReadString()
646
     }
670
     }
647
 
671
 
648
     /**
672
     /**
649
-     * buffid
673
+     * 道具ID
650
      */
674
      */
651
     readonly idx: number
675
     readonly idx: number
652
     /**
676
     /**
653
-     * 备注
654
-     */
655
-    readonly remark: string
656
-    /**
657
-     * buff类型
677
+     * 类型
658
      */
678
      */
659
     readonly type: number
679
     readonly type: number
660
     /**
680
     /**
661
-     * buff参数
662
-     */
663
-    readonly parameters: string
664
-    /**
665
-     * 触发概率
666
-     */
667
-    readonly probability: number
668
-    /**
669
-     * 触发条件
670
-     */
671
-    readonly triggerCondition: string
672
-    /**
673
-     * 效果类型
674
-     */
675
-    readonly effectType: number
676
-    /**
677
-     * 持续时间
678
-     */
679
-    readonly duration: number
680
-    /**
681
-     * 叠加次数
682
-     */
683
-    readonly overlapTimes: number
684
-    /**
685
-     * 唯一增益
686
-     */
687
-    readonly uniqueGain: boolean
688
-    /**
689
-     * 是否是光环
690
-     */
691
-    readonly halo: boolean
692
-    /**
693
-     * buff增加的属性
694
-     */
695
-    readonly attributes: string
696
-    /**
697
-     * 是否合并
698
-     */
699
-    readonly mixBufficon: number
700
-    /**
701
-     * 效果id
702
-     */
703
-    readonly skillShowId: number
704
-    /**
705
-     * 飘字id
681
+     * 道具名
706
      */
682
      */
707
-    readonly floatingTextId: number
683
+    readonly name: string
708
 
684
 
709
     resolve(tables:Tables) {
685
     resolve(tables:Tables) {
710
         
686
         
711
         
687
         
712
         
688
         
713
-        
714
-        
715
-        
716
-        
717
-        
718
-        
719
-        
720
-        
721
-        
722
-        
723
-        
724
-        
725
     }
689
     }
726
 }
690
 }
727
 
691
 
@@ -729,43 +693,79 @@ export class SkillBuff {
729
 
693
 
730
 
694
 
731
 
695
 
732
-export class WaveRewards {
696
+export class Wave {
733
 
697
 
734
     constructor(_buf_: ByteBuf) {
698
     constructor(_buf_: ByteBuf) {
735
         this.idx = _buf_.ReadInt()
699
         this.idx = _buf_.ReadInt()
736
-        this.waveMin = _buf_.ReadInt()
737
-        this.waveMax = _buf_.ReadInt()
700
+        this.waveIndex = _buf_.ReadInt()
738
         this.level = _buf_.ReadInt()
701
         this.level = _buf_.ReadInt()
739
-        { let n = Math.min(_buf_.ReadSize(), _buf_.Size); this.rewards = []; for(let i = 0 ; i < n ; i++) { let _e0; _e0 = new Common.Reward(_buf_); this.rewards.push(_e0);}}
702
+        this.model = _buf_.ReadInt()
703
+        this.counter = _buf_.ReadInt()
704
+        this.hp = _buf_.ReadInt()
705
+        this.speed = _buf_.ReadInt()
706
+        this.gap = _buf_.ReadInt()
707
+        this.isboss = _buf_.ReadInt()
708
+        this.perAddCoid = _buf_.ReadInt()
709
+        this.perAddGem = _buf_.ReadInt()
740
     }
710
     }
741
 
711
 
742
     /**
712
     /**
743
-     * idx
713
+     * 唯一id
744
      */
714
      */
745
     readonly idx: number
715
     readonly idx: number
746
     /**
716
     /**
747
-     * 波数下限
748
-     */
749
-    readonly waveMin: number
750
-    /**
751
-     * 波数上限
717
+     * 波数
752
      */
718
      */
753
-    readonly waveMax: number
719
+    readonly waveIndex: number
754
     /**
720
     /**
755
      * 难度
721
      * 难度
756
      */
722
      */
757
     readonly level: number
723
     readonly level: number
758
     /**
724
     /**
759
-     * 奖励列表
725
+     * 怪物模型
760
      */
726
      */
761
-    readonly rewards: Common.Reward[]
727
+    readonly model: number
728
+    /**
729
+     * 数量
730
+     */
731
+    readonly counter: number
732
+    /**
733
+     * 血量
734
+     */
735
+    readonly hp: number
736
+    /**
737
+     * 速度
738
+     */
739
+    readonly speed: number
740
+    /**
741
+     * 间距
742
+     */
743
+    readonly gap: number
744
+    /**
745
+     * 是否是boss
746
+     */
747
+    readonly isboss: number
748
+    /**
749
+     * 每只怪增加局内金币
750
+     */
751
+    readonly perAddCoid: number
752
+    /**
753
+     * 每只怪增加局内宝石
754
+     */
755
+    readonly perAddGem: number
762
 
756
 
763
     resolve(tables:Tables) {
757
     resolve(tables:Tables) {
764
         
758
         
765
         
759
         
766
         
760
         
767
         
761
         
768
-        for (let _e of this.rewards) { _e?.resolve(tables); }
762
+        
763
+        
764
+        
765
+        
766
+        
767
+        
768
+        
769
     }
769
     }
770
 }
770
 }
771
 
771