Show / Hide Table of Contents

Class InventoryManager

Tracks all inventories so that they can be scanned for items. Also checks that all inventory locks are disposed correctly.

Inheritance
System.Object
InventoryManager
Implements
IInventoryManager
Namespace: Eco.Gameplay.Items.InventoryRelated
Assembly: Eco.Gameplay.dll
Syntax
public class InventoryManager : Object, IInventoryManager

Constructors

InventoryManager()

Declaration
public InventoryManager()

Properties

AllLeafInventories

Declaration
public IEnumerable<Inventory> AllLeafInventories { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<Inventory>

AllStacks

Declaration
public IEnumerable<ItemStack> AllStacks { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<ItemStack>

Methods

TrackInventoryLock(InventoryLock)

Declaration
public void TrackInventoryLock(InventoryLock inventory)
Parameters
Type Name Description
InventoryLock inventory

VerifyDestroyed(Inventory)

Declaration
public void VerifyDestroyed(Inventory inventory)
Parameters
Type Name Description
Inventory inventory

Implements

IInventoryManager

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾