Exemplo n.º 1
0
 /// <summary>
 /// Initilization of a new pvpstatistic object.
 /// </summary>
 /// <param name="pvp_rank">The player's PvP rank.</param>
 /// <param name="aggregate">A win/loss object containing stats from all matches ever played.</param>
 /// <param name="professions">Collection for each profession played in PvP.</param>
 /// <param name="ladders">Collection for each type of the ladder.</param>
 public PvpStatistic(int pvp_rank, Statistic aggregate, Dictionary<Profession, Statistic> professions, Dictionary<Ladder, Statistic> ladders)
 {
     Rank = pvp_rank;
     Overview = aggregate;
     Professions = professions;
     Ladders = ladders;
 }
 /// <summary>
 /// Initilization of a new pvpstatistic object.
 /// </summary>
 /// <param name="rank">The player's PvP rank.</param>
 /// <param name="overview">A win/loss object containing stats from all matches ever played.</param>
 /// <param name="professions">Collection for each profession played in PvP.</param>
 /// <param name="ladders">Collection for each type of the ladder.</param>
 public PvpStatistic(int rank, Statistic overview, Dictionary<Profession, Statistic> professions, Dictionary<Ladder, Statistic> ladders)
 {
     Rank = rank;
     Overview = overview;
     Professions = professions;
     Ladders = ladders;
 }