Comments (5)
原本计划是把CPP_lib,PluginMain以及Config移动到Core使用idea打包到jar包被主程序动态引入,但是遇到了如下几个问题:
- C++部分jni需要取得CPP_lib类,但是CPP_lib类在依赖里无法取到,计划暂时变更为CPP_lib类中被jni部分调用的写在主程序,CPP_lib调用jni部分写在Core
- PluginMain类中数据缓存以及其他若干错误
- Config可正常转移
- 动态引用需要每个方法都写一次,计划暂时变更为用gradle引入(compile)本地jar包
from miraicp.
冒昧问一下,这个库是用来干嘛的
from miraicp.
冒昧问一下,这个库是用来干嘛的
嗯?这个内核计划?
我计划就相当于构建个mirai-console和mirai-core的关系
主要是目前miraicp-plugin和miraicp-loader有大量重复代码
且这个库如果实现可以实现热更新,就相当于mcl那种,打开自动下载库更新,而不需要每次来github上下载替换一些文件
不过目前精力不够只能先放一会
from miraicp.
冒昧问一下,这个库是用来干嘛的
嗯?这个内核计划?
我计划就相当于构建个mirai-console和mirai-core的关系
主要是目前miraicp-plugin和miraicp-loader有大量重复代码
且这个库如果实现可以实现热更新,就相当于mcl那种,打开自动下载库更新,而不需要每次来github上下载替换一些文件
不过目前精力不够只能先放一会
明白了,
from miraicp.
使用gradle子项目的方法实现
from miraicp.
Related Issues (20)
- [Bug]MiraiCP-loader无法登录
- 群临时会话发信时出错
- Serializer for class 'Command' is not found. HOT 1
- 群头衔 HOT 2
- LibLoader 严重报错 HOT 1
- 将GroupMessageEvent中的PlainText对象传递给MessageChain::add后,在发送消息时报错 HOT 2
- BotLeaveEvent事件类型枚举定义错位
- 重构CPP到下一个大版本3.*, 同时这个2.*版本也会继续维护(修复一些提交的问题), 但是不会更新其他功能(会尽量不写太多API change, 但是为了优化使用, API change是必要的), 大概包含以下几点
- miraicode解析对at出错 HOT 2
- 重载插件后,先前的计时器会被保留 HOT 3
- 获取所有在线的bot
- MemberLeaveEvent 构造函数异常 HOT 2
- version `GLIBC_2.33' not found HOT 2
- 想问应该如何恰当实现定时任务 HOT 2
- 通过MessageSource获取发送人、消息内容等信息 HOT 1
- schedule 占用 cpu 过多 HOT 2
- 无法获取文件列表 HOT 1
- Compiler Warning (level 1) C4251
- BotOnline事件不触发 HOT 4
- 点歌点不了 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miraicp.