ULimenGameSavesDeveloperSettings
Overview
ULimenGameSavesDeveloperSettings is a subclass of UDeveloperSettings used to configure various aspects of the game save system. It allows developers to specify custom save handlers, modal parameters for error messages, and whether to automatically load a saved game when the game begins.
Properties
Type | Name | Access | Description |
|---|---|---|---|
TArray<TSoftClassPtr< ULimenSavesHandler >> | SaveHandlers | EditAnywhere, Config | A list of soft class pointers to custom save handlers. |
FModalParams | LoadGameFailedModalParams | EditAnywhere, Config | Parameters for the modal dialog displayed when a game fails to load due to corrupted data. |
FModalParams | SaveGameFailedModalParams | EditAnywhere, Config | Parameters for the modal dialog displayed when a game fails to save due to an error. |
bool | bAutoLoadGameOnBeginPlay | EditAnywhere, Config | A flag indicating whether to automatically load a saved game when the game begins play. |
Functions
Return Type | Signature | Description |
|---|---|---|
FName | GetContainerName() const | Returns the name of the container for these settings, which is "Project". |
FName | GetCategoryName() const | Returns the category name for these settings, which is "Game". |
FName | GetSectionName() const | Returns the section name for these settings, which is " Limen - Game Saves". |
FText | GetSectionText() const | Returns the text to be displayed in the editor for this section. |
FText | GetSectionDescription() const | Returns a description of what this section contains. |
Usage & Implementation Notes
This class is used to configure settings that affect the game save system, including error handling and auto-load behavior.
The
GetContainerName,GetCategoryName, andGetSectionNamefunctions provide metadata for organizing these settings within the Unreal Engine editor.