KVStorage로 game 테이블 대체 준비
This commit is contained in:
@@ -8,6 +8,7 @@ namespace sammo;
|
||||
//1월마다 실행
|
||||
function processSpring() {
|
||||
$db = DB::db();
|
||||
$gameStor = KVStorage::getStorage($db, 'game');
|
||||
$connect=$db->get();
|
||||
|
||||
//인구 증가
|
||||
@@ -369,6 +370,7 @@ function processFall() {
|
||||
|
||||
function processRiceIncome() {
|
||||
$db = DB::db();
|
||||
$gameStor = KVStorage::getStorage($db, 'game');
|
||||
$connect=$db->get();
|
||||
|
||||
$query = "select year,month,rice_rate from game limit 1";
|
||||
@@ -570,6 +572,7 @@ function tradeRate() {
|
||||
|
||||
function disaster() {
|
||||
$db = DB::db();
|
||||
$gameStor = KVStorage::getStorage($db, 'game');
|
||||
$connect=$db->get();
|
||||
|
||||
$query = "select startyear,year,month from game limit 1";
|
||||
|
||||
Reference in New Issue
Block a user