Add project files.
This commit is contained in:
27
LeagueAPI/Models/DDragon/Champions/ChampionDataImage.cs
Normal file
27
LeagueAPI/Models/DDragon/Champions/ChampionDataImage.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace LeagueAPI.Models.DDragon.Champions;
|
||||
|
||||
public record ChampionDataImage
|
||||
{
|
||||
[JsonPropertyName("full")]
|
||||
public string? Full { get; init; }
|
||||
|
||||
[JsonPropertyName("sprite")]
|
||||
public string? Sprite { get; init; }
|
||||
|
||||
[JsonPropertyName("group")]
|
||||
public string? Group { get; init; }
|
||||
|
||||
[JsonPropertyName("x")]
|
||||
public int X { get; init; }
|
||||
|
||||
[JsonPropertyName("y")]
|
||||
public int Y { get; init; }
|
||||
|
||||
[JsonPropertyName("w")]
|
||||
public int W { get; init; }
|
||||
|
||||
[JsonPropertyName("h")]
|
||||
public int H { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user