Example #1
0
        public void TryPlayerLock(sbyte playerNumber)
        {
            LockedPlanetId = -1;
            LockedPlayerId = playerNumber;

            {
                l.Trace("TEMP - trying to lock on player");
                var lockMsg = new playlock_cpacket(playerNumber);
                net.SendTcp(lockMsg);
            }

            UpdateLockedEntity();
        }
        public void TryPlayerLock(sbyte playerNumber)
        {
            LockedPlanetId = -1;
            LockedPlayerId = playerNumber;

            {
                l.Trace("TEMP - trying to lock on player");
                var lockMsg = new playlock_cpacket(playerNumber);
                net.SendTcp(lockMsg);
            }

            UpdateLockedEntity();
        }