Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 自动加载插件系统 #315

Open
neko-para opened this issue Aug 22, 2024 · 0 comments
Open

feat: 自动加载插件系统 #315

neko-para opened this issue Aug 22, 2024 · 0 comments
Assignees
Labels
whimsy A bold and amazing idea

Comments

@neko-para
Copy link
Contributor

  • 基于MaaFramework库所在路径, 扫描并加载dll/so/dylib
  • 库内提供钩子注册逻辑

目前, 考虑到的用途可能有

  • 创建实例后, 自动注册部分custom recoginizer & action
    • 可以考虑将ExecAgent部分的逻辑迁移过来
    • 可以考虑将脚本引擎作为可选模块发布
  • 基于CustomController, 提供一种模式化的控制器创建逻辑
    • 这部分可能可以考虑基于字符串的名称注册体系, 然后用json作为创建参数, 可能需要引入新的控制器创建接
@neko-para neko-para added the whimsy A bold and amazing idea label Aug 22, 2024
@neko-para neko-para assigned MistEO and unassigned MistEO Aug 22, 2024
neko-para added a commit that referenced this issue Aug 23, 2024
@neko-para neko-para self-assigned this Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
whimsy A bold and amazing idea
Projects
None yet
Development

No branches or pull requests

2 participants