Quick and Dirty Tournament Result / List
This commit is contained in:
@@ -6,7 +6,7 @@ namespace LaDOSE.Entity.Challonge
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Game { get; set; }
|
||||
public Game Game { get; set; }
|
||||
public List<Participent> Participents { get; set; }
|
||||
}
|
||||
}
|
||||
32
LaDOSE.Src/LaDOSE.Entity/Challonge/TournamentsResult.cs
Normal file
32
LaDOSE.Src/LaDOSE.Entity/Challonge/TournamentsResult.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace LaDOSE.Entity.Challonge
|
||||
{
|
||||
public class TournamentsResult
|
||||
{
|
||||
public List<Participent> Participents { get; set; }
|
||||
public List<Game> Games{ get; set; }
|
||||
|
||||
public List<Result> Results { get; set; }
|
||||
}
|
||||
|
||||
public class Result
|
||||
{
|
||||
public Result(string player, int gameId, int point)
|
||||
{
|
||||
Player = player;
|
||||
GameId = gameId;
|
||||
Point = point;
|
||||
}
|
||||
|
||||
public Result()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public int GameId { get; set; }
|
||||
public string Player { get; set; }
|
||||
public int Point { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user