Ejemplo n.º 1
0
        public void Dump()
        {
            StringBuilder sb = new StringBuilder();

            var dic = m_mapSession.AsDictionary();

            foreach (var pair in dic)
            {
                ISession session = pair.Value;
                sb.AppendLine("\t" + session.ToString());
            }

            Debuger.LogWarning("\nGateway Sessions ({0}):\n{1}", m_mapSession.Count, sb);
        }
Ejemplo n.º 2
0
        public void Dump()
        {
            m_gateway.Dump();

            StringBuilder sb = new StringBuilder();

            sb.AppendFormat("\nFSPParam:{0}", m_param.ToString("\t"));
            sb.AppendLine("\nGameList:");

            var listGame = m_mapGame.AsDictionary();

            foreach (var game in listGame)
            {
                sb.AppendFormat("\n\tGame {0}", game.Value.ToString("\t\t"));
            }

            Debuger.LogWarning(sb.ToString());
        }