Class CraftingRecipe
Inheritance
CraftingRecipe
Assembly: SociallyDistant.Framework.dll
Syntax
public abstract class CraftingRecipe : IGameContent
Properties
Category
Declaration
public abstract RecipeCategory Category { get; }
Property Value
Description
Declaration
public abstract string Description { get; }
Property Value
Id
Declaration
public abstract string Id { get; }
Property Value
RequiredIngredients
Declaration
public abstract IEnumerable<IngredientRequirement> RequiredIngredients { get; }
Property Value
Title
Declaration
public abstract string Title { get; }
Property Value
Methods
CanCraft(IGameContext)
Declaration
public bool CanCraft(IGameContext context)
Parameters
Returns
DisassembleComponents(IGameContext)
Declaration
public void DisassembleComponents(IGameContext game)
Parameters
OnCraft(IGameContext)
Declaration
protected abstract void OnCraft(IGameContext game)
Parameters
TryCraft(IGameContext)
Declaration
public bool TryCraft(IGameContext context)
Parameters
Returns
Implements