浏览代码

auto config export

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

+ 115 - 115
schema/schema.ts

@@ -289,38 +289,6 @@ export class Cost {
289
 
289
 
290
 
290
 
291
 
291
 
292
-export class System {
293
-
294
-    constructor(_buf_: ByteBuf) {
295
-        this.idx = _buf_.ReadInt()
296
-        this.mainKey = _buf_.ReadString()
297
-        this.value = _buf_.ReadString()
298
-    }
299
-
300
-    /**
301
-     * IDX
302
-     */
303
-    readonly idx: number
304
-    /**
305
-     * 常量主键
306
-     */
307
-    readonly mainKey: string
308
-    /**
309
-     * 常量值
310
-     */
311
-    readonly value: string
312
-
313
-    resolve(tables:Tables) {
314
-        
315
-        
316
-        
317
-    }
318
-}
319
-
320
-
321
-
322
-
323
-
324
 export class SkillBuff {
292
 export class SkillBuff {
325
 
293
 
326
     constructor(_buf_: ByteBuf) {
294
     constructor(_buf_: ByteBuf) {
@@ -425,31 +393,85 @@ export class SkillBuff {
425
 
393
 
426
 
394
 
427
 
395
 
428
-export class Item {
396
+export class Skill {
429
 
397
 
430
     constructor(_buf_: ByteBuf) {
398
     constructor(_buf_: ByteBuf) {
431
         this.idx = _buf_.ReadInt()
399
         this.idx = _buf_.ReadInt()
432
-        this.type = _buf_.ReadInt()
433
-        this.name = _buf_.ReadString()
400
+        this.remark = _buf_.ReadString()
401
+        this.skillId = _buf_.ReadInt()
402
+        this.skillType = _buf_.ReadInt()
403
+        this.cd = _buf_.ReadInt()
404
+        this.range = _buf_.ReadInt()
405
+        this.triggerCondition = _buf_.ReadString()
406
+        this.effects = _buf_.ReadString()
407
+        this.buffId = _buf_.ReadString()
408
+        this.skillName = _buf_.ReadString()
409
+        this.desc = _buf_.ReadString()
410
+        this.conflictSkillId = _buf_.ReadInt()
434
     }
411
     }
435
 
412
 
436
     /**
413
     /**
437
-     * 道具ID
414
+     * 主键id
438
      */
415
      */
439
     readonly idx: number
416
     readonly idx: number
440
     /**
417
     /**
418
+     * 备注
419
+     */
420
+    readonly remark: string
421
+    /**
422
+     * 技能ID
423
+     */
424
+    readonly skillId: number
425
+    /**
441
      * 类型
426
      * 类型
442
      */
427
      */
443
-    readonly type: number
428
+    readonly skillType: number
444
     /**
429
     /**
445
-     * 道具名
430
+     * 冷却时间
446
      */
431
      */
447
-    readonly name: string
432
+    readonly cd: number
433
+    /**
434
+     * 攻击距离
435
+     */
436
+    readonly range: number
437
+    /**
438
+     * 技能触发条件
439
+     */
440
+    readonly triggerCondition: string
441
+    /**
442
+     * 效果列表
443
+     */
444
+    readonly effects: string
445
+    /**
446
+     * buff
447
+     */
448
+    readonly buffId: string
449
+    /**
450
+     * 技能名字
451
+     */
452
+    readonly skillName: string
453
+    /**
454
+     * 技能描述
455
+     */
456
+    readonly desc: string
457
+    /**
458
+     * 冲突的技能id
459
+     */
460
+    readonly conflictSkillId: number
448
 
461
 
449
     resolve(tables:Tables) {
462
     resolve(tables:Tables) {
450
         
463
         
451
         
464
         
452
         
465
         
466
+        
467
+        
468
+        
469
+        
470
+        
471
+        
472
+        
473
+        
474
+        
453
     }
475
     }
454
 }
476
 }
455
 
477
 
@@ -501,49 +523,63 @@ export class WaveRewards {
501
 
523
 
502
 
524
 
503
 
525
 
504
-export class Hero {
526
+export class Item {
505
 
527
 
506
     constructor(_buf_: ByteBuf) {
528
     constructor(_buf_: ByteBuf) {
507
-        this.id = _buf_.ReadInt()
508
-        this.quality = _buf_.ReadInt()
509
-        this.attacktype = _buf_.ReadInt()
529
+        this.idx = _buf_.ReadInt()
530
+        this.type = _buf_.ReadInt()
510
         this.name = _buf_.ReadString()
531
         this.name = _buf_.ReadString()
511
-        { 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);}}
512
-        this.isShow = _buf_.ReadInt()
513
     }
532
     }
514
 
533
 
515
     /**
534
     /**
516
-     * 英雄ID
535
+     * 道具ID
517
      */
536
      */
518
-    readonly id: number
537
+    readonly idx: number
519
     /**
538
     /**
520
-     * 品质
539
+     * 类型
521
      */
540
      */
522
-    readonly quality: Quality
541
+    readonly type: number
523
     /**
542
     /**
524
-     * 攻击类型
543
+     * 道具名
525
      */
544
      */
526
-    readonly attacktype: AttackType
545
+    readonly name: string
546
+
547
+    resolve(tables:Tables) {
548
+        
549
+        
550
+        
551
+    }
552
+}
553
+
554
+
555
+
556
+
557
+
558
+export class System {
559
+
560
+    constructor(_buf_: ByteBuf) {
561
+        this.idx = _buf_.ReadInt()
562
+        this.mainKey = _buf_.ReadString()
563
+        this.value = _buf_.ReadString()
564
+    }
565
+
527
     /**
566
     /**
528
-     * 名字
567
+     * IDX
529
      */
568
      */
530
-    readonly name: string
569
+    readonly idx: number
531
     /**
570
     /**
532
-     * 技能列表
571
+     * 常量主键
533
      */
572
      */
534
-    readonly skills: number[]
573
+    readonly mainKey: string
535
     /**
574
     /**
536
-     * 是否测试
575
+     * 常量值
537
      */
576
      */
538
-    readonly isShow: number
577
+    readonly value: string
539
 
578
 
540
     resolve(tables:Tables) {
579
     resolve(tables:Tables) {
541
         
580
         
542
         
581
         
543
         
582
         
544
-        
545
-        
546
-        
547
     }
583
     }
548
 }
584
 }
549
 
585
 
@@ -631,71 +667,41 @@ export class Wave {
631
 
667
 
632
 
668
 
633
 
669
 
634
-export class Skill {
670
+export class Hero {
635
 
671
 
636
     constructor(_buf_: ByteBuf) {
672
     constructor(_buf_: ByteBuf) {
637
-        this.idx = _buf_.ReadInt()
638
-        this.remark = _buf_.ReadString()
639
-        this.skillId = _buf_.ReadInt()
640
-        this.skillType = _buf_.ReadInt()
641
-        this.cd = _buf_.ReadInt()
642
-        this.range = _buf_.ReadInt()
643
-        this.triggerCondition = _buf_.ReadString()
644
-        this.effects = _buf_.ReadString()
645
-        this.buffId = _buf_.ReadString()
646
-        this.skillName = _buf_.ReadString()
647
-        this.desc = _buf_.ReadString()
648
-        this.conflictSkillId = _buf_.ReadInt()
673
+        this.id = _buf_.ReadInt()
674
+        this.quality = _buf_.ReadInt()
675
+        this.attacktype = _buf_.ReadInt()
676
+        this.name = _buf_.ReadString()
677
+        { 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);}}
678
+        this.isShow = _buf_.ReadInt()
649
     }
679
     }
650
 
680
 
651
     /**
681
     /**
652
-     * 主键id
653
-     */
654
-    readonly idx: number
655
-    /**
656
-     * 备注
657
-     */
658
-    readonly remark: string
659
-    /**
660
-     * 技能ID
661
-     */
662
-    readonly skillId: number
663
-    /**
664
-     * 类型
665
-     */
666
-    readonly skillType: number
667
-    /**
668
-     * 冷却时间
669
-     */
670
-    readonly cd: number
671
-    /**
672
-     * 攻击距离
673
-     */
674
-    readonly range: number
675
-    /**
676
-     * 技能触发条件
682
+     * 英雄ID
677
      */
683
      */
678
-    readonly triggerCondition: string
684
+    readonly id: number
679
     /**
685
     /**
680
-     * 效果列表
686
+     * 品质
681
      */
687
      */
682
-    readonly effects: string
688
+    readonly quality: Quality
683
     /**
689
     /**
684
-     * buff
690
+     * 攻击类型
685
      */
691
      */
686
-    readonly buffId: string
692
+    readonly attacktype: AttackType
687
     /**
693
     /**
688
-     * 技能名字
694
+     * 名字
689
      */
695
      */
690
-    readonly skillName: string
696
+    readonly name: string
691
     /**
697
     /**
692
-     * 技能描述
698
+     * 技能列表
693
      */
699
      */
694
-    readonly desc: string
700
+    readonly skills: number[]
695
     /**
701
     /**
696
-     * 冲突的技能id
702
+     * 是否测试
697
      */
703
      */
698
-    readonly conflictSkillId: number
704
+    readonly isShow: number
699
 
705
 
700
     resolve(tables:Tables) {
706
     resolve(tables:Tables) {
701
         
707
         
@@ -704,12 +710,6 @@ export class Skill {
704
         
710
         
705
         
711
         
706
         
712
         
707
-        
708
-        
709
-        
710
-        
711
-        
712
-        
713
     }
713
     }
714
 }
714
 }
715
 
715