Bricklayer.Server.MessageHandler.RebuildIndexes C# (CSharp) Метод

RebuildIndexes() приватный статический Метод

Rebuilds the indexes of all players, by changing their index property to the correct index in the map's player list
private static RebuildIndexes ( Bricklayer map ) : void
map Bricklayer
Результат void
        private static void RebuildIndexes(Bricklayer.Common.World.Map map)
        {
            for (int i = 0; i < map.Players.Count; i++)
                map.Players[i].Index = i;
        }