feat(import): import consumable item inventory
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user