CountPlayersByRank() public static method

public static CountPlayersByRank ( Rank rank ) : int
rank Rank
return int
Exemplo n.º 1
0
 internal static void Ranks(Player player, Command cmd)
 {
     player.Message("Below is a list of ranks. For detail see &H{0}", cdRankInfo.Usage);
     foreach (Rank rank in RankManager.Ranks)
     {
         player.Message("&S    {0}  ({1} players)",
                        rank.GetClassyName(),
                        PlayerDB.CountPlayersByRank(rank));
     }
 }