ULimenArchiveSubsystem
Overview
ULimenArchiveSubsystem is a subsystem that extends ULimenGameInstanceStorageSubsystem. It manages a list of ULimenArchive objects, allowing for their addition and loading. The subsystem also broadcasts an event when a new archive is added.
Properties
Type | Name | Access | Description |
|---|---|---|---|
FDynamicMulticastDelegate | OnArchiveAdded | BlueprintAssignable | Event triggered when a new archive is added. |
Functions
Return Type | Signature | Description |
|---|---|---|
bool | ShouldCreateSubsystem(UObject* Outer) const | Determines if the subsystem should be created. |
void | AddArchive(ULimenArchive* NewArchive) | Adds a new archive to the collection and saves the data. |
Usage & Implementation Notes
Threading Constraints: This subsystem operates on the game thread.
Replication Requirements: None.
Memory Lifetime Management: Archives are managed within the subsystem's lifetime, ensuring proper memory management through
NewObjectandAddItem.Initialization Dependencies: Depends on the existence of saved data named "ArchivesData".