MiraiForum

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

    Unsolved PluginData 使用含自定义类型的 map 调用 getOrPut 会不会出问题

    开发交流
    1
    1
    159
    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.
    • N
      NoMathExpectation last edited by

      写了一个自定义类,然后打算放到 PluginData 里存储:
      bebc03a1-b94e-402e-a2c9-9a21297bc642-image.png
      但是我看到开发文档上有写到:
      5c2d3535-e4da-40bb-b920-dd1851a7ffa8-image.png
      说得并不是很清楚,不知道会不会对这个自定义类产生影响。
      所以这样存储数据会不会出现问题?如果会,改怎么改呢?

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