Sfoglia il codice sorgente

auto config export

Hua 1 anno fa
parent
commit
8a97b31ae9
1 ha cambiato i file con 215 aggiunte e 215 eliminazioni
  1. 215 215
      schema/schema.ts

+ 215 - 215
schema/schema.ts

@@ -289,13 +289,44 @@ export class Cost {
289
 
289
 
290
 
290
 
291
 
291
 
292
-export class BattleSpacialSummon {
292
+export class Item {
293
+
294
+    constructor(_buf_: ByteBuf) {
295
+        this.idx = _buf_.ReadInt()
296
+        this.type = _buf_.ReadInt()
297
+        this.name = _buf_.ReadString()
298
+    }
299
+
300
+    /**
301
+     * 道具ID
302
+     */
303
+    readonly idx: number
304
+    /**
305
+     * 类型
306
+     */
307
+    readonly type: number
308
+    /**
309
+     * 道具名
310
+     */
311
+    readonly name: string
312
+
313
+    resolve(tables:Tables) {
314
+        
315
+        
316
+        
317
+    }
318
+}
319
+
320
+
321
+
322
+
323
+
324
+export class BattleSummonWeight {
293
 
325
 
294
     constructor(_buf_: ByteBuf) {
326
     constructor(_buf_: ByteBuf) {
295
         this.idx = _buf_.ReadInt()
327
         this.idx = _buf_.ReadInt()
296
         this.quality = _buf_.ReadInt()
328
         this.quality = _buf_.ReadInt()
297
         this.weight = _buf_.ReadInt()
329
         this.weight = _buf_.ReadInt()
298
-        this.costgem = _buf_.ReadInt()
299
     }
330
     }
300
 
331
 
301
     /**
332
     /**
@@ -310,16 +341,11 @@ export class BattleSpacialSummon {
310
      * 权重
341
      * 权重
311
      */
342
      */
312
     readonly weight: number
343
     readonly weight: number
313
-    /**
314
-     * 消耗宝石数量
315
-     */
316
-    readonly costgem: number
317
 
344
 
318
     resolve(tables:Tables) {
345
     resolve(tables:Tables) {
319
         
346
         
320
         
347
         
321
         
348
         
322
-        
323
     }
349
     }
324
 }
350
 }
325
 
351
 
@@ -327,103 +353,37 @@ export class BattleSpacialSummon {
327
 
353
 
328
 
354
 
329
 
355
 
330
-export class SkillBuff {
356
+export class HeroQualityWorth {
331
 
357
 
332
     constructor(_buf_: ByteBuf) {
358
     constructor(_buf_: ByteBuf) {
333
         this.idx = _buf_.ReadInt()
359
         this.idx = _buf_.ReadInt()
334
-        this.remark = _buf_.ReadString()
335
-        this.type = _buf_.ReadInt()
336
-        this.parameters = _buf_.ReadString()
337
-        this.probability = _buf_.ReadInt()
338
-        this.triggerCondition = _buf_.ReadString()
339
-        this.effectType = _buf_.ReadInt()
340
-        this.duration = _buf_.ReadInt()
341
-        this.overlapTimes = _buf_.ReadInt()
342
-        this.uniqueGain = _buf_.ReadBool()
343
-        this.halo = _buf_.ReadBool()
344
-        this.attributes = _buf_.ReadString()
345
-        this.mixBufficon = _buf_.ReadInt()
346
-        this.skillShowId = _buf_.ReadInt()
347
-        this.floatingTextId = _buf_.ReadInt()
360
+        this.quality = _buf_.ReadInt()
361
+        this.gold = _buf_.ReadInt()
362
+        this.gem = _buf_.ReadInt()
348
     }
363
     }
349
 
364
 
350
     /**
365
     /**
351
-     * buffid
366
+     * 唯一id
352
      */
367
      */
353
     readonly idx: number
368
     readonly idx: number
354
     /**
369
     /**
355
-     * 备注
356
-     */
357
-    readonly remark: string
358
-    /**
359
-     * buff类型
360
-     */
361
-    readonly type: number
362
-    /**
363
-     * buff参数
364
-     */
365
-    readonly parameters: string
366
-    /**
367
-     * 触发概率
368
-     */
369
-    readonly probability: number
370
-    /**
371
-     * 触发条件
372
-     */
373
-    readonly triggerCondition: string
374
-    /**
375
-     * 效果类型
376
-     */
377
-    readonly effectType: number
378
-    /**
379
-     * 持续时间
380
-     */
381
-    readonly duration: number
382
-    /**
383
-     * 叠加次数
384
-     */
385
-    readonly overlapTimes: number
386
-    /**
387
-     * 唯一增益
388
-     */
389
-    readonly uniqueGain: boolean
390
-    /**
391
-     * 是否是光环
392
-     */
393
-    readonly halo: boolean
394
-    /**
395
-     * buff增加的属性
396
-     */
397
-    readonly attributes: string
398
-    /**
399
-     * 是否合并
370
+     * 品质
400
      */
371
      */
401
-    readonly mixBufficon: number
372
+    readonly quality: Quality
402
     /**
373
     /**
403
-     * 效果id
374
+     * 局内金币
404
      */
375
      */
405
-    readonly skillShowId: number
376
+    readonly gold: number
406
     /**
377
     /**
407
-     * 飘字id
378
+     * 局内宝石
408
      */
379
      */
409
-    readonly floatingTextId: number
380
+    readonly gem: number
410
 
381
 
411
     resolve(tables:Tables) {
382
     resolve(tables:Tables) {
412
         
383
         
413
         
384
         
414
         
385
         
415
         
386
         
416
-        
417
-        
418
-        
419
-        
420
-        
421
-        
422
-        
423
-        
424
-        
425
-        
426
-        
427
     }
387
     }
428
 }
388
 }
429
 
389
 
@@ -475,98 +435,52 @@ export class WaveRewards {
475
 
435
 
476
 
436
 
477
 
437
 
478
-export class Item {
438
+export class Hero {
479
 
439
 
480
     constructor(_buf_: ByteBuf) {
440
     constructor(_buf_: ByteBuf) {
481
-        this.idx = _buf_.ReadInt()
482
-        this.type = _buf_.ReadInt()
441
+        this.id = _buf_.ReadInt()
442
+        this.quality = _buf_.ReadInt()
443
+        this.attacktype = _buf_.ReadInt()
483
         this.name = _buf_.ReadString()
444
         this.name = _buf_.ReadString()
445
+        { 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);}}
446
+        { 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);}}
447
+        this.isShow = _buf_.ReadInt()
484
     }
448
     }
485
 
449
 
486
     /**
450
     /**
487
-     * 道具ID
451
+     * 英雄ID
488
      */
452
      */
489
-    readonly idx: number
453
+    readonly id: number
490
     /**
454
     /**
491
-     * 类型
455
+     * 品质
492
      */
456
      */
493
-    readonly type: number
457
+    readonly quality: Quality
494
     /**
458
     /**
495
-     * 道具名
459
+     * 攻击类型
496
      */
460
      */
497
-    readonly name: string
498
-
499
-    resolve(tables:Tables) {
500
-        
501
-        
502
-        
503
-    }
504
-}
505
-
506
-
507
-
508
-
509
-
510
-export class HeroQualityWorth {
511
-
512
-    constructor(_buf_: ByteBuf) {
513
-        this.idx = _buf_.ReadInt()
514
-        this.quality = _buf_.ReadInt()
515
-        this.gold = _buf_.ReadInt()
516
-        this.gem = _buf_.ReadInt()
517
-    }
518
-
461
+    readonly attacktype: AttackType
519
     /**
462
     /**
520
-     * 唯一id
463
+     * 名字
521
      */
464
      */
522
-    readonly idx: number
465
+    readonly name: string
523
     /**
466
     /**
524
-     * 品质
467
+     * 技能列表
525
      */
468
      */
526
-    readonly quality: Quality
469
+    readonly skills: number[]
527
     /**
470
     /**
528
-     * 局内金币
471
+     * 合成英雄公式
529
      */
472
      */
530
-    readonly gold: number
473
+    readonly composeheros: number[]
531
     /**
474
     /**
532
-     * 局内宝石
475
+     * 是否测试
533
      */
476
      */
534
-    readonly gem: number
477
+    readonly isShow: number
535
 
478
 
536
     resolve(tables:Tables) {
479
     resolve(tables:Tables) {
537
         
480
         
538
         
481
         
539
         
482
         
540
         
483
         
541
-    }
542
-}
543
-
544
-
545
-
546
-
547
-
548
-export class BattleSummonWeight {
549
-
550
-    constructor(_buf_: ByteBuf) {
551
-        this.idx = _buf_.ReadInt()
552
-        this.quality = _buf_.ReadInt()
553
-        this.weight = _buf_.ReadInt()
554
-    }
555
-
556
-    /**
557
-     * 唯一id
558
-     */
559
-    readonly idx: number
560
-    /**
561
-     * 品质
562
-     */
563
-    readonly quality: Quality
564
-    /**
565
-     * 权重
566
-     */
567
-    readonly weight: number
568
-
569
-    resolve(tables:Tables) {
570
         
484
         
571
         
485
         
572
         
486
         
@@ -577,26 +491,28 @@ export class BattleSummonWeight {
577
 
491
 
578
 
492
 
579
 
493
 
580
-export class Skill {
494
+export class SkillBuff {
581
 
495
 
582
     constructor(_buf_: ByteBuf) {
496
     constructor(_buf_: ByteBuf) {
583
         this.idx = _buf_.ReadInt()
497
         this.idx = _buf_.ReadInt()
584
         this.remark = _buf_.ReadString()
498
         this.remark = _buf_.ReadString()
585
-        this.skillId = _buf_.ReadInt()
586
-        this.skillType = _buf_.ReadInt()
587
-        this.cd = _buf_.ReadInt()
588
-        this.gridRange = _buf_.ReadInt()
589
-        this.range = _buf_.ReadInt()
499
+        this.type = _buf_.ReadInt()
500
+        this.parameters = _buf_.ReadString()
501
+        this.probability = _buf_.ReadInt()
590
         this.triggerCondition = _buf_.ReadString()
502
         this.triggerCondition = _buf_.ReadString()
591
-        this.effects = _buf_.ReadString()
592
-        this.buffId = _buf_.ReadString()
593
-        this.skillName = _buf_.ReadString()
594
-        this.desc = _buf_.ReadString()
595
-        this.conflictSkillId = _buf_.ReadInt()
503
+        this.effectType = _buf_.ReadInt()
504
+        this.duration = _buf_.ReadInt()
505
+        this.overlapTimes = _buf_.ReadInt()
506
+        this.uniqueGain = _buf_.ReadBool()
507
+        this.halo = _buf_.ReadBool()
508
+        this.attributes = _buf_.ReadString()
509
+        this.mixBufficon = _buf_.ReadInt()
510
+        this.skillShowId = _buf_.ReadInt()
511
+        this.floatingTextId = _buf_.ReadInt()
596
     }
512
     }
597
 
513
 
598
     /**
514
     /**
599
-     * 主键id
515
+     * buffid
600
      */
516
      */
601
     readonly idx: number
517
     readonly idx: number
602
     /**
518
     /**
@@ -604,49 +520,57 @@ export class Skill {
604
      */
520
      */
605
     readonly remark: string
521
     readonly remark: string
606
     /**
522
     /**
607
-     * 技能ID
523
+     * buff类型
608
      */
524
      */
609
-    readonly skillId: number
525
+    readonly type: number
610
     /**
526
     /**
611
-     * 类型
527
+     * buff参数
612
      */
528
      */
613
-    readonly skillType: number
529
+    readonly parameters: string
614
     /**
530
     /**
615
-     * 冷却时间
531
+     * 触发概率
616
      */
532
      */
617
-    readonly cd: number
533
+    readonly probability: number
618
     /**
534
     /**
619
-     * 格子范围
535
+     * 触发条件
620
      */
536
      */
621
-    readonly gridRange: number
537
+    readonly triggerCondition: string
622
     /**
538
     /**
623
-     * 攻击距离
539
+     * 效果类型
624
      */
540
      */
625
-    readonly range: number
541
+    readonly effectType: number
626
     /**
542
     /**
627
-     * 技能触发条件
543
+     * 持续时间
628
      */
544
      */
629
-    readonly triggerCondition: string
545
+    readonly duration: number
630
     /**
546
     /**
631
-     * 效果列表
547
+     * 叠加次数
632
      */
548
      */
633
-    readonly effects: string
549
+    readonly overlapTimes: number
634
     /**
550
     /**
635
-     * buff
551
+     * 唯一增益
636
      */
552
      */
637
-    readonly buffId: string
553
+    readonly uniqueGain: boolean
638
     /**
554
     /**
639
-     * 技能名字
555
+     * 是否是光环
640
      */
556
      */
641
-    readonly skillName: string
557
+    readonly halo: boolean
642
     /**
558
     /**
643
-     * 技能描述
559
+     * buff增加的属性
644
      */
560
      */
645
-    readonly desc: string
561
+    readonly attributes: string
646
     /**
562
     /**
647
-     * 冲突的技能id
563
+     * 是否合并
648
      */
564
      */
649
-    readonly conflictSkillId: number
565
+    readonly mixBufficon: number
566
+    /**
567
+     * 效果id
568
+     */
569
+    readonly skillShowId: number
570
+    /**
571
+     * 飘字id
572
+     */
573
+    readonly floatingTextId: number
650
 
574
 
651
     resolve(tables:Tables) {
575
     resolve(tables:Tables) {
652
         
576
         
@@ -662,6 +586,8 @@ export class Skill {
662
         
586
         
663
         
587
         
664
         
588
         
589
+        
590
+        
665
     }
591
     }
666
 }
592
 }
667
 
593
 
@@ -669,31 +595,37 @@ export class Skill {
669
 
595
 
670
 
596
 
671
 
597
 
672
-export class System {
598
+export class BattleSpacialSummon {
673
 
599
 
674
     constructor(_buf_: ByteBuf) {
600
     constructor(_buf_: ByteBuf) {
675
         this.idx = _buf_.ReadInt()
601
         this.idx = _buf_.ReadInt()
676
-        this.mainKey = _buf_.ReadString()
677
-        this.value = _buf_.ReadString()
602
+        this.quality = _buf_.ReadInt()
603
+        this.weight = _buf_.ReadInt()
604
+        this.costgem = _buf_.ReadInt()
678
     }
605
     }
679
 
606
 
680
     /**
607
     /**
681
-     * IDX
608
+     * 唯一id
682
      */
609
      */
683
     readonly idx: number
610
     readonly idx: number
684
     /**
611
     /**
685
-     * 常量主键
612
+     * 品质
686
      */
613
      */
687
-    readonly mainKey: string
614
+    readonly quality: Quality
688
     /**
615
     /**
689
-     * 常量值
616
+     * 权重
690
      */
617
      */
691
-    readonly value: string
618
+    readonly weight: number
619
+    /**
620
+     * 消耗宝石数量
621
+     */
622
+    readonly costgem: number
692
 
623
 
693
     resolve(tables:Tables) {
624
     resolve(tables:Tables) {
694
         
625
         
695
         
626
         
696
         
627
         
628
+        
697
     }
629
     }
698
 }
630
 }
699
 
631
 
@@ -781,46 +713,76 @@ export class Wave {
781
 
713
 
782
 
714
 
783
 
715
 
784
-export class Hero {
716
+export class Skill {
785
 
717
 
786
     constructor(_buf_: ByteBuf) {
718
     constructor(_buf_: ByteBuf) {
787
-        this.id = _buf_.ReadInt()
788
-        this.quality = _buf_.ReadInt()
789
-        this.attacktype = _buf_.ReadInt()
790
-        this.name = _buf_.ReadString()
791
-        { 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);}}
792
-        { 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);}}
793
-        this.isShow = _buf_.ReadInt()
719
+        this.idx = _buf_.ReadInt()
720
+        this.remark = _buf_.ReadString()
721
+        this.skillId = _buf_.ReadInt()
722
+        this.skillType = _buf_.ReadInt()
723
+        this.cd = _buf_.ReadInt()
724
+        this.gridRange = _buf_.ReadInt()
725
+        this.range = _buf_.ReadInt()
726
+        this.triggerCondition = _buf_.ReadString()
727
+        this.effects = _buf_.ReadString()
728
+        this.buffId = _buf_.ReadString()
729
+        this.skillName = _buf_.ReadString()
730
+        this.desc = _buf_.ReadString()
731
+        this.conflictSkillId = _buf_.ReadInt()
794
     }
732
     }
795
 
733
 
796
     /**
734
     /**
797
-     * 英雄ID
735
+     * 主键id
798
      */
736
      */
799
-    readonly id: number
737
+    readonly idx: number
800
     /**
738
     /**
801
-     * 品质
739
+     * 备注
802
      */
740
      */
803
-    readonly quality: Quality
741
+    readonly remark: string
804
     /**
742
     /**
805
-     * 攻击类型
743
+     * 技能ID
806
      */
744
      */
807
-    readonly attacktype: AttackType
745
+    readonly skillId: number
808
     /**
746
     /**
809
-     * 名字
747
+     * 类型
810
      */
748
      */
811
-    readonly name: string
749
+    readonly skillType: number
812
     /**
750
     /**
813
-     * 技能列表
751
+     * 冷却时间
814
      */
752
      */
815
-    readonly skills: number[]
753
+    readonly cd: number
816
     /**
754
     /**
817
-     * 合成英雄公式
755
+     * 格子范围
818
      */
756
      */
819
-    readonly composeheros: number[]
757
+    readonly gridRange: number
820
     /**
758
     /**
821
-     * 是否测试
759
+     * 攻击距离
822
      */
760
      */
823
-    readonly isShow: number
761
+    readonly range: number
762
+    /**
763
+     * 技能触发条件
764
+     */
765
+    readonly triggerCondition: string
766
+    /**
767
+     * 效果列表
768
+     */
769
+    readonly effects: string
770
+    /**
771
+     * buff
772
+     */
773
+    readonly buffId: string
774
+    /**
775
+     * 技能名字
776
+     */
777
+    readonly skillName: string
778
+    /**
779
+     * 技能描述
780
+     */
781
+    readonly desc: string
782
+    /**
783
+     * 冲突的技能id
784
+     */
785
+    readonly conflictSkillId: number
824
 
786
 
825
     resolve(tables:Tables) {
787
     resolve(tables:Tables) {
826
         
788
         
@@ -830,6 +792,44 @@ export class Hero {
830
         
792
         
831
         
793
         
832
         
794
         
795
+        
796
+        
797
+        
798
+        
799
+        
800
+        
801
+    }
802
+}
803
+
804
+
805
+
806
+
807
+
808
+export class System {
809
+
810
+    constructor(_buf_: ByteBuf) {
811
+        this.idx = _buf_.ReadInt()
812
+        this.mainKey = _buf_.ReadString()
813
+        this.value = _buf_.ReadString()
814
+    }
815
+
816
+    /**
817
+     * IDX
818
+     */
819
+    readonly idx: number
820
+    /**
821
+     * 常量主键
822
+     */
823
+    readonly mainKey: string
824
+    /**
825
+     * 常量值
826
+     */
827
+    readonly value: string
828
+
829
+    resolve(tables:Tables) {
830
+        
831
+        
832
+        
833
     }
833
     }
834
 }
834
 }
835
 
835