DTO fix for crafting
This commit is contained in:
@@ -3150,14 +3150,24 @@ public class DungeonJoinRequest
|
|||||||
|
|
||||||
public class CraftingAttemptRequest
|
public class CraftingAttemptRequest
|
||||||
{
|
{
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("RecipeId")]
|
||||||
public int RecipeId { get; set; }
|
public int RecipeId { get; set; }
|
||||||
|
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("Ingredients")]
|
||||||
public List<CraftingIngredientInput>? Ingredients { get; set; }
|
public List<CraftingIngredientInput>? Ingredients { get; set; }
|
||||||
|
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("Discover")]
|
||||||
public bool Discover { get; set; }
|
public bool Discover { get; set; }
|
||||||
|
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("SkillType")]
|
||||||
public int? SkillType { get; set; }
|
public int? SkillType { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class CraftingIngredientInput
|
public class CraftingIngredientInput
|
||||||
{
|
{
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("itemDefinitionId")]
|
||||||
public int ItemDefinitionId { get; set; }
|
public int ItemDefinitionId { get; set; }
|
||||||
|
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("quantity")]
|
||||||
public int Quantity { get; set; }
|
public int Quantity { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user