feat(WIP): processing을 vue로 전환

This commit is contained in:
2021-12-18 04:36:06 +09:00
parent 4ca33cb007
commit 6c93d2fd85
24 changed files with 694 additions and 382 deletions
+8
View File
@@ -225,6 +225,14 @@ function formatName(string $name, int $npc): string
return $name;
}
function getMapTheme(): string
{
$db = DB::db();
$gameStor = KVStorage::getStorage($db, 'game_env');
$mapTheme = $gameStor->map_theme ?? 'che';
return $mapTheme;
}
function getMapHtml(?string $mapTheme = null)
{
$templates = new \League\Plates\Engine(__DIR__ . '/templates');