feat(import): import consumable item inventory

This commit is contained in:
gamer147
2026-05-29 18:33:11 -04:00
parent 71b3c3e19f
commit d7e5557d61
3 changed files with 55 additions and 0 deletions

View File

@@ -28,6 +28,8 @@ public class ImportViewerRequest
[JsonPropertyName("classes")] public List<ImportClassData>? Classes { get; set; }
[JsonPropertyName("owned_cards")] public List<ImportCard>? OwnedCards { get; set; }
[JsonPropertyName("items")] public List<ImportItem>? Items { get; set; }
}
public class ImportCurrency
@@ -50,3 +52,9 @@ public class ImportCard
[JsonPropertyName("count")] public int Count { get; set; }
[JsonPropertyName("is_protected")] public bool IsProtected { get; set; }
}
public class ImportItem
{
[JsonPropertyName("item_id")] public int ItemId { get; set; }
[JsonPropertyName("count")] public int Count { get; set; }
}