Commit History

Upphovsman SHA1 Meddelande Datum
  tanghai 2b191c8b82 1.服务端消息大部分可以热更,把能热更的消息移动到hotfix层,需要保存状态的消息例如FrameMessage需要手写放到ETModel层 7 år sedan
  tanghai 2d3950f89d 修复了两个小问题: 7 år sedan
  tanghai 4c14111af6 1.增加将资源打包到apk的功能,加载ab包的时候先判断热更里面有没有,有则加载热更的,没有则加载StreamingAssets里面的 7 år sedan
  tanghai ed04e8e500 1.Unity Hotfix工程语言限制为C#6.0 7 år sedan
  tanghai e68dcf3d6b 打包平台默认为None,防止点错 7 år sedan
  tanghai ef5ab41098 增加一个ChangeSystem,其实是组件改变事件,可以使用Game.EventSystem.Change(component)进行触发 7 år sedan
  tanghai c9e5a9b2e6 以后再也不需要手动添加BsonKnowType标签啦! 7 år sedan
  tanghai 5baa0d9ac7 Unity2017.1.1p4版本udpclient在il2cpp下无法收到udp消息,换用unity2017.1.3p2版本 7 år sedan
  tanghai c0788d6b2e ILRuntime生成Resources.Load生成binding会抛出的一个异常。封装了一下Resources.Load方法,hotfix层不直接调用Resources.Load而使用ResourcesHelper.Load来加载资源,这样能够绕过这个错误。 7 år sedan
  tanghai 8680735fab 继承结构调整要调整BsonKownType标签 7 år sedan
  tanghai f4dd94f703 继承结构调整,Object->Component->ComponentWithId->Entity 中间加了一层ComponentWithId结构,主要考虑到,大部分组件是不需要Id这一字段的, 7 år sedan
  tanghai d5d9a96c6b 1.增加DesdroySystem 7 år sedan
  tanghai c4930ded5d 1.每个Component都增加了一个InstanceId,这个id每个对象是唯一的,区分开来逻辑Id跟对象Id,比如Player对象的Id在整个游戏期间都是不变的,但是每次登录Player的InstanceId都应该不一样,actorid应该用InstanceId来处理。例如erlang的进程id是actorid,但是erlang进程中的玩家id不会是进程id。 7 år sedan
  tanghai 3fac9b7b7f 修复非ILRuntime模式的编译错误 7 år sedan
  tanghai 5e36ae9dc0 FrameMessage用proto生成,IFrameMessage接口不需要ActorId方法 7 år sedan
  tanghai 6813627eb2 ILRuntime的异常ToString没有带StackTrace,增加热更层的Log,Log.Error(Exception)会打印出StackTrace 7 år sedan
  tanghai 87c40877b6 去掉一些mono层的泛型方法,避免热更层调用AOT问题 7 år sedan
  tanghai 7a7d58b604 1.去掉消息继承机制,主要是很多序列化库无法继承,包括ILRuntime端的protobuf 7 år sedan
  tanghai 78558873fa 1.unity默认开启ILRuntime宏 7 år sedan
  tanghai 0cfb48b4e6 消息到热更层要new个数组,感觉不太合适,还是想办法把它去掉。去掉消息协议中的rpcid,rpcid还是可以放到消息中,根据opcode来确定消息是否需要抛到热更层,在有热更层进行分发。这样hotfix层消息接收时可以减少new一块内存,减少gc 7 år sedan
  tanghai 76184a6f15 1.Event类型改成string,这样不同的module的event就不需要分配int,不容易冲突了 7 år sedan
  tanghai d30f82339d 修复UIType无法热更的问题,现在可以热更增加UIType了 7 år sedan
  tanghai d75ca69b41 修改hotfix层的config模块,避免aot问题 7 år sedan
  tanghai 68e7e00651 整理目录 7 år sedan
  tanghai 67d91876db 将帧同步demo抽出成一个module 7 år sedan
  tanghai 25b5174a9f 修复命名空间错误 7 år sedan
  tanghai 1ff6f566e9 为了避免命名空间冲突,Model改成ETModel,Hotfix改成ETHotfix 7 år sedan
  tanghai ba0be5bdc9 mono层的配置生成一个AvoidAOT的方法,防止aot问题 7 år sedan
  tanghai 1aae7196ac 1.Entity增加非泛型方法,主要方便ILRuntime层调用,防止AOT问题 8 år sedan
  tanghai ee77bffb35 客户端中不在用mongo库,用litjson替代,只有编辑器中使用 8 år sedan