| | |
| | | vNetpack = PackageRegedit.TransPack(socketType, cmd, vPackBytes); |
| | | if (vNetpack != null) |
| | | { |
| | | if (Launch.Instance.EnableNetLog) |
| | | { |
| | | Debug.LogFormat("收包:{0}", vNetpack.GetType().Name); |
| | | } |
| | | // if (Launch.Instance.EnableNetLog) |
| | | // { |
| | | // Debug.LogFormat("收包:{0}", vNetpack.GetType().Name); |
| | | // } |
| | | m_LastPackageTime = DateTime.Now; |
| | | GameNetSystem.Instance.PushPackage(vNetpack, this.socketType); |
| | | isRegist = true; |
| | |
| | | return; |
| | | } |
| | | |
| | | if (Launch.Instance.EnableNetLog) |
| | | { |
| | | Debug.LogFormat("发包:{0}", protocol.GetType().Name); |
| | | } |
| | | // if (Launch.Instance.EnableNetLog) |
| | | // { |
| | | // Debug.LogFormat("发包:{0}", protocol.GetType().Name); |
| | | // } |
| | | |
| | | if (protocol.combineBytes == null) |
| | | { |