using System.Collections.Generic;
using System.Text.Json.Serialization;

namespace VeloeMinecraftLauncher.Entity.Assets;

internal class Asset
{
    public string Hash { get; set; } = string.Empty;
    public int Size { get; set; } = 0;
}

internal class AssetsManifest
{
    [JsonPropertyName("virtual")]
    public bool? IsVirtual { get; set; }

    [JsonPropertyName("objects")]
    public Dictionary<string, Asset>? Objects { get; set; }
}
