Пример #1
0
        public WorldClient(SilverSock.SilverSocket socket)
            : base(socket)
        {
            //Set Handler and Player !!
            Handler = new Dispatcher(this);
            Action = new WorldPlayer(this);
            LastActionTime = Environment.TickCount + Program.MaxIdleTime;

            //Send HelloGame
            Send("HG");
        }
Пример #2
0
        public WorldClient(SilverSock.SilverSocket socket)
            : base(socket)
        {
            //Set Handler and Player !!
            Handler        = new Dispatcher(this);
            Action         = new WorldPlayer(this);
            LastActionTime = Environment.TickCount + Program.MaxIdleTime;

            //Send HelloGame
            Send("HG");
        }