Click or drag to resize
Recipe Constructor
View Project on GitHub
Constructor for this resource

Namespace: GW2CSharp.V2.Unauthenticated.Recipes
Assembly: GW2CSharp (in GW2CSharp.dll) Version: 0.15.0.0 (0.15)
Syntax
C#
public Recipe(
	int id,
	RecipeType type,
	int output_item_id,
	int output_item_count,
	int time_to_craft_ms,
	List<Discipline> disciplines,
	int min_rating,
	List<Flags> flags,
	List<Ingredient> ingredients,
	string chat_link
)

Parameters

id
Type: SystemInt32
The recipe id.
type
Type: GW2CSharp.V2.Unauthenticated.Recipes.EnumsRecipeType
The recipe type.
output_item_id
Type: SystemInt32
The item id of the produced item.
output_item_count
Type: SystemInt32
The amount of items produced.
time_to_craft_ms
Type: SystemInt32
The time in milliseconds it takes to craft the item.
disciplines
Type: System.Collections.GenericListDiscipline
The crafting disciplines that can use the recipe.
min_rating
Type: SystemInt32
The required rating to craft the recipe.
flags
Type: System.Collections.GenericListFlags
Flags applying to the recipe.
ingredients
Type: System.Collections.GenericListIngredient
List of recipe ingredients.
chat_link
Type: SystemString
The chat code for the recipe.
See Also