Files
LaDOSE/LaDOSE.Src/LaDOSE.Entity/Challonge/TournamentsResult.cs
darkstack a9150ff58c
All checks were successful
Build App / Build (push) Successful in 1m36s
URL Api Smash + Slug in HTML
2025-03-07 10:56:24 +01:00

47 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
namespace LaDOSE.Entity.Challonge
{
public class TournamentsResult
{
public List<ChallongeParticipent> Participents { get; set; }
public List<Game> Games{ get; set; }
public List<Result> Results { get; set; }
public string Slug { get; set; }
}
public class Result
{
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,int rank)
{
Player = player;
GameId = gameId;
Point = point;
TournamentUrl = tournamentUrl;
TournamentdId = tournamentdId;
Rank = rank;
}
public Result()
{
}
public int TournamentdId { get; set; }
public string TournamentUrl { get; set; }
public int GameId { get; set; }
public string Player { get; set; }
public int Point { get; set; }
public int Rank { get; set; }
}
}