30 lines
725 B
C#
30 lines
725 B
C#
using Godot;
|
|
using System.Collections.Generic;
|
|
using System.Text.Json.Serialization;
|
|
|
|
public class ItemData
|
|
{
|
|
[JsonPropertyName("id")]
|
|
public string Id { get; set; }
|
|
|
|
[JsonPropertyName("inputs")]
|
|
public List<Ingredient> Inputs { get; set; }
|
|
|
|
[JsonPropertyName("output")]
|
|
public Ingredient Output { get; set; }
|
|
|
|
[JsonPropertyName("workstation")]
|
|
public string Workstation { get; set; }
|
|
|
|
[JsonPropertyName("texture")]
|
|
public string Texture { get; set; }
|
|
|
|
[JsonPropertyName("research")]
|
|
public string Research { get; set; }
|
|
|
|
[JsonPropertyName("crafttime")]
|
|
public double CraftTime { get; set; }
|
|
|
|
[JsonPropertyName("stacksize")]
|
|
public int StackSize { get; set; }
|
|
} |