KVStorage로 game 테이블 대체 준비

This commit is contained in:
2018-05-12 22:05:44 +09:00
parent 5e74a34d3e
commit 52f4b79fdf
65 changed files with 243 additions and 20 deletions
+2
View File
@@ -165,6 +165,7 @@ function SetCrew($no, $personal, $gold, $leader, $genType, $tech, $region, $city
function processAI($no) {
$db = DB::db();
$gameStor = KVStorage::getStorage($db, 'game');
$connect=$db->get();
$query = "select startyear,year,month,turnterm,scenario,gold_rate,rice_rate from game limit 1";
@@ -1045,6 +1046,7 @@ function processAI($no) {
function Promotion($nation, $level) {
$db = DB::db();
$gameStor = KVStorage::getStorage($db, 'game');
$connect=$db->get();
$lv = getNationChiefLevel($level);