Class IngredientElement
Dynamic quantity tag stack.
Inheritance
System.Object
IngredientElement
Assembly: Eco.Gameplay.dll
Syntax
public class IngredientElement : Object, IController, IViewController, IHasUniversalID
Constructors
IngredientElement(ItemRepresentation, Single, Boolean)
Declaration
public IngredientElement(ItemRepresentation stackable, float count = 1F, bool staticIngredient = false)
Parameters
Type |
Name |
Description |
ItemRepresentation |
stackable |
|
System.Single |
count |
|
System.Boolean |
staticIngredient |
|
IngredientElement(ItemRepresentation, Single, Type, Type)
Declaration
public IngredientElement(ItemRepresentation stackable, float start, Type skill, Type talent = null)
Parameters
Type |
Name |
Description |
ItemRepresentation |
stackable |
|
System.Single |
start |
|
System.Type |
skill |
|
System.Type |
talent |
|
IngredientElement(String, Single, Boolean)
Declaration
public IngredientElement(string tag, float count = 1F, bool staticIngredient = false)
Parameters
Type |
Name |
Description |
System.String |
tag |
|
System.Single |
count |
|
System.Boolean |
staticIngredient |
|
IngredientElement(String, Single, Type, Type)
Declaration
public IngredientElement(string tag, float start, Type skill, Type talent = null)
Parameters
Type |
Name |
Description |
System.String |
tag |
|
System.Single |
start |
|
System.Type |
skill |
|
System.Type |
talent |
|
IngredientElement(Type, Single, Boolean)
Declaration
public IngredientElement(Type itemType, float count = 1F, bool staticIngredient = false)
Parameters
Type |
Name |
Description |
System.Type |
itemType |
|
System.Single |
count |
|
System.Boolean |
staticIngredient |
|
IngredientElement(Type, Single, Type, Type)
Declaration
public IngredientElement(Type itemType, float start, Type skill, Type talent = null)
Parameters
Type |
Name |
Description |
System.Type |
itemType |
|
System.Single |
start |
|
System.Type |
skill |
|
System.Type |
talent |
|
Properties
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
Type |
Description |
System.Int32 |
|
InnerName
Declaration
public string InnerName { get; }
Property Value
Type |
Description |
System.String |
|
IsSpecificItem
Declaration
public bool IsSpecificItem { get; }
Property Value
Type |
Description |
System.Boolean |
|
Item
Declaration
public Item Item { get; }
Property Value
ItemRepresentation
Declaration
public ItemRepresentation ItemRepresentation { get; set; }
Property Value
Quantity
Declaration
public IDynamicValue Quantity { get; }
Property Value
Tag
Declaration
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
MeetsRequirement(FractionalItemStack)
Declaration
public bool MeetsRequirement(FractionalItemStack ingredient)
Parameters
Returns
Type |
Description |
System.Boolean |
|
UILink()
Declaration
public LocString UILink()
Returns
Implements
Extension Methods