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
+1
View File
@@ -457,6 +457,7 @@ function getCoreTurn($nation, $level) {
function processCommand($no) {
$session = Session::getInstance();
$db = DB::db();
$gameStor = KVStorage::getStorage($db, 'game');
$connect=$db->get();
$query = "select npc,no,name,picture,imgsvr,nation,nations,city,troop,injury,leader,leader2,power,power2,intel,intel2,experience,dedication,level,gold,rice,crew,crewtype,train,atmos,weap,book,horse,item,turntime,makenation,makelimit,killturn,block,dedlevel,explevel,age,belong,personal,special,special2,term,turn0,dex0,dex10,dex20,dex30,dex40 from general where no='$no'";