20 lines
430 B
TypeScript
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;
|
|
}
|
|
} |