Add project files.
This commit is contained in:
18
LeagueAPI/Models/DDragon/Champions/ChampionDataInfo.cs
Normal file
18
LeagueAPI/Models/DDragon/Champions/ChampionDataInfo.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace LeagueAPI.Models.DDragon.Champions;
|
||||
|
||||
public record ChampionDataInfo
|
||||
{
|
||||
[JsonPropertyName("attack")]
|
||||
public int Attack { get; init; }
|
||||
|
||||
[JsonPropertyName("defense")]
|
||||
public int Defense { get; init; }
|
||||
|
||||
[JsonPropertyName("magic")]
|
||||
public int Magic { get; init; }
|
||||
|
||||
[JsonPropertyName("difficulty")]
|
||||
public int Difficulty { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user