Files
ZYZ/shared/domain/roleField/hero.ts
2021-11-09 19:24:00 +08:00

20 lines
430 B
TypeScript

import { HeroType, HeroUpdate } from '../../db/Hero';
export interface CreateHeroParam extends HeroUpdate {
hid: number;
count: number;
}
export class HeroShowParam {
hid: number;
seqId: number;
skinId: number;
quality: number;
constructor(hero: HeroType) {
this.hid = hero.hid;
this.seqId = hero.seqId;
this.skinId = hero.skinId;
this.quality = hero.quality;
}
}