.NET Format Style Fixes
This commit is contained in:
@@ -8,39 +8,19 @@ public record SyncHealthRequestData
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("Health")]
|
||||
public List<BodyPartHealth>? Health
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public List<BodyPartHealth>? Health { get; set; }
|
||||
|
||||
[JsonPropertyName("IsAlive")]
|
||||
public bool? IsAlive
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public bool? IsAlive { get; set; }
|
||||
|
||||
[JsonPropertyName("Hydration")]
|
||||
public double? Hydration
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public double? Hydration { get; set; }
|
||||
|
||||
[JsonPropertyName("Energy")]
|
||||
public double? Energy
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public double? Energy { get; set; }
|
||||
|
||||
[JsonPropertyName("Temperature")]
|
||||
public double? Temperature
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public double? Temperature { get; set; }
|
||||
}
|
||||
|
||||
public record BodyPartCollection
|
||||
@@ -49,53 +29,25 @@ public record BodyPartCollection
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("Head")]
|
||||
public BodyPartHealth? Head
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public BodyPartHealth? Head { get; set; }
|
||||
|
||||
[JsonPropertyName("Chest")]
|
||||
public BodyPartHealth? Chest
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public BodyPartHealth? Chest { get; set; }
|
||||
|
||||
[JsonPropertyName("Stomach")]
|
||||
public BodyPartHealth? Stomach
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public BodyPartHealth? Stomach { get; set; }
|
||||
|
||||
[JsonPropertyName("LeftArm")]
|
||||
public BodyPartHealth? LeftArm
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public BodyPartHealth? LeftArm { get; set; }
|
||||
|
||||
[JsonPropertyName("RightArm")]
|
||||
public BodyPartHealth? RightArm
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public BodyPartHealth? RightArm { get; set; }
|
||||
|
||||
[JsonPropertyName("LeftLeg")]
|
||||
public BodyPartHealth? LeftLeg
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public BodyPartHealth? LeftLeg { get; set; }
|
||||
|
||||
[JsonPropertyName("RightLeg")]
|
||||
public BodyPartHealth? RightLeg
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public BodyPartHealth? RightLeg { get; set; }
|
||||
}
|
||||
|
||||
public record BodyPartHealth
|
||||
@@ -104,23 +56,11 @@ public record BodyPartHealth
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("Maximum")]
|
||||
public int? Maximum
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? Maximum { get; set; }
|
||||
|
||||
[JsonPropertyName("Current")]
|
||||
public int? Current
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? Current { get; set; }
|
||||
|
||||
[JsonPropertyName("Effects")]
|
||||
public Dictionary<string, int>? Effects
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public Dictionary<string, int>? Effects { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user