示例#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");
        }