Navigation
API > API/Editor > API/Editor/UnrealEd
Inheritance Hierarchy
- FMRUList
- FMainMRUFavoritesList
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/MRUFavoritesList.h |
| Include | #include "MRUFavoritesList.h" |
Syntax
class FMainMRUFavoritesList : public FMRUList
Remarks
Simple class to represent a combined MRU and favorite map list
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor | |||
FMainMRUFavoritesList
(
const FString& IniSectionOverride, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddFavoritesItem
(
const FString& Item |
Add a new file item to the favorites listAdd a new item to the favorites list | |
| bool | ContainsFavoritesItem
(
const FString& Item |
Returns whether a filename is favorited or not | |
| bool | FavoritesItemPassesCurrentFilter
(
int32 ItemIndex |
Checks the favorites item specified by the provided index against the optional 'DoesMRUFavoritesItemPassFilterDelegate'. | |
| FString | GetFavoritesItem
(
int32 ItemIndex |
Return the favorites item specified by the provided index | |
| int32 | Returns the number of favorites items | ||
| void | MoveFavoritesItemToHead
(
const FString& Item |
Moves the specified favorites item to the head of the list | |
| bool | MRUItemPassesCurrentFilter
(
int32 ItemIndex |
Checks the MRU item specified by the provided index against the optional 'DoesMRUFavoritesItemPassFilterDelegate'. | |
| void | RegisterDoesMRUFavoritesItemPassFilterDelegate
(
FDoesMRUFavoritesItemPassFilter DoesMRUFavoritesItemPassFilterDelegate |
Supplies an optional delegate that can be used to filter a given MRUFavorites item Useful for dynamically verifying which items should be utilized at a given time | |
| void | RemoveFavoritesItem
(
const FString& Item |
Remove a file from the favorites listRemove an item from the favorites list | |
| void | Unregisters the optional filter delegate | ||
| bool | VerifyFavoritesFile
(
int32 ItemIndex |
Verifies that the favorites item specified by the provided index still exists. |
Overridden from FMRUList
| Type | Name | Description | |
|---|---|---|---|
| void | ReadFromINI () |
Populate MRU/Favorites list by reading saved values from the relevant INI file | |
| void | WriteToINI () |
Save off the state of the MRU and favorites lists to the relevant INI file |
Typedefs
| Name | Description |
|---|---|
| FDoesMRUFavoritesItemPassFilter |
Constants
| Name | Description |
|---|---|
| FAVORITES_INI_SECTION | INI section to read/write favorite items to |