コード例 #1
0
ファイル: WorldClient.cs プロジェクト: nightwolf93/Crystal
        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
ファイル: WorldClient.cs プロジェクト: XaferDev/Crystal
        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");
        }