|
@@ -289,6 +289,124 @@ 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 Skill {
|
|
325
|
+
|
|
326
|
+ constructor(_buf_: ByteBuf) {
|
|
327
|
+ this.idx = _buf_.ReadInt()
|
|
328
|
+ this.remark = _buf_.ReadString()
|
|
329
|
+ this.skillId = _buf_.ReadInt()
|
|
330
|
+ this.level = _buf_.ReadInt()
|
|
331
|
+ this.skillType = _buf_.ReadInt()
|
|
332
|
+ this.cd = _buf_.ReadInt()
|
|
333
|
+ this.triggerCondition = _buf_.ReadString()
|
|
334
|
+ this.effects = _buf_.ReadString()
|
|
335
|
+ this.buffId = _buf_.ReadString()
|
|
336
|
+ this.skillName = _buf_.ReadString()
|
|
337
|
+ this.desc = _buf_.ReadString()
|
|
338
|
+ this.conflictSkillId = _buf_.ReadInt()
|
|
339
|
+ }
|
|
340
|
+
|
|
341
|
+ /**
|
|
342
|
+ * 主键id
|
|
343
|
+ */
|
|
344
|
+ readonly idx: number
|
|
345
|
+ /**
|
|
346
|
+ * 备注
|
|
347
|
+ */
|
|
348
|
+ readonly remark: string
|
|
349
|
+ /**
|
|
350
|
+ * 技能ID
|
|
351
|
+ */
|
|
352
|
+ readonly skillId: number
|
|
353
|
+ /**
|
|
354
|
+ * 等级
|
|
355
|
+ */
|
|
356
|
+ readonly level: number
|
|
357
|
+ /**
|
|
358
|
+ * 类型
|
|
359
|
+ */
|
|
360
|
+ readonly skillType: number
|
|
361
|
+ /**
|
|
362
|
+ * 冷却时间
|
|
363
|
+ */
|
|
364
|
+ readonly cd: number
|
|
365
|
+ /**
|
|
366
|
+ * 技能触发条件
|
|
367
|
+ */
|
|
368
|
+ readonly triggerCondition: string
|
|
369
|
+ /**
|
|
370
|
+ * 效果列表
|
|
371
|
+ */
|
|
372
|
+ readonly effects: string
|
|
373
|
+ /**
|
|
374
|
+ * buff
|
|
375
|
+ */
|
|
376
|
+ readonly buffId: string
|
|
377
|
+ /**
|
|
378
|
+ * 技能名字
|
|
379
|
+ */
|
|
380
|
+ readonly skillName: string
|
|
381
|
+ /**
|
|
382
|
+ * 技能描述
|
|
383
|
+ */
|
|
384
|
+ readonly desc: string
|
|
385
|
+ /**
|
|
386
|
+ * 冲突的技能id
|
|
387
|
+ */
|
|
388
|
+ readonly conflictSkillId: number
|
|
389
|
+
|
|
390
|
+ resolve(tables:Tables) {
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+ }
|
|
404
|
+}
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
292
|
410
|
export class WaveRewards {
|
293
|
411
|
|
294
|
412
|
constructor(_buf_: ByteBuf) {
|
|
@@ -437,71 +555,36 @@ export class SkillBuff {
|
437
|
555
|
|
438
|
556
|
|
439
|
557
|
|
440
|
|
-export class Skill {
|
|
558
|
+export class Hero {
|
441
|
559
|
|
442
|
560
|
constructor(_buf_: ByteBuf) {
|
443
|
|
- this.idx = _buf_.ReadInt()
|
444
|
|
- this.remark = _buf_.ReadString()
|
445
|
|
- this.skillId = _buf_.ReadInt()
|
446
|
|
- this.level = _buf_.ReadInt()
|
447
|
|
- this.skillType = _buf_.ReadInt()
|
448
|
|
- this.cd = _buf_.ReadInt()
|
449
|
|
- this.triggerCondition = _buf_.ReadString()
|
450
|
|
- this.effects = _buf_.ReadString()
|
451
|
|
- this.buffId = _buf_.ReadString()
|
452
|
|
- this.skillName = _buf_.ReadString()
|
453
|
|
- this.desc = _buf_.ReadString()
|
454
|
|
- this.conflictSkillId = _buf_.ReadInt()
|
|
561
|
+ this.id = _buf_.ReadInt()
|
|
562
|
+ this.quality = _buf_.ReadInt()
|
|
563
|
+ this.attacktype = _buf_.ReadInt()
|
|
564
|
+ this.name = _buf_.ReadString()
|
|
565
|
+ { 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);}}
|
455
|
566
|
}
|
456
|
567
|
|
457
|
568
|
/**
|
458
|
|
- * 主键id
|
459
|
|
- */
|
460
|
|
- readonly idx: number
|
461
|
|
- /**
|
462
|
|
- * 备注
|
463
|
|
- */
|
464
|
|
- readonly remark: string
|
465
|
|
- /**
|
466
|
|
- * 技能ID
|
467
|
|
- */
|
468
|
|
- readonly skillId: number
|
469
|
|
- /**
|
470
|
|
- * 等级
|
471
|
|
- */
|
472
|
|
- readonly level: number
|
473
|
|
- /**
|
474
|
|
- * 类型
|
475
|
|
- */
|
476
|
|
- readonly skillType: number
|
477
|
|
- /**
|
478
|
|
- * 冷却时间
|
479
|
|
- */
|
480
|
|
- readonly cd: number
|
481
|
|
- /**
|
482
|
|
- * 技能触发条件
|
483
|
|
- */
|
484
|
|
- readonly triggerCondition: string
|
485
|
|
- /**
|
486
|
|
- * 效果列表
|
|
569
|
+ * 英雄ID
|
487
|
570
|
*/
|
488
|
|
- readonly effects: string
|
|
571
|
+ readonly id: number
|
489
|
572
|
/**
|
490
|
|
- * buff
|
|
573
|
+ * 品质
|
491
|
574
|
*/
|
492
|
|
- readonly buffId: string
|
|
575
|
+ readonly quality: Quality
|
493
|
576
|
/**
|
494
|
|
- * 技能名字
|
|
577
|
+ * 攻击类型
|
495
|
578
|
*/
|
496
|
|
- readonly skillName: string
|
|
579
|
+ readonly attacktype: AttackType
|
497
|
580
|
/**
|
498
|
|
- * 技能描述
|
|
581
|
+ * 名字
|
499
|
582
|
*/
|
500
|
|
- readonly desc: string
|
|
583
|
+ readonly name: string
|
501
|
584
|
/**
|
502
|
|
- * 冲突的技能id
|
|
585
|
+ * 技能列表
|
503
|
586
|
*/
|
504
|
|
- readonly conflictSkillId: number
|
|
587
|
+ readonly skills: number[]
|
505
|
588
|
|
506
|
589
|
resolve(tables:Tables) {
|
507
|
590
|
|
|
@@ -509,45 +592,6 @@ export class Skill {
|
509
|
592
|
|
510
|
593
|
|
511
|
594
|
|
512
|
|
-
|
513
|
|
-
|
514
|
|
-
|
515
|
|
-
|
516
|
|
-
|
517
|
|
-
|
518
|
|
-
|
519
|
|
- }
|
520
|
|
-}
|
521
|
|
-
|
522
|
|
-
|
523
|
|
-
|
524
|
|
-
|
525
|
|
-
|
526
|
|
-export class System {
|
527
|
|
-
|
528
|
|
- constructor(_buf_: ByteBuf) {
|
529
|
|
- this.idx = _buf_.ReadInt()
|
530
|
|
- this.mainKey = _buf_.ReadString()
|
531
|
|
- this.value = _buf_.ReadString()
|
532
|
|
- }
|
533
|
|
-
|
534
|
|
- /**
|
535
|
|
- * IDX
|
536
|
|
- */
|
537
|
|
- readonly idx: number
|
538
|
|
- /**
|
539
|
|
- * 常量主键
|
540
|
|
- */
|
541
|
|
- readonly mainKey: string
|
542
|
|
- /**
|
543
|
|
- * 常量值
|
544
|
|
- */
|
545
|
|
- readonly value: string
|
546
|
|
-
|
547
|
|
- resolve(tables:Tables) {
|
548
|
|
-
|
549
|
|
-
|
550
|
|
-
|
551
|
595
|
}
|
552
|
596
|
}
|
553
|
597
|
|
|
@@ -587,50 +631,6 @@ export class Item {
|
587
|
631
|
|
588
|
632
|
|
589
|
633
|
|
590
|
|
-export class Hero {
|
591
|
|
-
|
592
|
|
- constructor(_buf_: ByteBuf) {
|
593
|
|
- this.id = _buf_.ReadInt()
|
594
|
|
- this.quality = _buf_.ReadInt()
|
595
|
|
- this.attacktype = _buf_.ReadInt()
|
596
|
|
- this.name = _buf_.ReadString()
|
597
|
|
- { 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);}}
|
598
|
|
- }
|
599
|
|
-
|
600
|
|
- /**
|
601
|
|
- * 英雄ID
|
602
|
|
- */
|
603
|
|
- readonly id: number
|
604
|
|
- /**
|
605
|
|
- * 品质
|
606
|
|
- */
|
607
|
|
- readonly quality: Quality
|
608
|
|
- /**
|
609
|
|
- * 攻击类型
|
610
|
|
- */
|
611
|
|
- readonly attacktype: AttackType
|
612
|
|
- /**
|
613
|
|
- * 名字
|
614
|
|
- */
|
615
|
|
- readonly name: string
|
616
|
|
- /**
|
617
|
|
- * 技能列表
|
618
|
|
- */
|
619
|
|
- readonly skills: number[]
|
620
|
|
-
|
621
|
|
- resolve(tables:Tables) {
|
622
|
|
-
|
623
|
|
-
|
624
|
|
-
|
625
|
|
-
|
626
|
|
-
|
627
|
|
- }
|
628
|
|
-}
|
629
|
|
-
|
630
|
|
-
|
631
|
|
-
|
632
|
|
-
|
633
|
|
-
|
634
|
634
|
export class Wave {
|
635
|
635
|
|
636
|
636
|
constructor(_buf_: ByteBuf) {
|