Fix: Compute HTML result with Rank instead of Point

This commit is contained in:
2019-09-05 22:22:35 +02:00
parent c78ba3cca9
commit ac60ef75c7
4 changed files with 12 additions and 10 deletions

View File

@@ -14,20 +14,20 @@ namespace LaDOSE.Entity.Challonge
public class Result
{
public Result(string player, int gameId, int point) : this(player, gameId, 0,"", point)
public Result(string player, int gameId, int point,int rank) : this(player, gameId, 0,"", point,rank)
{
}
public Result(string player, int gameId, int tournamentdId,string tournamentUrl, int point)
public Result(string player, int gameId, int tournamentdId,string tournamentUrl, int point,int rank)
{
Player = player;
GameId = gameId;
Point = point;
TournamentUrl = tournamentUrl;
TournamentdId = tournamentdId;
Rank = rank;
}
@@ -41,5 +41,6 @@ namespace LaDOSE.Entity.Challonge
public int GameId { get; set; }
public string Player { get; set; }
public int Point { get; set; }
public int Rank { get; set; }
}
}