feat: 중원정보, 연감에서 쓰는 단순 국가정보 component

This commit is contained in:
2022-04-20 20:59:10 +09:00
parent 15f5bfbd84
commit e014bc05e8
2 changed files with 86 additions and 1 deletions
+14 -1
View File
@@ -1,6 +1,6 @@
import type { Args } from "@/processing/args";
import type { ValidResponse, InvalidResponse } from "@/util/callSammoAPI";
import type { GameObjClassKey } from "./GameObj";
import type { GameIActionKey, GameObjClassKey } from "./GameObj";
export type { ValidResponse, InvalidResponse };
export type BasicGeneralListResponse = {
@@ -247,4 +247,17 @@ export type MapResult = {
theme?: string,
history?: string[],
}
export type SimpleNationObj = {
capital: number,
cities: string[],
color: string,
gennum: number,
level: number,
name: string,
nation: number,
power: number,
type: GameIActionKey
}