少年修仙传客户端代码仓库
client_linchunjie
2018-08-14 c6689f941359227f0b99b20b9400ccbab81b671c
Core/GameEngine/DataToCtl/PackageRegedit.cs
@@ -374,7 +374,7 @@
        var businessInstance = _business.Assembly.CreateInstance(_business.Name) as DtcBasic;
        if (packToBusinessTable.ContainsKey(packInstance.cmd))
        {
            DesignDebug.LogFormat("重复封包登记: {0}!", _pack.Name);
            DebugEx.LogFormat("重复封包登记: {0}!", _pack.Name);
        }
        else
        {
@@ -396,7 +396,7 @@
        }
        catch (Exception ex)
        {
            DesignDebug.LogError(ex);
            DebugEx.LogError(ex);
        }
    }
@@ -444,7 +444,7 @@
        {
#if UNITY_EDITOR
            NetPkgCtl.AddNetPkg(vStr, NetPkgType.Server, string.Empty, string.Empty, null);
            DesignDebug.LogErrorFormat("C#层收到未登记的解包协议:{0},{1}", vCmdBytes[0].ToString("x2"), vCmdBytes[1].ToString("x2"));
            DebugEx.LogErrorFormat("C#层收到未登记的解包协议:{0},{1}", vCmdBytes[0].ToString("x2"), vCmdBytes[1].ToString("x2"));
#endif
        }
        return null;
@@ -467,7 +467,7 @@
        }
        else
        {
            DesignDebug.LogError("收到未定义的解包协议:" + vBytes[0].ToString("x2").ToUpper() + "," + vBytes[1].ToString("x2").ToUpper());
            DebugEx.LogError("收到未定义的解包协议:" + vBytes[0].ToString("x2").ToUpper() + "," + vBytes[1].ToString("x2").ToUpper());
        }
        return vNetPackInst;
    }