Table of Contents

Class StorageLoadingEventArgs

Namespace
S1API.Storage
Assembly
S1API.dll

Event arguments for storage loading operations. Raised when storage is being loaded from a save file.

public class StorageLoadingEventArgs : StorageEventArgs
Inheritance
StorageLoadingEventArgs
Inherited Members
Extension Methods

Properties

AdditionalSlotsNeeded

Number of additional slots needed to fit all items. Returns 0 if no additional slots are needed.

public int AdditionalSlotsNeeded { get; }

Property Value

int

CurrentSlotCount

Current slot count before loading.

public int CurrentSlotCount { get; }

Property Value

int

ItemCountBeingLoaded

Number of items being loaded into this storage. Use this to determine if slot expansion is needed.

public int ItemCountBeingLoaded { get; }

Property Value

int

NeedsMoreSlots

Whether additional slots are needed to fit all items.

public bool NeedsMoreSlots { get; }

Property Value

bool