Asset.cs 556 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Text.Json.Serialization;
  6. using System.Threading.Tasks;
  7. namespace VeloeMinecraftLauncher.Entity.Assets
  8. {
  9. internal class Asset
  10. {
  11. public string hash { get; set; }
  12. public int size { get; set; }
  13. }
  14. internal class AssetsManifest
  15. {
  16. [JsonPropertyName("virtual")]
  17. public bool IsVirtual { get; set; }
  18. [JsonPropertyName("objects")]
  19. public Dictionary<string, Asset> Objects { get; set; }
  20. }
  21. }