Class DynamicInventory
Inherited Members
Namespace: Eco.Gameplay.Items
Assembly: Eco.Gameplay.dll
Syntax
public class DynamicInventory : Inventory, IController, IViewController, IHasUniversalID
Constructors
DynamicInventory(Boolean)
Declaration
public DynamicInventory(bool newInventory = true)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | newInventory |
Properties
Stacks
Declaration
public override IEnumerable<ItemStack> Stacks { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ItemStack> |
Overrides
Methods
Initialize()
Declaration
protected override void Initialize()
Overrides
Set(IEnumerable<Item>)
Declaration
public void Set(IEnumerable<Item> stacks)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Item> | stacks |
Set(IEnumerable<ItemStack>)
Declaration
public void Set(IEnumerable<ItemStack> stacks)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<ItemStack> | stacks |