Class StorageLoadingEventArgs
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
CurrentSlotCount
Current slot count before loading.
public int CurrentSlotCount { get; }
Property Value
ItemCountBeingLoaded
Number of items being loaded into this storage. Use this to determine if slot expansion is needed.
public int ItemCountBeingLoaded { get; }
Property Value
NeedsMoreSlots
Whether additional slots are needed to fit all items.
public bool NeedsMoreSlots { get; }