Flagged various values with json ignore
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Core.Models.Eft.HttpResponse;
|
||||
|
||||
@@ -7,6 +7,7 @@ public record GetBodyResponseData<T>
|
||||
[JsonPropertyName("err")]
|
||||
public int? Err { get; set; }
|
||||
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
|
||||
[JsonPropertyName("errmsg")]
|
||||
public string? ErrMsg { get; set; }
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ using System.Text.Json.Serialization;
|
||||
|
||||
public record ItemEventRouterBase
|
||||
{
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
|
||||
[JsonPropertyName("warnings")]
|
||||
public List<Warning>? Warnings { get; set; }
|
||||
|
||||
@@ -53,6 +54,7 @@ public record ProfileChange
|
||||
[JsonPropertyName("items")]
|
||||
public ItemChanges? Items { get; set; }
|
||||
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
|
||||
[JsonPropertyName("production")]
|
||||
public Dictionary<string, Production>? Production { get; set; }
|
||||
|
||||
@@ -72,9 +74,11 @@ public record ProfileChange
|
||||
[JsonPropertyName("moneyTransferLimitData")]
|
||||
public MoneyTransferLimits? MoneyTransferLimitData { get; set; }
|
||||
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
|
||||
[JsonPropertyName("repeatableQuests")]
|
||||
public List<PmcDataRepeatableQuest>? RepeatableQuests { get; set; }
|
||||
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
|
||||
[JsonPropertyName("recipeUnlocked")]
|
||||
public Dictionary<string, bool>? RecipeUnlocked { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user