Bläddra i källkod

auto config export

Hua 11 månader sedan
förälder
incheckning
bf143ff130
1 ändrade filer med 125 tillägg och 125 borttagningar
  1. 125 125
      schema/schema.ts

+ 125 - 125
schema/schema.ts

@@ -289,92 +289,6 @@ export class Cost {
289 289
 
290 290
 
291 291
 
292
-export class Skill {
293
-
294
-    constructor(_buf_: ByteBuf) {
295
-        this.idx = _buf_.ReadInt()
296
-        this.remark = _buf_.ReadString()
297
-        this.skillId = _buf_.ReadInt()
298
-        this.level = _buf_.ReadInt()
299
-        this.skillType = _buf_.ReadInt()
300
-        this.cd = _buf_.ReadInt()
301
-        this.triggerCondition = _buf_.ReadString()
302
-        this.effects = _buf_.ReadString()
303
-        this.buffId = _buf_.ReadString()
304
-        this.skillName = _buf_.ReadString()
305
-        this.desc = _buf_.ReadString()
306
-        this.conflictSkillId = _buf_.ReadInt()
307
-    }
308
-
309
-    /**
310
-     * 主键id
311
-     */
312
-    readonly idx: number
313
-    /**
314
-     * 备注
315
-     */
316
-    readonly remark: string
317
-    /**
318
-     * 技能ID
319
-     */
320
-    readonly skillId: number
321
-    /**
322
-     * 等级
323
-     */
324
-    readonly level: number
325
-    /**
326
-     * 类型
327
-     */
328
-    readonly skillType: number
329
-    /**
330
-     * 冷却时间
331
-     */
332
-    readonly cd: number
333
-    /**
334
-     * 技能触发条件
335
-     */
336
-    readonly triggerCondition: string
337
-    /**
338
-     * 效果列表
339
-     */
340
-    readonly effects: string
341
-    /**
342
-     * buff
343
-     */
344
-    readonly buffId: string
345
-    /**
346
-     * 技能名字
347
-     */
348
-    readonly skillName: string
349
-    /**
350
-     * 技能描述
351
-     */
352
-    readonly desc: string
353
-    /**
354
-     * 冲突的技能id
355
-     */
356
-    readonly conflictSkillId: number
357
-
358
-    resolve(tables:Tables) {
359
-        
360
-        
361
-        
362
-        
363
-        
364
-        
365
-        
366
-        
367
-        
368
-        
369
-        
370
-        
371
-    }
372
-}
373
-
374
-
375
-
376
-
377
-
378 292
 export class SkillBuff {
379 293
 
380 294
     constructor(_buf_: ByteBuf) {
@@ -479,68 +393,71 @@ export class SkillBuff {
479 393
 
480 394
 
481 395
 
482
-export class Item {
396
+export class Skill {
483 397
 
484 398
     constructor(_buf_: ByteBuf) {
485 399
         this.idx = _buf_.ReadInt()
486
-        this.type = _buf_.ReadInt()
487
-        this.name = _buf_.ReadString()
400
+        this.remark = _buf_.ReadString()
401
+        this.skillId = _buf_.ReadInt()
402
+        this.level = _buf_.ReadInt()
403
+        this.skillType = _buf_.ReadInt()
404
+        this.cd = _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()
488 411
     }
489 412
 
490 413
     /**
491
-     * 道具ID
414
+     * 主键id
492 415
      */
493 416
     readonly idx: number
494 417
     /**
418
+     * 备注
419
+     */
420
+    readonly remark: string
421
+    /**
422
+     * 技能ID
423
+     */
424
+    readonly skillId: number
425
+    /**
426
+     * 等级
427
+     */
428
+    readonly level: number
429
+    /**
495 430
      * 类型
496 431
      */
497
-    readonly type: number
432
+    readonly skillType: number
498 433
     /**
499
-     * 道具名
434
+     * 冷却时间
500 435
      */
501
-    readonly name: string
502
-
503
-    resolve(tables:Tables) {
504
-        
505
-        
506
-        
507
-    }
508
-}
509
-
510
-
511
-
512
-
513
-
514
-export class Hero {
515
-
516
-    constructor(_buf_: ByteBuf) {
517
-        this.id = _buf_.ReadInt()
518
-        this.quality = _buf_.ReadInt()
519
-        this.attacktype = _buf_.ReadInt()
520
-        this.name = _buf_.ReadString()
521
-        { 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);}}
522
-    }
523
-
436
+    readonly cd: number
524 437
     /**
525
-     * 英雄ID
438
+     * 技能触发条件
526 439
      */
527
-    readonly id: number
440
+    readonly triggerCondition: string
528 441
     /**
529
-     * 品质
442
+     * 效果列表
530 443
      */
531
-    readonly quality: Quality
444
+    readonly effects: string
532 445
     /**
533
-     * 攻击类型
446
+     * buff
534 447
      */
535
-    readonly attacktype: AttackType
448
+    readonly buffId: string
536 449
     /**
537
-     * 名字
450
+     * 技能名字
538 451
      */
539
-    readonly name: string
452
+    readonly skillName: string
540 453
     /**
541
-     * 技能列表
454
+     * 技能描述
542 455
      */
543
-    readonly skills: number[]
456
+    readonly desc: string
457
+    /**
458
+     * 冲突的技能id
459
+     */
460
+    readonly conflictSkillId: number
544 461
 
545 462
     resolve(tables:Tables) {
546 463
         
@@ -548,6 +465,13 @@ export class Hero {
548 465
         
549 466
         
550 467
         
468
+        
469
+        
470
+        
471
+        
472
+        
473
+        
474
+        
551 475
     }
552 476
 }
553 477
 
@@ -631,6 +555,38 @@ export class System {
631 555
 
632 556
 
633 557
 
558
+export class Item {
559
+
560
+    constructor(_buf_: ByteBuf) {
561
+        this.idx = _buf_.ReadInt()
562
+        this.type = _buf_.ReadInt()
563
+        this.name = _buf_.ReadString()
564
+    }
565
+
566
+    /**
567
+     * 道具ID
568
+     */
569
+    readonly idx: number
570
+    /**
571
+     * 类型
572
+     */
573
+    readonly type: number
574
+    /**
575
+     * 道具名
576
+     */
577
+    readonly name: string
578
+
579
+    resolve(tables:Tables) {
580
+        
581
+        
582
+        
583
+    }
584
+}
585
+
586
+
587
+
588
+
589
+
634 590
 export class Wave {
635 591
 
636 592
     constructor(_buf_: ByteBuf) {
@@ -711,6 +667,50 @@ export class Wave {
711 667
 
712 668
 
713 669
 
670
+export class Hero {
671
+
672
+    constructor(_buf_: ByteBuf) {
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
+    }
679
+
680
+    /**
681
+     * 英雄ID
682
+     */
683
+    readonly id: number
684
+    /**
685
+     * 品质
686
+     */
687
+    readonly quality: Quality
688
+    /**
689
+     * 攻击类型
690
+     */
691
+    readonly attacktype: AttackType
692
+    /**
693
+     * 名字
694
+     */
695
+    readonly name: string
696
+    /**
697
+     * 技能列表
698
+     */
699
+    readonly skills: number[]
700
+
701
+    resolve(tables:Tables) {
702
+        
703
+        
704
+        
705
+        
706
+        
707
+    }
708
+}
709
+
710
+
711
+
712
+
713
+
714 714
 export class HeroLevel {
715 715
 
716 716
     constructor(_buf_: ByteBuf) {