Class Factory
Factory component for Clutter
Inheritance
System.Object
Factory
Assembly: Collapse.dll
Syntax
public class Factory : object
Constructors
Factory()
Declaration
Properties
AllowMultipleUsers
Declaration
public bool AllowMultipleUsers { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Automated
Declaration
public bool Automated { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
CurrentCooldown
Declaration
public DateTime CurrentCooldown { get; set; }
Property Value
Type |
Description |
DateTime |
|
Disabled
Declaration
public bool Disabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Priority
Declaration
public bool Priority { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
RecipeList
Declaration
public List<Recipe> RecipeList { get; set; }
Property Value
TimeLeft
Declaration
public int TimeLeft { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
UseCount
Declaration
public int UseCount { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
WorkSfx
Declaration
public List<Sound> WorkSfx { get; set; }
Property Value
Type |
Description |
List<Sound> |
|
Methods
GetFoodStorage()
Get this Factory's FoodStorage.
Declaration
public Dictionary<EIngredientType, int> GetFoodStorage()
Returns
GetRecipeList()
Get the RecipeList JSON property.
Declaration
public List<Recipe> GetRecipeList()
Returns
GetWorkSfx()
Get the WorkSfx JSON property.
Declaration
public List<Sound> GetWorkSfx()
Returns
Type |
Description |
List<Sound> |
|
SetFoodStorage(Dictionary<EIngredientType, Int32>)
Set this Factory's food storage.
Declaration
public void SetFoodStorage(Dictionary<EIngredientType, int> foodStorage)
Parameters
Type |
Name |
Description |
Dictionary<EIngredientType, System.Int32> |
foodStorage |
The FoodStorage property
|
SetRecipeList(List<Recipe>)
Set the RecipeList JSON property.
Declaration
public void SetRecipeList(List<Recipe> value)
Parameters
Type |
Name |
Description |
List<Recipe> |
value |
|
SetWorkSfx(List<Sound>)
Set the WorkSfx JSON property.
Declaration
public void SetWorkSfx(List<Sound> value)
Parameters
Type |
Name |
Description |
List<Sound> |
value |
|