mirror of
https://github.com/sp-tarkov/loot-dump-processor.git
synced 2025-02-13 09:50: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
543 B
C#
26 lines
543 B
C#
using LootDumpProcessor.Utils;
|
|
|
|
|
|
namespace LootDumpProcessor.Model;
|
|
|
|
public class Upd : ICloneable
|
|
{
|
|
public object? StackObjectsCount { get; set; }
|
|
|
|
|
|
public FireMode? FireMode { get; set; }
|
|
|
|
|
|
public Foldable? Foldable { get; set; }
|
|
|
|
|
|
public Repairable? Repairable { get; set; }
|
|
|
|
public object Clone() => new Upd
|
|
{
|
|
StackObjectsCount = StackObjectsCount,
|
|
FireMode = ProcessorUtil.Copy(FireMode),
|
|
Foldable = ProcessorUtil.Copy(Foldable),
|
|
Repairable = ProcessorUtil.Copy(Repairable)
|
|
};
|
|
} |