-
회 의 실
-
기 밀 실
+
+
회 의 실
+
+ Toggle Dropdown
+
+
+
부대 편성
@@ -12,6 +27,7 @@
내 무 부
사 령 부
NPC 정책
+
개인 전략
암 행 부
diff --git a/hwe/ts/components/MainControlDropdown.vue b/hwe/ts/components/MainControlDropdown.vue
index e40e45ae..3d84c845 100644
--- a/hwe/ts/components/MainControlDropdown.vue
+++ b/hwe/ts/components/MainControlDropdown.vue
@@ -12,6 +12,7 @@
내무부
사령부
NPC 정책
+
개인 전략
암행부 {
+ insertCustomCSS();
+});
+installVue3Components(createApp(UserAction)).mount('#app')
\ No newline at end of file
diff --git a/hwe/v_userAction.php b/hwe/v_userAction.php
new file mode 100644
index 00000000..bc991ee4
--- /dev/null
+++ b/hwe/v_userAction.php
@@ -0,0 +1,54 @@
+setReadOnly();
+$userID = Session::getUserID();
+
+$db = DB::db();
+$gameStor = KVStorage::getStorage($db, 'game_env');
+$gameStor->cacheValues(['autorun_user', 'develcost']);
+
+//TODO: 개인 전략 옵션이 활성화된 경우여야만 함!
+
+increaseRefresh("개인 전략", 1);
+
+$me = $db->queryFirstRow(
+ 'SELECT no, npc, nation, city, officer_level, refresh_score, turntime, belong, permission, penalty FROM `general`
+ LEFT JOIN general_access_log AS l ON `general`.no = l.general_id WHERE owner=%i', $userID
+);
+
+$nationID = $me['nation'];
+$nation = $db->queryFirstRow('SELECT nation,level,name,color,type,gold,rice,bill,tech,rate,scout,war,secretlimit,capital FROM nation WHERE nation = %i', $nationID);
+
+$limitState = checkLimit($me['refresh_score']);
+if ($limitState >= 2) {
+ printLimitMsg($me['turntime']);
+ exit();
+}
+?>
+
+
+
+
+
+
+
+
+ = UniqueConst::$serverName ?>: 개인 전략
+ = WebUtil::printStaticValues(['staticValues' => [
+
+ ]]) ?>
+ = WebUtil::printJS('../d_shared/common_path.js', true) ?>
+ = WebUtil::printDist('vue', ['v_userAction'], true) ?>
+
+
+
+
+
+
+
+
\ No newline at end of file