18 lines
409 B
TypeScript
18 lines
409 B
TypeScript
import { fightResult } from '../fightControl/fightType';
|
|
import { ResGetList } from './hero/PtlGetList';
|
|
import { player } from './user/type';
|
|
|
|
|
|
export type ReqFightTest = {
|
|
player?: [Partial<player>, Partial<player>];
|
|
roles: [args[], args[]];
|
|
};
|
|
|
|
export type ResFightTest = {
|
|
result: fightResult;
|
|
};
|
|
|
|
type args = {
|
|
hero: Partial<ResGetList['list']['']>;
|
|
attr: { [k: string]: number; };
|
|
}; |