Fix: Compute HTML result with Rank instead of Point
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user