简体中文
English 简体中文 繁體中文
Methodox 首页

创建 C# 插件

步骤:

  1. 新建一个 C# 类库项目:dotnet ...;
  2. 编写一个静态类:
public static class MyPlugin
{
  public static int GetValue() => 15;
}
  1. 发布程序集:dotnet publish;
  2. 将 dll 放到 DivookaDistribution/<MyPlugin>/<MyPlugin>.dll。

(添加截图)

参考资料

有关此主题的更多内容,请阅读插件开发页面。