| FDeferredCleanupInterface
|
Module |
|
Header |
/Engine/Source/Runtime/PreLoadScreen/Public/PreLoadSettingsContainer.h |
Include |
#include "PreLoadSettingsContainer.h" |
class FPreLoadSettingsContainerBase : public FDeferredCleanupInterface
This is a helper class that we use to hold values we parse from the .ini. Clean way to access things like dynamic image brushes / fonts / etc used in our UI that we want to be somewhat data driven but we can't rely on UObject support to implement(as the PreLoad stuff happens too early for UObject support) This lets us set easy to change values in our .ini that are parsed at runtime and stored in this container
Name | Description | ||
---|---|---|---|
|
BrushLoadingGroups |
||
|
BrushResources |
Property Storage. |
|
|
bShouldLoadBrushes |
Rather we should load image brushes. |
|
|
CurrentLoadGroup |
||
|
FontResources |
||
|
HasCreatedSystemFontFile |
||
|
LocalizedTextResources |
||
|
ParsedLoadingGroupIdentifiers |
||
|
PluginContentDir |
This string is used to make file paths relative to a particular Plugin's content directory when parsing file paths. |
|
|
ScreenGroupings |
||
|
ScreenOrderByLoadingGroups |
||
|
float |
TimeToDisplayEachBackground |
Name | Description | |
---|---|---|
|
FPreLoadSettingsContainerBase() |
Name | Description | |
---|---|---|
|
~FPreLoadSettingsContainerBase() |
Name | Description | ||
---|---|---|---|
|
AddLocalizedText |
||
|
AddScreenGrouping ( |
||
|
BuildCustomFont |
Maps the given font file to the given language and stores it under the FontIdentifier. |
|
|
BuildSystemFontFile() |
||
|
ConvertIfPluginRelativeContentPath ( |
Helper function that takes in a file path and tries to reconsile it to be Plugin Specific if applicable. |
|
|
CreateCustomSlateImageBrush |
||
|
Destroy() |
||
|
FPreLoadSett... |
Get() |
|
|
const FSlate... |
GetBrush ( |
|
|
GetCurrentLoadGrouping() |
||
|
TSharedPtr< ... |
GetFont ( |
|
|
GetLocalizedText ( |
||
|
int |
GetNumScreenGroupings() |
|
|
const FScree... |
GetScreenAtIndex ( |
|
|
FScreenGroup... |
GetScreenGrouping ( |
|
|
const FStrin... |
GetSystemFontFilePath() |
|
|
IsValidBrushConfig |
Helper functions that verify if the supplied .ini config entry is valid to create a resource out of it. |
|
|
IsValidFontConfigString |
||
|
IsValidLocalizedTextConfigString |
||
|
IsValidScreenGrooupingConfigString |
||
|
IsValidScreenIndex ( |
||
|
LoadGrouping ( |
||
|
ParseAllScreenOrderEntries |
||
|
ParseBrushConfigEntry ( |
Helper functions that parse a .ini config entry and call the appropriate create function to. |
|
|
ParseFontConfigEntry ( |
||
|
ParseLoadingGroups |
Helper function to parse all .ini entries for LoadingGroups and ScreenOrder. |
|
|
ParseLocalizedTextConfigString ( |
||
|
ParseScreenGroupingConfigString ( |
||
|
ParseScreenOrderConfigString ( |
||
|
PerformInitialAssetLoad() |
||
|
SetPluginContentDir ( |
Sets the PluginContent dir so that when parsing config entries we can accept plugin relative file paths. |
|
|
SetShouldLoadBrushes ( |
Tells the container rather it should actually load image brushes. |
Name |
Description |
|
---|---|---|
|
FCustomBrushDefine |
Helper struct to store information required to construct a CustomSlateImageBrush. Parsed from our .ini. |
|
FCustomBrushLoadingGroup |
Helper struct to store all BrushDefines we need to load for a given BrushLoadingGroup. |
|
FScreenGroupingBase |
Helper struct to store groups of things we want to display together in the UI so that we can parse it easily in the .ini. |
|
FScreenOrderByLoadingGroup |
This is a listing of ScreenGroupings (stored by Identifier) that should be displayed in this order during a particular LoadingGroup. |
Name |
Description |
---|---|
DefaultInitialLoadingGroupIdentifier |
If we supply no loading groups, use this identifier by default. |
Instance |
Singleton Instance This is only not a TSharedPtr as it needs to be cleaned up by a deferredcleanup call which directly nukes the underlying object, causing a SharedPtr crash at shutdown. |
UseSystemFontOverride |
If our Font filepath is set to this, we use the system font instead of a custom font we load in. |