Show / Hide Table of Contents

Class InventoryLock

Represents a lock acquired by a thread on one or more inventories.

Inheritance
System.Object
InventoryLock
Implements
System.IDisposable
Namespace: Eco.Gameplay.Items
Assembly: Eco.Gameplay.dll
Syntax
public sealed class InventoryLock : Object, IDisposable

Constructors

InventoryLock(IEnumerable<Inventory>)

Declaration
public InventoryLock(IEnumerable<Inventory> inventories)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Inventory> inventories

Properties

CreationTime

Can be used to detect if lock is stuck (deadlock).

Declaration
public long CreationTime { get; }
Property Value
Type Description
System.Int64

DebugSortedLockedObjects

Declaration
public Inventory[] DebugSortedLockedObjects { get; }
Property Value
Type Description
Inventory[]

Disposed

Declaration
public bool Disposed { get; }
Property Value
Type Description
System.Boolean

Methods

Dispose()

Declaration
public void Dispose()

GetCreationStacktrace()

Declaration
public string GetCreationStacktrace()
Returns
Type Description
System.String

Implements

System.IDisposable

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
☀
☾