コード例 #1
0
        public static ArrayList GetCTFTopList()
        {
            ArrayList players = new ArrayList();

            foreach (CTFPlayer player in CTFScoreBoard.Players.Values)
            {
                players.Add(player);
            }

            CTFScoreComparer comparer = new CTFScoreComparer();

            players.Sort(comparer);

            return(players);
        }
コード例 #2
0
		public static ArrayList GetCTFTopList()
		{
			ArrayList players = new ArrayList();

			foreach ( CTFPlayer player in CTFScoreBoard.Players.Values )
				players.Add( player );

			CTFScoreComparer comparer = new CTFScoreComparer();
			players.Sort( comparer );

			return players;
		}