From e014bc05e8276b0e240383b7575067ece03a3e0a Mon Sep 17 00:00:00 2001 From: Hide_D Date: Tue, 19 Apr 2022 02:43:35 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=A4=91=EC=9B=90=EC=A0=95=EB=B3=B4,?= =?UTF-8?q?=20=EC=97=B0=EA=B0=90=EC=97=90=EC=84=9C=20=EC=93=B0=EB=8A=94=20?= =?UTF-8?q?=EB=8B=A8=EC=88=9C=20=EA=B5=AD=EA=B0=80=EC=A0=95=EB=B3=B4=20com?= =?UTF-8?q?ponent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/ts/components/SimpleNationList.vue | 72 ++++++++++++++++++++++++++ hwe/ts/defs/index.ts | 15 +++++- 2 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 hwe/ts/components/SimpleNationList.vue diff --git a/hwe/ts/components/SimpleNationList.vue b/hwe/ts/components/SimpleNationList.vue new file mode 100644 index 00000000..e5599653 --- /dev/null +++ b/hwe/ts/components/SimpleNationList.vue @@ -0,0 +1,72 @@ + + + + + diff --git a/hwe/ts/defs/index.ts b/hwe/ts/defs/index.ts index fce1617c..d1cdd8b8 100644 --- a/hwe/ts/defs/index.ts +++ b/hwe/ts/defs/index.ts @@ -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 } \ No newline at end of file