예제 #1
0
        public void OnConnecte(object sender, ConnectionEventArgs e)
        {
            //      Logger.Trace("Game-Client connected: {0}", e.Connection.ToString());

            var gameClient = new IOClient(e.Connection);

            e.Connection.Client           = gameClient;
            e.Connection.Client.keepalive = Program.tickcount.ElapsedMilliseconds;
            Console.WriteLine("Connections O: " + Connections.Count);
            //  playerHandler.newPlayerClient(gameClient);
        }
예제 #2
0
        public void OnConnecte(object sender, ConnectionEventArgs e)
        {
            //      Logger.Trace("Game-Client connected: {0}", e.Connection.ToString());

            var gameClient = new IOClient(e.Connection);
            e.Connection.Client = gameClient;
            e.Connection.Client.keepalive = Program.tickcount.ElapsedMilliseconds;
            Console.WriteLine("Connections O: " + Connections.Count);
            //  playerHandler.newPlayerClient(gameClient);
        }