NationEntity 추가 정의
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { CityID, NationID, NationName, NationType } from "../defs.js";
|
||||
import type { CityID, ColorType, IntYearMonth, NationCmdType, NationID, NationLevel, NationName, NationType, RemainMonth, ReservedTurn, StaffLevel, StrategicCmd } from "../defs.js";
|
||||
|
||||
export interface INationEntity{
|
||||
id: NationID;
|
||||
@@ -6,4 +6,56 @@ export interface INationEntity{
|
||||
type: NationType;
|
||||
|
||||
capitalID: CityID;
|
||||
color: ColorType;
|
||||
|
||||
level: NationLevel;
|
||||
|
||||
lastExecutedYearMonth: Record<
|
||||
'capitalSet'
|
||||
,number>;
|
||||
|
||||
//TODO: 이게 뭐더라
|
||||
capset: IntYearMonth;
|
||||
|
||||
strategicCmdLimit: Record<StrategicCmd, IntYearMonth>;
|
||||
|
||||
//세율
|
||||
taxRate: number;
|
||||
//지급율
|
||||
payRate: number;
|
||||
|
||||
gold: number;
|
||||
rice: number;
|
||||
|
||||
blockScout: boolean;
|
||||
blockWar: boolean;
|
||||
|
||||
//특수외교커맨드 제한
|
||||
specialDiplomacyCmdLimit: IntYearMonth;
|
||||
|
||||
//기술력
|
||||
technology: number;
|
||||
|
||||
//환산 국력
|
||||
power: number;
|
||||
|
||||
//첩보 제한
|
||||
spyLimit: Map<CityID, RemainMonth>;
|
||||
|
||||
//커맨드별 옵션
|
||||
commandOption: Map<NationCmdType, Map<string, unknown>>;
|
||||
|
||||
lastExecutedTurn: Map<StaffLevel, ReservedTurn>;
|
||||
|
||||
aux: {
|
||||
availableWarSettingCnt?: number;
|
||||
prevIncomeGold: number;
|
||||
prevIncomeRice: number;
|
||||
}
|
||||
|
||||
//TODO: 타입 정의
|
||||
nationPolicy: Record<string, unknown>;
|
||||
//TODO: 타입 정의
|
||||
npcPolicy: Record<string, unknown>;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user