MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    将PluginData从Mirai Console分离是否可能?

    开发交流
    2
    2
    69
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cubesugarcheese
      cubesugarcheese last edited by

      试了一下午,由于PluginData与Mirai Console Backend耦合过于紧密,失败了。
      但魔改一下也许可行?
      毕竟类型推断和委托语法真的很香,如果能不仅限于开发MCL插件,做成泛用库,能用在bukkit,fabric等地方岂不妙哉?

      1 Reply Last reply Reply Quote 0
      • cssxsh
        cssxsh last edited by

        有没有可能
        类型推断和委托语法 是kotlin 的特性,而不是 MiraiPluginData 独有的

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact