Add project files.
This commit is contained in:
15
LeagueAPI/Models/ChampSelect/ChampSelectBannedChampions.cs
Normal file
15
LeagueAPI/Models/ChampSelect/ChampSelectBannedChampions.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace LeagueAPI.Models.ChampSelect;
|
||||
|
||||
public record class ChampSelectBannedChampions
|
||||
{
|
||||
[JsonPropertyName("myTeamBans")]
|
||||
public int[] MyTeamBans { get; init; } = [];
|
||||
|
||||
[JsonPropertyName("theirTeamBans")]
|
||||
public int[] TheirTeamBans { get; init; } = [];
|
||||
|
||||
[JsonPropertyName("numBans")]
|
||||
public int NumBans { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user