.NET Format Style Fixes

This commit is contained in:
refringe
2025-06-18 17:09:20 +00:00
committed by Format Bot
parent ca0a7d6345
commit 6e01428b2b
774 changed files with 23507 additions and 40003 deletions
@@ -8,25 +8,13 @@ public record BotDurability
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("default")]
public required DefaultDurability Default
{
get;
set;
}
public required DefaultDurability Default { get; set; }
[JsonPropertyName("botDurabilities")]
public required Dictionary<string, DefaultDurability> BotDurabilities
{
get;
set;
}
public required Dictionary<string, DefaultDurability> BotDurabilities { get; set; }
[JsonPropertyName("pmc")]
public required PmcDurability Pmc
{
get;
set;
}
public required PmcDurability Pmc { get; set; }
}
/// <summary>
@@ -38,18 +26,10 @@ public record DefaultDurability
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("armor")]
public required ArmorDurability Armor
{
get;
set;
}
public required ArmorDurability Armor { get; set; }
[JsonPropertyName("weapon")]
public required WeaponDurability Weapon
{
get;
set;
}
public required WeaponDurability Weapon { get; set; }
}
public record PmcDurability
@@ -58,18 +38,10 @@ public record PmcDurability
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("armor")]
public required PmcDurabilityArmor Armor
{
get;
set;
}
public required PmcDurabilityArmor Armor { get; set; }
[JsonPropertyName("weapon")]
public required WeaponDurability Weapon
{
get;
set;
}
public required WeaponDurability Weapon { get; set; }
}
public record PmcDurabilityArmor
@@ -78,39 +50,19 @@ public record PmcDurabilityArmor
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("lowestMaxPercent")]
public int LowestMaxPercent
{
get;
set;
}
public int LowestMaxPercent { get; set; }
[JsonPropertyName("highestMaxPercent")]
public int HighestMaxPercent
{
get;
set;
}
public int HighestMaxPercent { get; set; }
[JsonPropertyName("maxDelta")]
public int MaxDelta
{
get;
set;
}
public int MaxDelta { get; set; }
[JsonPropertyName("minDelta")]
public int MinDelta
{
get;
set;
}
public int MinDelta { get; set; }
[JsonPropertyName("minLimitPercent")]
public int MinLimitPercent
{
get;
set;
}
public int MinLimitPercent { get; set; }
}
public record ArmorDurability
@@ -119,39 +71,19 @@ public record ArmorDurability
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("maxDelta")]
public int MaxDelta
{
get;
set;
}
public int MaxDelta { get; set; }
[JsonPropertyName("minDelta")]
public int MinDelta
{
get;
set;
}
public int MinDelta { get; set; }
[JsonPropertyName("minLimitPercent")]
public int MinLimitPercent
{
get;
set;
}
public int MinLimitPercent { get; set; }
[JsonPropertyName("lowestMaxPercent")]
public int LowestMaxPercent
{
get;
set;
}
public int LowestMaxPercent { get; set; }
[JsonPropertyName("highestMaxPercent")]
public int HighestMaxPercent
{
get;
set;
}
public int HighestMaxPercent { get; set; }
}
public record WeaponDurability
@@ -160,37 +92,17 @@ public record WeaponDurability
public Dictionary<string, object> ExtensionData { get; set; }
[JsonPropertyName("lowestMax")]
public int LowestMax
{
get;
set;
}
public int LowestMax { get; set; }
[JsonPropertyName("highestMax")]
public int HighestMax
{
get;
set;
}
public int HighestMax { get; set; }
[JsonPropertyName("maxDelta")]
public int MaxDelta
{
get;
set;
}
public int MaxDelta { get; set; }
[JsonPropertyName("minDelta")]
public int MinDelta
{
get;
set;
}
public int MinDelta { get; set; }
[JsonPropertyName("minLimitPercent")]
public double MinLimitPercent
{
get;
set;
}
public double MinLimitPercent { get; set; }
}