Ejemplo n.º 1
0
        public void Dump()
        {
            m_gateway.Dump();

            StringBuilder sb = new StringBuilder();

            foreach (var pair in m_listMsgListener)
            {
                ListenerHelper helper = pair.Value;
                sb.AppendFormat("\t<cmd:{0}, msg:{1}, \tlistener:{2}.{3}>\n", pair.Key, helper.TMsg.Name,
                                helper.onMsgMethod.DeclaringType.Name, helper.onMsgMethod.Name);
            }

            Debuger.LogWarning("\nNet Listeners ({0}):\n{1}", m_listMsgListener.Count, sb);

            m_rpc.Dump();
        }