Struct ContainerItemsItems
Namespace: OblivionMp.Sdk.Common.Archetypes.Mixins
Assembly: OblivionMp.Sdk.Common.dll
The Items collection of a ContainerItems.
public readonly ref struct ContainerItemsItems
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
Count
public int Count { get; }
Property Value
Methods
Add(in InventoryEntry)
public void Add(in InventoryEntry value)
Parameters
value InventoryEntry
Clear()
public void Clear()
Contains(in InventoryEntry)
public bool Contains(in InventoryEntry value)
Parameters
value InventoryEntry
Returns
Get()
public NativeList<InventoryEntry>.ReadOnly Get()
Returns
NativeList<InventoryEntry>.ReadOnly
Get(int)
public InventoryEntry Get(int index)
Parameters
index int
Returns
InventoryEntry
Insert(int, in InventoryEntry)
public void Insert(int index, in InventoryEntry value)
Parameters
index int
value InventoryEntry
RemoveAt(int)
public InventoryEntry RemoveAt(int index)
Parameters
index int
Returns
InventoryEntry
Set(in NativeList<InventoryEntry>)
public void Set(in NativeList<InventoryEntry> value)
Parameters
value NativeList<InventoryEntry>
Set(int, in InventoryEntry)
public void Set(int index, in InventoryEntry value)
Parameters
index int
value InventoryEntry