api: gateway, ingame 모두 가능하도록 변경

This commit is contained in:
2021-09-15 19:06:15 +00:00
committed by Gitea
parent b726c6aa96
commit 1df55f9168
5 changed files with 112 additions and 86 deletions
+3 -1
View File
@@ -10,8 +10,10 @@ abstract class BaseAPI
const REQ_READ_ONLY = 4;
protected array $args;
public function __construct(array $args)
protected string $rootPath;
public function __construct(string $rootPath, array $args)
{
$this->rootPath = $rootPath;
$this->args = $args;
}
abstract public function getRequiredSessionMode(): int;