Example #1
0
        void newMessage(System.Type type)
        {
            Debug.Log("ServerBundle:: 开始发送消息 Message is " + type.Name);
            var pa = Util.GetMsgID(type.Name);

            if (pa == null)
            {
                Debug.LogError("GetMessage Id Error, please Update NameMap.json " + type.Name);
            }
            moduleId = pa.moduleId;
            msgId    = pa.messageId;

            msgtype = null;
        }