mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-04-05 17:39:39 -04:00
Add missing converter for micro resource trade
This commit is contained in:
parent
d356e43edb
commit
8094820ffd
@ -1,5 +1,6 @@
|
|||||||
using Observatory.Framework.Files.ParameterTypes;
|
using Observatory.Framework.Files.ParameterTypes;
|
||||||
using System.Collections.Immutable;
|
using System.Collections.Immutable;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
namespace Observatory.Framework.Files.Journal
|
namespace Observatory.Framework.Files.Journal
|
||||||
{
|
{
|
||||||
@ -7,6 +8,7 @@ namespace Observatory.Framework.Files.Journal
|
|||||||
{
|
{
|
||||||
public ImmutableList<MicroResource> Offered { get; init; }
|
public ImmutableList<MicroResource> Offered { get; init; }
|
||||||
public string Received { get; init; }
|
public string Received { get; init; }
|
||||||
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||||
public MicroCategory Category { get; init; }
|
public MicroCategory Category { get; init; }
|
||||||
public int Count { get; init; }
|
public int Count { get; init; }
|
||||||
public ulong MarketID { get; init; }
|
public ulong MarketID { get; init; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user