Exemplo n.º 1
0
 /// <summary>
 /// The resource constructor
 /// </summary>
 /// <param name="id">The WvW match id.</param>
 /// <param name="start_time">The starting time of the matchup. (ISO-8601 Standard)</param>
 /// <param name="end_time">The ending time of the matchup. (ISO-8601 Standard)</param>
 /// <param name="scores">An object containing the score of the three servers</param>
 /// <param name="worlds">An object containing the world IDs of the three servers</param>
 /// <param name="kills">An object containing the total kills of the three servers</param>
 /// <param name="deaths">An object containing the total deaths of the three servers</param>
 /// <param name="maps">A list of objects containing detailed information about each of the four maps.</param>
 public Matches(string id, DateTime start_time, DateTime end_time, Scores scores, Worlds worlds, Kills kills, Deaths deaths, List<Map> maps)
 {
     Id = id;
     StartTime = start_time;
     EndTime = end_time;
     Scores = scores;
     Worlds = worlds;
     Deaths = deaths;
     Kills = kills;
     Maps = maps;
 }