From 94ab0406934595c005777e847efea126c7218a54 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 18 Dec 2021 05:08:53 +0900 Subject: [PATCH] =?UTF-8?q?feat(WIP):=20processing=20=EC=B6=9C=EB=B3=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Command/General/che_이동.php | 21 ------ hwe/sammo/Command/General/che_출병.php | 22 +----- hwe/ts/map.ts | 3 +- hwe/ts/processing/General/che_출병.vue | 95 ++++++++++++++++++++++++++ hwe/ts/processing/General/index.ts | 3 +- 5 files changed, 102 insertions(+), 42 deletions(-) create mode 100644 hwe/ts/processing/General/che_출병.vue diff --git a/hwe/sammo/Command/General/che_이동.php b/hwe/sammo/Command/General/che_이동.php index 4af17d41..92a60d5f 100644 --- a/hwe/sammo/Command/General/che_이동.php +++ b/hwe/sammo/Command/General/che_이동.php @@ -186,25 +186,4 @@ class che_이동 extends Command\GeneralCommand 'distanceList' => \sammo\JSCitiesBasedOnDistance($this->generalObj->getCityID(), 1), ]; } - - public function getForm(): string - { - $currentCityID = $this->generalObj->getCityID(); - $currentCityName = CityConst::byID($currentCityID)->name; - - ob_start(); -?> -
- 선택된 도시로 이동합니다.
- 인접 도시로만 이동이 가능합니다.
- 목록을 선택하거나 도시를 클릭하세요.
- =>
-
-
- - \sammo\JSOptionsForCities(), + 'mapTheme' => \sammo\getMapTheme(), ]; } - - public function getForm(): string - { - $srcCityName = \sammo\CityConst::byID($this->generalObj->getCityID())->name; - ob_start(); -?> -
- 선택된 도시를 향해 침공을 합니다.
- 침공 경로에 적군의 도시가 있다면 전투를 벌입니다.
- 목록을 선택하거나 도시를 클릭하세요.
- =>
-
- + +
+ + +
+ 선택된 도시를 향해 침공을 합니다.
+ 침공 경로에 적군의 도시가 있다면 전투를 벌입니다.
+ 목록을 선택하거나 도시를 클릭하세요.
+
+
+
+ +
+
+ {{ commandName }} +
+
+
+ + + + diff --git a/hwe/ts/processing/General/index.ts b/hwe/ts/processing/General/index.ts index 8d1d5e1c..c7514e1b 100644 --- a/hwe/ts/processing/General/index.ts +++ b/hwe/ts/processing/General/index.ts @@ -1,2 +1,3 @@ export { default as che_강행 } from "./che_강행.vue"; -export { default as che_이동 } from "./che_이동.vue"; \ No newline at end of file +export { default as che_이동 } from "./che_이동.vue"; +export { default as che_출병 } from "./che_출병.vue"; \ No newline at end of file