PRoConEvents.MULTIbalancer.IncrementMoves C# (CSharp) 메소드

IncrementMoves() 개인적인 메소드

private IncrementMoves ( String name ) : void
name String
리턴 void
        private void IncrementMoves(String name)
        {
            if (!IsKnownPlayer(name)) return;
            lock (fKnownPlayers) {
            PlayerModel m = fKnownPlayers[name];
            m.MovesByMBRound = m.MovesByMBRound + 1;
            DateTime now = DateTime.Now;
            lock (m.MovedByMBHistory) {
            m.MovedByMBHistory.Add(now);
            }
            m.MovedByMBTimestamp = now;
            }
            UpdateMoveTime(name);
        }
MULTIbalancer