Show / Hide Table of Contents

Class Factory

Factory component for Clutter

Inheritance
System.Object
Factory
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public class Factory : object

Constructors

Factory()

Declaration
public Factory()

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
Type Description
List<Recipe>

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.

caution

Unlike most AgentData properties, this is not directly editable. You must call SetFoodStorage(Dictionary<EIngredientType, Int32>) for changes to apply to this Factory.

Declaration
public Dictionary<EIngredientType, int> GetFoodStorage()
Returns
Type Description
Dictionary<EIngredientType, System.Int32>

GetRecipeList()

Get the RecipeList JSON property.

Declaration
public List<Recipe> GetRecipeList()
Returns
Type Description
List<Recipe>

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
Back to top © 2020 Anarkis Gaming. All rights reserved. Generated by DocFX