wip ArgType 준비
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
import type { GeneralID } from "@/defs.js"
|
||||
|
||||
//TODO: 작성!!
|
||||
|
||||
export type DestGeneralArgType = {
|
||||
destGeneralID: GeneralID;
|
||||
}
|
||||
|
||||
export type DestCityArgType = {
|
||||
destCityID: string;
|
||||
}
|
||||
|
||||
export type DestNationArgType = {
|
||||
destNationID: string;
|
||||
}
|
||||
|
||||
export type ColorArgType = {
|
||||
color: string;
|
||||
}
|
||||
|
||||
export type TextArgType = {
|
||||
text: string;
|
||||
}
|
||||
|
||||
export type ArmyTypeArgType = {
|
||||
armyType: number;
|
||||
}
|
||||
|
||||
export type ArgType =
|
||||
| DestGeneralArgType
|
||||
| DestCityArgType
|
||||
| DestNationArgType
|
||||
;
|
||||
@@ -251,6 +251,16 @@ export type LogType = 'action' | 'battleBrief' | 'battle' | 'history';
|
||||
export type MessageType = 'private' | 'national' | 'public' | 'diplomacy' | 'system';
|
||||
|
||||
|
||||
export const enum ArmyClass {
|
||||
//기병
|
||||
cavalry = 0,
|
||||
//보병
|
||||
infantry = 1,
|
||||
//궁병
|
||||
archer = 2,
|
||||
|
||||
|
||||
}
|
||||
|
||||
//특수 숫자 정의
|
||||
//연 * 12 + 월
|
||||
|
||||
Reference in New Issue
Block a user