.NET Format Style Fixes
This commit is contained in:
@@ -8,37 +8,17 @@ public record InsuredItemsData
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("id")]
|
||||
public string? Id
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string? Id { get; set; }
|
||||
|
||||
[JsonPropertyName("durability")]
|
||||
public int? Durability
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? Durability { get; set; }
|
||||
|
||||
[JsonPropertyName("maxDurability")]
|
||||
public int? MaxDurability
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? MaxDurability { get; set; }
|
||||
|
||||
[JsonPropertyName("hits")]
|
||||
public int? Hits
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? Hits { get; set; }
|
||||
|
||||
[JsonPropertyName("usedInQuest")]
|
||||
public bool? UsedInQuest
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool? UsedInQuest { get; set; }
|
||||
}
|
||||
|
||||
@@ -9,16 +9,8 @@ public record ItemDeliveryRequestData
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("items")]
|
||||
public List<Item>? Items
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public List<Item>? Items { get; set; }
|
||||
|
||||
[JsonPropertyName("traderId")]
|
||||
public string? TraderId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string? TraderId { get; set; }
|
||||
}
|
||||
|
||||
@@ -9,23 +9,11 @@ public record RegisterPlayerRequestData : IRequestData
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("crc")]
|
||||
public int? Crc
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? Crc { get; set; }
|
||||
|
||||
[JsonPropertyName("locationId")]
|
||||
public string? LocationId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string? LocationId { get; set; }
|
||||
|
||||
[JsonPropertyName("variantId")]
|
||||
public int? VariantId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? VariantId { get; set; }
|
||||
}
|
||||
|
||||
@@ -3,6 +3,4 @@ using SPTarkov.Server.Core.Models.Utils;
|
||||
|
||||
namespace SPTarkov.Server.Core.Models.Eft.InRaid;
|
||||
|
||||
public record ScavSaveRequestData : PostRaidPmcData, IRequestData
|
||||
{
|
||||
}
|
||||
public record ScavSaveRequestData : PostRaidPmcData, IRequestData { }
|
||||
|
||||
Reference in New Issue
Block a user