Exemple #1
0
        public void TryPlanetLock(sbyte planetNumber)
        {
            LockedPlanetId = planetNumber;
            LockedPlayerId = -1;
            {
                l.Trace("TEMP - trying to lock on planet");
                var lockMsg = new planlock_cpacket(planetNumber);
                net.SendTcp(lockMsg);
            }

            //var planet = Galaxy.GetPlanet(0);
            //if (planet != null && planet.Entity != null)
            //{
            //    ViewModel.LPilotedUnit = planet.Entity;
            //}
        }
        public void TryPlanetLock(sbyte planetNumber)
        {
            LockedPlanetId = planetNumber;
            LockedPlayerId = -1;
            {
                l.Trace("TEMP - trying to lock on planet");
                var lockMsg = new planlock_cpacket(planetNumber);
                net.SendTcp(lockMsg);
            }

            //var planet = Galaxy.GetPlanet(0);
            //if (planet != null && planet.Entity != null)
            //{
            //    ViewModel.LPilotedUnit = planet.Entity;
            //}
        }