tanghai
|
98ef42a80f
整理UNet代码
|
11 년 전 |
tanghai
|
d326e8102f
增加TServer和TSession两个类,TSession提供send和recv应用层缓冲区,应用层会先将数据读写到缓冲区.通过时间回调来触发真正的系统读写事件.如果应用层有大量小包,这样合并发送性能会非常高.
|
11 년 전 |
tanghai
|
9c6944986e
初步实现异步网络库,由于C#Socket是利用线程池发送和接收的,所以必须让发送接收线程完成后回调到poll线程,以后所有游戏逻辑都在poll线程执行
|
11 년 전 |
tanghai
|
a808568bfb
事件管理器也做成World的一个Component
|
11 년 전 |
tanghai
|
d2208d6cad
Component和Entity之间增加泛型约束,例如:
|
11 년 전 |
tanghai
|
450550d4ef
1.增加对象创建工厂Factory类
|
11 년 전 |
tanghai
|
17e7b152cc
提取出AMongo和IMongo两个基类:
|
11 년 전 |
tanghai
|
69a8e2a3be
配置文件相关类调试OK,配置文件使用mongodb的json格式,既可作为文件存放也可放到mongodb数据库中,格式一致,非常方便使用
|
11 년 전 |
tanghai
|
ad42eb45ad
1.使用unity3d类似的Component设计模式,不同的游戏对象是不同的Component组合起来的
|
11 년 전 |
tanghai
|
04e7c92c6f
整理代码
|
11 년 전 |
tanghai
|
4f938275a3
增加类似unity3d的组件设计
|
11 년 전 |
tanghai
|
e19951e7c5
Id改成Guid
|
11 년 전 |
tanghai
|
a3d0b31a38
读取配置模块更新,更加自动化
|
11 년 전 |
tanghai
|
eb5e8a9bd1
1.Object类放入Common.Base里面
|
11 년 전 |
tanghai
|
95a8e65a5a
1.配置类放到Common里
|
11 년 전 |
tanghai
|
4876dab15a
1.行为树工厂,根据NodeAttribute注册节点
|
11 년 전 |
tanghai
|
4450d5151f
helper logger hook合并到common程序集中
|
11 년 전 |