feat: 요술, 빠진 부분 채우기

This commit is contained in:
2023-12-25 15:45:02 +00:00
parent 05eb4366b1
commit 4edb994ac9
10 changed files with 165 additions and 4 deletions
@@ -27,13 +27,15 @@ class GetUserActionCommandTable extends \sammo\BaseAPI
public function launch(Session $session, ?\DateTimeInterface $modifiedSince, ?string $reqEtag): null | string | array | APIRecoveryType
{
$generalID = $session->generalID;
$general = General::createObjFromDB($generalID);
$db = DB::db();
$gameStor = KVStorage::getStorage($db, 'game_env');
$gameStor->turnOnCache();
$env = $gameStor->getAll();
$general = General::createObjFromDB($generalID);
$commandTable = [];
foreach (GameConst::$availableUserActionCommand as $commandCategory => $commandList) {
$subList = [];