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

This commit is contained in:
2021-09-12 15:05:21 +09:00
parent 98567c3509
commit 6ca42cbf62
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;