api: gateway, ingame 모두 가능하도록 변경
This commit is contained in:
1 parent
1ed27c4c94
commit
f06adcb15d
5 files changed
+112
-86
No files matched your search
@@ -377,9 +377,9 @@ function getAPIExecutorClass($path){
|
||||
throw new \InvalidArgumentException("{$path}는 올바른 API 경로가 아님");
|
||||
}
|
||||
|
||||
function buildAPIExecutorClass(string $type, array $args):\sammo\BaseAPI{
|
||||
function buildAPIExecutorClass(string $type, string $rootPath, array $args):\sammo\BaseAPI{
|
||||
$class = getAPIExecutorClass($type);
|
||||
return new $class($args);
|
||||
return new $class($rootPath, $args);
|
||||
}
|
||||
|
||||
function getWarUnitTriggerClass(string $type){
|
||||
|
||||
Reference in new issue
Block a user