Skip to content

hl845740757/commons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

commons

Wjybxx的公共模块,抽取以方便我的其它开源项目依赖这里的部分组件。

  1. Java 相关模块在Maven仓库中搜索cn.wjybxx.commons即可看见。
  2. Csharp 相关模块在Nuget仓库中搜索wjybxx即可看见。

重要组件一览

  1. Dson文本格式 -- Dson文本格式.
  2. 基于Dson的序列化 -- Java实现c#实现.
  3. 通用任务树(行为树) -- 行为树Java实现c#实现
  4. 改进的Disruptor实现 -- Java实现C#实现
  5. 改进的并发库 -- Java核心并发库C#核心并发库
  6. C#代码生成工具 -- JavaPoet移植
  7. C#依赖注入框架

源码Unity兼容

由于无法简单打出dll引入到unity,所以在unity中使用该项目的代码时,请使用包管理器下载源码。 可直接修改mainfest.json添加以下包:

    "wjybxx.btree.codec": "https://github.com/hl845740757/commons.git?path=/unity/Assets/Scripts/Wjybxx.BTree.Codec#upkg",
    "wjybxx.btree.core": "https://github.com/hl845740757/commons.git?path=/unity/Assets/Scripts/Wjybxx.BTree.Core#upkg",
    "wjybxx.commons.concurrent": "https://github.com/hl845740757/commons.git?path=/unity/Assets/Scripts/Wjybxx.Commons.Concurrent#upkg",
    "wjybxx.commons.core": "https://github.com/hl845740757/commons.git?path=/unity/Assets/Scripts/Wjybxx.Commons.Core#upkg",
    "wjybxx.commons.inject": "https://github.com/hl845740757/commons.git?path=/unity/Assets/Scripts/Wjybxx.Commons.Inject#upkg",
    "wjybxx.disruptor": "https://github.com/hl845740757/commons.git?path=/unity/Assets/Scripts/Wjybxx.Disruptor#upkg",
    "wjybxx.dson.codec": "https://github.com/hl845740757/commons.git?path=/unity/Assets/Scripts/Wjybxx.Dson.Codec#upkg",
    "wjybxx.dson.core": "https://github.com/hl845740757/commons.git?path=/unity/Assets/Scripts/Wjybxx.Dson.Core#upkg",

解释:

  1. 为避免unity相关逻辑影响dev分支(主要是代码重复),unity的包是在upkg分支发布的。
  2. upkg的同步频率可能不及时,用户如果需要最新的代码,可自行根据commons库制作本地包。

个人公众号(游戏开发)

写代码的诗人

About

个人java/csharp公共包,集合库,并发库,行为树,Dson文本...

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published