mirror of
https://github.com/sp-tarkov/loot-dump-processor.git
synced 2025-02-13 06:30:44 -05:00
The changes include: - Replaced Newtonsoft.Json with System.Text.Json for serialization - Removed redundant JsonProperty attributes and simplified model classes - Converted static fields to constants where appropriate - Improved code formatting and readability - Simplified method bodies and expressions - Removed unused imports and cleaned up namespaces
26 lines
624 B
C#
26 lines
624 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace LootDumpProcessor.Model.Tarkov;
|
|
|
|
public class Chamber
|
|
{
|
|
[JsonPropertyName("_name")] public string Name { get; set; }
|
|
|
|
|
|
[JsonPropertyName("_id")] public string Id { get; set; }
|
|
|
|
|
|
[JsonPropertyName("_parent")] public string Parent { get; set; }
|
|
|
|
|
|
[JsonPropertyName("_props")] public ChamberProps Props { get; set; }
|
|
|
|
|
|
[JsonPropertyName("_required")] public bool Required { get; set; }
|
|
|
|
|
|
[JsonPropertyName("_mergeSlotWithChildren")] public bool MergeSlotWithChildren { get; set; }
|
|
|
|
|
|
[JsonPropertyName("_proto")] public string Proto { get; set; }
|
|
} |