refac: 값 정리

This commit is contained in:
2024-03-09 05:58:17 +00:00
parent 3ba5793755
commit 66c8261438
7 changed files with 104 additions and 9 deletions
+20 -1
View File
@@ -1,4 +1,6 @@
import type { ValuesOf } from "@sammo/util";
import type * as IMethod from "./IActionMethod.js";
import type { ItemKeyType } from "./defs.js";
export type * as IMethod from "./IActionMethod.js";
export interface IActionMethod extends
@@ -20,4 +22,21 @@ export interface IAction extends Partial<IActionMethod> {
getName(): string;
getInfo(): string[] | string;
}
}
export const IActionOrder = [
'nationType',
'officerLevel',
'specialityDomestic',
'specialityWar',
'personlity',
'crewType',
'inheritBuff',
'scenarioEffect',
'horse',
'weapon',
'book',
'item',
];
export type IActionKey = ValuesOf<IAction>;