Code Monkey home page Code Monkey logo

xqcsharpsdk's Introduction

XQCSharpSDK

icon

使用C#8.0编写的先驱机器人插件开发框架

2021/12/24 由于先驱跑路,本SDK不再维护


特点

  • 封装了XQ提供的接口,提供基于抽象数据类型的XQApi
  • 在事件中保留并封装了XQ的Event原参数,提供用户扩展空间
  • 提供了托管异常处理
  • 支持导出函数
  • 支持整合Dll依赖项

感谢

开发文档

  • 修改 XQ.Plugin/PluginExample.cs
    • 继承希望处理的事件的对应接口,并实现
  • 修改 XQ.Core/ExportMain.cs
    • 注册需要处理的事件接口和插件 并设置插件信息
  • 打开 XQ.Core => 属性
    • 将 程序集名称 修改为插件名称
  • Release x86模式进行编译
    • 打开XQCSharpSDK/Output文件夹
    • 插件名称.XQ.dll 即为 XQ可调用的插件

常见问题

  • 由于托管环境限制和XQ插件缓存机制 导致插件的 卸载、更新后重载 功能无法使用
    • 解决方案 : 更新插件后(无论之前是否加载成功) 重启XQ框架
  • Intellisense 报错 CS0103 CS0234 CS0246 (不影响DLL生成)
    • 解决方案 : 将 XQ.Core 对 XQ.Plugin,XQ.SDK 的引用取消,再重新引用 以刷新Intellisense
  • 多插件报错问题
    • 解决方案 : 修改 XQ.Plugin 的命名空间

QQ交流群

  • XQCsharp 807465006
  • 提供最新SDK下载及常见问题解答

xqcsharpsdk's People

Contributors

awbugl avatar misaka12456 avatar wayrt7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.