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

This commit is contained in:
2021-09-15 19:06:15 +00:00
committed by Gitea
parent 1ed27c4c94
commit f06adcb15d
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;