PRoConEvents.MULTIbalancer.ConditionalIncrementMoves C# (CSharp) Method

ConditionalIncrementMoves() private method

private ConditionalIncrementMoves ( String name ) : void
name String
return void
        private void ConditionalIncrementMoves(String name)
        {
            /*
            If some other plugin did an admin move on this player, increment
            the non-MB move counter so that this player will be exempted from balancing and unstacking
            for the rest of this round, but don't set the flag or the timer, since MB didn't move this player.
            */
            if (!IsKnownPlayer(name)) return;
            lock (fKnownPlayers) {
            PlayerModel m = fKnownPlayers[name];
            m.MovesRound = m.MovesRound + 1;
            }
            IncrementTotal(); // no matching stat, reflects handling of non-MB admin move
        }
MULTIbalancer