跳到主要内容
版本:Next

Struct EquipmentItems

Namespace: OblivionMp.Sdk.Common.Archetypes.Mixins
Assembly: OblivionMp.Sdk.Common.dll

The Items collection of a Equipment.

public readonly ref struct EquipmentItems

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​

int

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​

bool

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

  • Properties
    • Count
  • Methods
    • Add(in InventoryEntry)
    • Clear()
    • Contains(in InventoryEntry)
    • Get()
    • Get(int)
    • Insert(int, in InventoryEntry)
    • RemoveAt(int)
    • Set(in NativeList<InventoryEntry>)
    • Set(int, in InventoryEntry)