Struct Slots
- Namespace
- SunSharp
- Assembly
- SunSharp.dll
public readonly struct Slots : ISlots
- Implements
Constructors
Slots(SunVox)
public Slots(SunVox sunVox)
Parameters
sunVoxSunVox
Fields
SlotCount
public const int SlotCount = 16
Field Value
- int
Properties
this[int]
public Slot this[int i] { get; }
Parameters
iint
Property Value
SlotManagementLock
public object SlotManagementLock { get; }
Property Value
- object
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<Slot> GetEnumerator()
Returns
- IEnumerator<Slot>
An enumerator that can be used to iterate through the collection.
TryOpenNewSlot(out Slot?)
public bool TryOpenNewSlot(out Slot? slot)
Parameters
slotSlot
Returns
- bool