Table of Contents

Interface ISlots

Namespace
SunSharp
Assembly
SunSharp.dll
public interface ISlots

Properties

this[int]

Get a reference to a slot. There are 16 slots, so index must be in range 0-15.

ISlot this[int i] { get; }

Parameters

i int

Property Value

ISlot

Exceptions

ArgumentOutOfRangeException

Methods

TryOpenNewSlot(out ISlot?)

Try to get and open a new slot.

bool TryOpenNewSlot(out ISlot? slot)

Parameters

slot ISlot

Returns

bool

false if failed to find an unused slot.