feat: py接口新增支持加载外服增量资源

This commit is contained in:
MistEO
2022-08-28 16:11:18 +08:00
parent eb1d10a906
commit 19f6d5307f
2 changed files with 10 additions and 3 deletions

View File

@@ -18,6 +18,8 @@ if __name__ == "__main__":
# 请设置为存放 dll 文件及资源的路径
path = pathlib.Path.cwd().parent
# 外服需要再额外传入增量资源路径,例如
# incremental_path=path / 'resource' / 'global' / 'YoStarEN'
Asst.load(path=path)
# 若需要获取详细执行信息,请传入 callback 参数