.NET Format Style Fixes
This commit is contained in:
+12
-62
@@ -9,67 +9,31 @@ public record PlayerIncrementSkillLevelRequestData
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("_id")]
|
||||
public string? Id
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string? Id { get; set; }
|
||||
|
||||
[JsonPropertyName("experience")]
|
||||
public int? Experience
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public int? Experience { get; set; }
|
||||
|
||||
[JsonPropertyName("quests")]
|
||||
public List<object>? Quests
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public List<object>? Quests { get; set; }
|
||||
|
||||
[JsonPropertyName("ragFairOffers")]
|
||||
public List<object>? RagFairOffers
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public List<object>? RagFairOffers { get; set; }
|
||||
|
||||
[JsonPropertyName("builds")]
|
||||
public List<object>? Builds
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public List<object>? Builds { get; set; }
|
||||
|
||||
[JsonPropertyName("items")]
|
||||
public Items? Items
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public Items? Items { get; set; }
|
||||
|
||||
[JsonPropertyName("production")]
|
||||
public Production? Production
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public Production? Production { get; set; }
|
||||
|
||||
[JsonPropertyName("skills")]
|
||||
public Skills? Skills
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public Skills? Skills { get; set; }
|
||||
|
||||
[JsonPropertyName("traderRelations")]
|
||||
public TraderRelations? TraderRelations
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public TraderRelations? TraderRelations { get; set; }
|
||||
}
|
||||
|
||||
// TODO: These are all lists of objects.
|
||||
@@ -79,37 +43,23 @@ public record Items
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("new")]
|
||||
public List<object>? NewItems
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public List<object>? NewItems { get; set; }
|
||||
|
||||
[JsonPropertyName("change")]
|
||||
public List<object>? ChangedItems
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public List<object>? ChangedItems { get; set; }
|
||||
|
||||
[JsonPropertyName("del")]
|
||||
public List<object>? DeletedItems
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public List<object>? DeletedItems { get; set; }
|
||||
}
|
||||
|
||||
public record Production
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public record TraderRelations
|
||||
{
|
||||
[JsonExtensionData]
|
||||
public Dictionary<string, object> ExtensionData { get; set; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user